[PATCH] drm/xe/xe3lpg: Add Wa_16024792527
Ghimiray, Himal Prasad
himal.prasad.ghimiray at intel.com
Wed Nov 27 06:22:15 UTC 2024
On 09-11-2024 00:44, Gustavo Sousa wrote:
> Quoting apoorva.singh at intel.com (2024-11-07 05:21:58-03:00)
>> From: Apoorva Singh <apoorva.singh at intel.com>
>>
>> Force Sampler Tile64 Overfetch via MMIO
>>
>> Signed-off-by: Apoorva Singh <apoorva.singh at intel.com>
>
> Reviewed-by: Gustavo Sousa <gustavo.sousa at intel.com>
Pushed to drm-xe-next, thanks for the patch and reviews.
BR
Himal
>
>> ---
>> drivers/gpu/drm/xe/regs/xe_gt_regs.h | 2 ++
>> drivers/gpu/drm/xe/xe_wa.c | 6 ++++++
>> 2 files changed, 8 insertions(+)
>>
>> diff --git a/drivers/gpu/drm/xe/regs/xe_gt_regs.h b/drivers/gpu/drm/xe/regs/xe_gt_regs.h
>> index 0c9e4b2fafab..162f18e975da 100644
>> --- a/drivers/gpu/drm/xe/regs/xe_gt_regs.h
>> +++ b/drivers/gpu/drm/xe/regs/xe_gt_regs.h
>> @@ -445,6 +445,8 @@
>>
>> #define SAMPLER_MODE XE_REG_MCR(0xe18c, XE_REG_OPTION_MASKED)
>> #define ENABLE_SMALLPL REG_BIT(15)
>> +#define SMP_WAIT_FETCH_MERGING_COUNTER REG_GENMASK(11, 10)
>> +#define SMP_FORCE_128B_OVERFETCH REG_FIELD_PREP(SMP_WAIT_FETCH_MERGING_COUNTER, 1)
>> #define SC_DISABLE_POWER_OPTIMIZATION_EBB REG_BIT(9)
>> #define SAMPLER_ENABLE_HEADLESS_MSG REG_BIT(5)
>> #define INDIRECT_STATE_BASE_ADDR_OVERRIDE REG_BIT(0)
>> diff --git a/drivers/gpu/drm/xe/xe_wa.c b/drivers/gpu/drm/xe/xe_wa.c
>> index 02cf647f86d8..570fe0376402 100644
>> --- a/drivers/gpu/drm/xe/xe_wa.c
>> +++ b/drivers/gpu/drm/xe/xe_wa.c
>> @@ -607,6 +607,12 @@ static const struct xe_rtp_entry_sr engine_was[] = {
>> FUNC(xe_rtp_match_first_render_or_compute)),
>> XE_RTP_ACTIONS(SET(ROW_CHICKEN4, DISABLE_TDL_PUSH))
>> },
>> + { XE_RTP_NAME("16024792527"),
>> + XE_RTP_RULES(GRAPHICS_VERSION(3000), GRAPHICS_STEP(A0, B0),
>> + FUNC(xe_rtp_match_first_render_or_compute)),
>> + XE_RTP_ACTIONS(FIELD_SET(SAMPLER_MODE, SMP_WAIT_FETCH_MERGING_COUNTER,
>> + SMP_FORCE_128B_OVERFETCH))
>> + },
>>
>> {}
>> };
>> --
>> 2.34.1
>>
More information about the Intel-xe
mailing list