]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon: set PIPE_CONFIG for 1D and linear tiling modes on CIK
authorMarek Olšák <marek.olsak@amd.com>
Sat, 22 Mar 2014 15:20:43 +0000 (16:20 +0100)
committerChristian König <christian.koenig@amd.com>
Tue, 25 Mar 2014 12:13:24 +0000 (13:13 +0100)
commite27ac01848ca4f98419b64042a005a83bd8621fd
tree65d3a519d0b8ea32867f0be26cf8d6969d032113
parentb198513118a5bd30cb36a0ec88b98b1c5c1579cf
drm/radeon: set PIPE_CONFIG for 1D and linear tiling modes on CIK

This fixes fast color clear with 1D-tiled single-sample surfaces
and Hyper-Z corruption with 1D-tiled depth surfaces.

Even though it seems it is not needed for 1D tiling, CMASK and HTILE are
always 2D-tiled, thus the hw needs to know the actual pipe configuration
for CMASK and HTILE addressing no matter what the tiling mode of the surface
is.

Signed-off-by: Marek Olšák <marek.olsak@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
drivers/gpu/drm/radeon/cik.c
drivers/gpu/drm/radeon/radeon_drv.c