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)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 20 Sep 2013 18:28:14 +0000 (14:28 -0400)
commit4ca5a6cba53e13b8fd153b0762b4128fab6a3cfb
treee3f81e02c8e37aa3ce8e4b54529e0b25dee387e5
parent6ddf2ed6e00396883b3123032ccb4416205aac7c
drm/radeon: avoid UVD corruption on AGP cards using GPU gart

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>
Cc: stable@vger.kernel.org
drivers/gpu/drm/radeon/radeon_cs.c