Merge remote branch 'nouveau/drm-nouveau-next' of /ssd/git/drm-nouveau-next into drm-fixes
* 'nouveau/drm-nouveau-next' of /ssd/git/drm-nouveau-next: drm/nv50: fix display on 0x50 drm/nouveau: correctly pair hwmon_init and hwmon_fini
This commit is contained in:
@@ -443,7 +443,7 @@ nouveau_hwmon_fini(struct drm_device *dev)
|
|||||||
struct nouveau_pm_engine *pm = &dev_priv->engine.pm;
|
struct nouveau_pm_engine *pm = &dev_priv->engine.pm;
|
||||||
|
|
||||||
if (pm->hwmon) {
|
if (pm->hwmon) {
|
||||||
sysfs_remove_group(&pm->hwmon->kobj, &hwmon_attrgroup);
|
sysfs_remove_group(&dev->pdev->dev.kobj, &hwmon_attrgroup);
|
||||||
hwmon_device_unregister(pm->hwmon);
|
hwmon_device_unregister(pm->hwmon);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
@@ -283,8 +283,7 @@ nv50_evo_create(struct drm_device *dev)
|
|||||||
nv50_evo_channel_del(&dev_priv->evo);
|
nv50_evo_channel_del(&dev_priv->evo);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
} else
|
} else {
|
||||||
if (dev_priv->chipset != 0x50) {
|
|
||||||
ret = nv50_evo_dmaobj_new(evo, 0x3d, NvEvoFB16, 0x70, 0x19,
|
ret = nv50_evo_dmaobj_new(evo, 0x3d, NvEvoFB16, 0x70, 0x19,
|
||||||
0, 0xffffffff, 0x00010000);
|
0, 0xffffffff, 0x00010000);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
|
Reference in New Issue
Block a user