mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02: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>
(cherry picked from commit c5ee7e9bdc)
This commit is contained in:
parent
28e2b5423e
commit
5d0a3cf84f
2 changed files with 3 additions and 3 deletions
|
|
@ -264,7 +264,7 @@
|
|||
"description": "anv: Disable legacy CCS setup in binding (xe2)",
|
||||
"nominated": true,
|
||||
"nomination_type": 4,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -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