OSDN Git Service

drm/radeon: avoid UVD corruption on AGP cards using GPU gart
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 16 Sep 2013 03:23:07 +0000 (23:23 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 5 Oct 2013 14:13:12 +0000 (07:13 -0700)
commit6452230ccfffec35fc7ee2e5f3e3bb6f8ab6570d
tree24bc005cb59d43cdfc97edbb60bf76b695faf7e3
parentd113feebb1081c4baa720c5fc99c984fb4e2e598
drm/radeon: avoid UVD corruption on AGP cards using GPU gart

commit 4ca5a6cba53e13b8fd153b0762b4128fab6a3cfb upstream.

If the user has forced the driver to use the internal GPU gart
rather than AGP on an AGP card, force the buffers to vram
as well.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/radeon/radeon_cs.c