]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon/kms: allocate vram scratch page on 6xx+
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 28 Oct 2011 14:30:02 +0000 (10:30 -0400)
committerDave Airlie <airlied@redhat.com>
Tue, 1 Nov 2011 16:05:02 +0000 (16:05 +0000)
commit03f54590a6558d5e8c832e3c67ee4296d379b7d7
treef104a8d49318daebd1e598d03eb1455e09288621
parent04c333085a1b94b63060fd9c676acc95404872fc
drm/radeon/kms: allocate vram scratch page on 6xx+

The vram scratch was originally only used on some 7xx asics
to work around a hw bug.  Allocate the scratch page on all 6xx+
radeons and set the MC_VM_SYSTEM_APERTURE_DEFAULT_ADDR to point
to it.  We shouldn't ever hit it since we limit the system
aperture to vram or vram and AGP, but better safe than sorry.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/evergreen.c
drivers/gpu/drm/radeon/ni.c
drivers/gpu/drm/radeon/r600.c
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/rv770.c