drm/radeon/kms: disable VGA rendering engine before taking over VRAM
authorDave Airlie <airlied@linux.ie>
Fri, 18 Sep 2009 04:16:38 +0000 (14:16 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 18 Sep 2009 06:13:11 +0000 (16:13 +1000)
commit698443d9ec1a33eff65b27b9514e06998bf57eb3
treec7fed660677470060168d8ab91b67bd6eeae5c4d
parent5e6dde7ec2e72f49ff749204efc03a59478d7d34
drm/radeon/kms: disable VGA rendering engine before taking over VRAM

Before we use any of VRAM, we need to disable the VGA rendering
engine, this render text mode into a graphical framebuffer
for scanout, however it does this on vblank, and can end up
overwriting the GART table and r600 shader objects.

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/avivod.h
drivers/gpu/drm/radeon/r600.c
drivers/gpu/drm/radeon/rs600.c
drivers/gpu/drm/radeon/rv770.c