mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-02 05:10:17 +01:00
anv: Disable legacy CCS setup in binding (xe2)
The condition of flat ccs and vram_only checker causes different aux usage at binding stage. The current design is reusing CCS_E on Xe2, so we want both Xe2 integrated and discreted GPUs behave the same way. Xe2 shouldn't need any special setup of CCS in the loop. Backport-to: 24.2 Signed-off-by: Jianxun Zhang <jianxun.zhang@intel.com> Reviewed-by: Nanley Chery <nanley.g.chery@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30111>
This commit is contained in:
parent
e054068787
commit
c5ee7e9bdc
1 changed files with 2 additions and 2 deletions
|
|
@ -2568,8 +2568,8 @@ anv_bind_image_memory(struct anv_device *device,
|
|||
if (device->info->has_aux_map && anv_image_map_aux_tt(device, image, p))
|
||||
continue;
|
||||
|
||||
/* Do nothing prior to gfx12. There are no special requirements. */
|
||||
if (device->info->ver < 12)
|
||||
/* Do nothing except for gfx12. There are no special requirements. */
|
||||
if (device->info->ver != 12)
|
||||
continue;
|
||||
|
||||
/* The plane's BO cannot support CCS, disable compression on it. */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue