diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2011-07-15 15:53:52 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-07-18 03:13:08 -0400 |
commit | e55b9422e186d208f162f056ee28b6eb6b9b81a9 (patch) | |
tree | 1b72616db7d9b2f651b354b11e74287a4910c3b9 /drivers/gpu/drm/radeon/r600.c | |
parent | 28a4a163b561c39ac0c798d420e0927f29e9d4c8 (diff) |
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/r600.c')
-rw-r--r-- | drivers/gpu/drm/radeon/r600.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/r600.c b/drivers/gpu/drm/radeon/r600.c index bc54b26cb32f..9fefce704f96 100644 --- a/drivers/gpu/drm/radeon/r600.c +++ b/drivers/gpu/drm/radeon/r600.c | |||
@@ -1662,6 +1662,7 @@ void r600_gpu_init(struct radeon_device *rdev) | |||
1662 | R6XX_MAX_BACKENDS_MASK) >> 16)), | 1662 | R6XX_MAX_BACKENDS_MASK) >> 16)), |
1663 | (cc_rb_backend_disable >> 16)); | 1663 | (cc_rb_backend_disable >> 16)); |
1664 | rdev->config.r600.tile_config = tiling_config; | 1664 | rdev->config.r600.tile_config = tiling_config; |
1665 | rdev->config.r600.backend_map = backend_map; | ||
1665 | tiling_config |= BACKEND_MAP(backend_map); | 1666 | tiling_config |= BACKEND_MAP(backend_map); |
1666 | WREG32(GB_TILING_CONFIG, tiling_config); | 1667 | WREG32(GB_TILING_CONFIG, tiling_config); |
1667 | WREG32(DCP_TILING_CONFIG, tiling_config & 0xffff); | 1668 | WREG32(DCP_TILING_CONFIG, tiling_config & 0xffff); |