diff options
author | Marek Olšák <marek.olsak@amd.com> | 2013-12-22 02:18:01 +0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2013-12-23 16:03:43 +0100 |
commit | 439a1cfffe2c1a06e5a6394ccd5d18a8e89b15d3 (patch) | |
tree | 0c7fd49c562fffb10256ade2af353f3774fbaaa8 /drivers/gpu/drm/radeon/si.c | |
parent | drm/radeon: fix render backend setup for SI and CIK (diff) | |
download | linux-439a1cfffe2c1a06e5a6394ccd5d18a8e89b15d3.tar.xz linux-439a1cfffe2c1a06e5a6394ccd5d18a8e89b15d3.zip |
drm/radeon: expose render backend mask to the userspace
This will allow userspace to correctly program the PA_SC_RASTER_CONFIG
register, so it can be considered a fix.
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/gpu/drm/radeon/si.c')
-rw-r--r-- | drivers/gpu/drm/radeon/si.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/si.c b/drivers/gpu/drm/radeon/si.c index 3eed9a1e44ea..85e1edfaa3be 100644 --- a/drivers/gpu/drm/radeon/si.c +++ b/drivers/gpu/drm/radeon/si.c @@ -2855,6 +2855,8 @@ static void si_setup_rb(struct radeon_device *rdev, mask <<= 1; } + rdev->config.si.backend_enable_mask = enabled_rbs; + for (i = 0; i < se_num; i++) { si_select_se_sh(rdev, i, 0xffffffff); data = 0; |