mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 22:38:05 +02:00
Revert "ac/surface: require that gfx8 doesn't have DCC in order to be displayable"
This reverts commit7406ea37e6. Fixes:7406ea37"ac/surface: require that gfx8 doesn't have DCC in order to be displayable" Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3190 Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5780>
This commit is contained in:
parent
0ca7bd73c6
commit
55cf97f56e
1 changed files with 3 additions and 4 deletions
|
|
@ -1120,10 +1120,9 @@ static int gfx6_compute_surface(ADDR_HANDLE addrlib,
|
|||
}
|
||||
|
||||
surf->is_linear = surf->u.legacy.level[0].mode == RADEON_SURF_MODE_LINEAR_ALIGNED;
|
||||
surf->is_displayable = (surf->is_linear ||
|
||||
surf->micro_tile_mode == RADEON_MICRO_MODE_DISPLAY ||
|
||||
surf->micro_tile_mode == RADEON_MICRO_MODE_RENDER /* rotated */) &&
|
||||
!surf->dcc_size;
|
||||
surf->is_displayable = surf->is_linear ||
|
||||
surf->micro_tile_mode == RADEON_MICRO_MODE_DISPLAY ||
|
||||
surf->micro_tile_mode == RADEON_MICRO_MODE_RENDER;
|
||||
|
||||
/* The rotated micro tile mode doesn't work if both CMASK and RB+ are
|
||||
* used at the same time. This case is not currently expected to occur
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue