]> 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)
commitf25d9feb30b7c5f082bfdbd67d63ecb0001d314c
treef104a8d49318daebd1e598d03eb1455e09288621
parent25481386fdb699fa6a8bb03da179831733b61065
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