diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2011-07-15 23:53:52 +0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-07-18 11:13:08 +0400 |
commit | e55b9422e186d208f162f056ee28b6eb6b9b81a9 (patch) | |
tree | 1b72616db7d9b2f651b354b11e74287a4910c3b9 /drivers/gpu/drm/radeon/ni.c | |
parent | 28a4a163b561c39ac0c798d420e0927f29e9d4c8 (diff) | |
download | linux-e55b9422e186d208f162f056ee28b6eb6b9b81a9.tar.xz |
drm/radeon/kms: add info query for backend map
The 3D driver need to get the pipe to backend
map to certain things. Add a query to get the
info.
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/ni.c')
-rw-r--r-- | drivers/gpu/drm/radeon/ni.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/ni.c b/drivers/gpu/drm/radeon/ni.c index 559dbd412906..44c4750f4518 100644 --- a/drivers/gpu/drm/radeon/ni.c +++ b/drivers/gpu/drm/radeon/ni.c @@ -833,6 +833,7 @@ static void cayman_gpu_init(struct radeon_device *rdev) rdev->config.cayman.tile_config |= ((gb_addr_config & ROW_SIZE_MASK) >> ROW_SIZE_SHIFT) << 12; + rdev->config.cayman.backend_map = gb_backend_map; WREG32(GB_BACKEND_MAP, gb_backend_map); WREG32(GB_ADDR_CONFIG, gb_addr_config); WREG32(DMIF_ADDR_CONFIG, gb_addr_config); |