]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon/px: fix module unload
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 12 Sep 2014 22:00:53 +0000 (18:00 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 18 Sep 2014 23:22:09 +0000 (19:22 -0400)
commit833cd279422f43a71afbc74d9b720c573fb2f780
tree8658adf9a7fec7bfa0df94e7d912c02c3f3af302
parent0c0f93916af80536e02aa4ab5b790da41801e7b5
drm/radeon/px: fix module unload

Use the new vga_switcheroo_fini_domain_pm_ops function
to unregister the pm ops.

Based on a patch from:
Pali Rohár <pali.rohar@gmail.com>

bug:
https://bugzilla.kernel.org/show_bug.cgi?id=84431

Reviewed-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
Cc: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/radeon/radeon_device.c