mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 22:30:12 +01:00
iris: Wa_14016820455 for GFX_VERx10 == 12.5
Reprogram SF CLIP viewport pointer by not skipping its dirty flag bit. Many thanks to Lin, Shuicheng <shuicheng.lin@intel.com>, Jerez Plata, Francisco <francisco.jerez.plata@intel.com>, Graunke, Kenneth W <kenneth.w.graunke@intel.com>, and others for their great help. Signed-off-by: Zhang, Jianxun <jianxun.zhang@intel.com> Reviewed-by: Francisco Jerez <currojerez@riseup.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17171>
This commit is contained in:
parent
5d05ffa465
commit
bc42bbff4c
1 changed files with 9 additions and 2 deletions
|
|
@ -353,8 +353,15 @@ iris_blorp_exec_render(struct blorp_batch *blorp_batch,
|
|||
IRIS_DIRTY_LINE_STIPPLE |
|
||||
IRIS_ALL_DIRTY_FOR_COMPUTE |
|
||||
IRIS_DIRTY_SCISSOR_RECT |
|
||||
IRIS_DIRTY_VF |
|
||||
IRIS_DIRTY_SF_CL_VIEWPORT);
|
||||
IRIS_DIRTY_VF);
|
||||
/* Wa_14016820455
|
||||
* On Gfx 12.5 platforms, the SF_CL_VIEWPORT pointer can be invalidated
|
||||
* likely by a read cache invalidation when clipping is disabled, so we
|
||||
* don't skip its dirty bit here, in order to reprogram it.
|
||||
*/
|
||||
if (GFX_VERx10 != 125)
|
||||
skip_bits |= IRIS_DIRTY_SF_CL_VIEWPORT;
|
||||
|
||||
uint64_t skip_stage_bits = (IRIS_ALL_STAGE_DIRTY_FOR_COMPUTE |
|
||||
IRIS_STAGE_DIRTY_UNCOMPILED_VS |
|
||||
IRIS_STAGE_DIRTY_UNCOMPILED_TCS |
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue