]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit2e97140dd58cab8772bf77d73eabda213e45202d
tree8658adf9a7fec7bfa0df94e7d912c02c3f3af302
parent766a53d059d1500c9755c8af017bd411bd8f1b20
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