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>
Showing
- drivers/gpu/drm/radeon/evergreen.c 5 additions, 0 deletionsdrivers/gpu/drm/radeon/evergreen.c
- drivers/gpu/drm/radeon/ni.c 5 additions, 0 deletionsdrivers/gpu/drm/radeon/ni.c
- drivers/gpu/drm/radeon/r600.c 53 additions, 1 deletiondrivers/gpu/drm/radeon/r600.c
- drivers/gpu/drm/radeon/radeon.h 10 additions, 3 deletionsdrivers/gpu/drm/radeon/radeon.h
- drivers/gpu/drm/radeon/rv770.c 7 additions, 53 deletionsdrivers/gpu/drm/radeon/rv770.c
Loading
Please register or sign in to comment