]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon/r6xx: add a stubbed out set_uvd_clocks callback
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 5 Sep 2013 13:52:37 +0000 (09:52 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 11 Sep 2013 15:44:32 +0000 (11:44 -0400)
commitd99ea22cfe73714521341c6aa5cd20ed26c60935
treeee5eea5bb6719adf9166ef9acceac9a44b052829
parentce4c748ef59b8a45a39ff6a1aa1239804ab6fa6b
drm/radeon/r6xx: add a stubbed out set_uvd_clocks callback

Certain r6xx boards use the same power state for both UVD
and other things.  Since we don't support UVD on r6xx boards
at the moment, there was no callback installed for setting
the UVD clocks, however, on systems that use the same power
state, this leads to a NULL pointer dereference.  Fill
in a stubbed out implementation for now to avoid the crash.

Fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=66963

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: "3.11" <stable@vger.kernel.org>
drivers/gpu/drm/radeon/r600.c
drivers/gpu/drm/radeon/radeon_asic.c
drivers/gpu/drm/radeon/radeon_asic.h