[PATCH] drm/xe: Make PPHWSP size explicit in xe_gt_lrc_size()
Lucas De Marchi
lucas.demarchi at intel.com
Mon Mar 31 17:13:28 UTC 2025
On Fri, 28 Mar 2025 13:50:50 -0300, Gustavo Sousa wrote:
> The context of each engine starts with a 4k scratch memory space for the
> "Per-process HW status page" (PPHWSP). In xe_gt_lrc_size(), we have been
> implicitly accounting for that page in the switch statement on the
> engine class.
>
> Since the PPHWSP is common to all engines, let's extract that into it's
> own assignment. That makes the context structure more explicit in the
> code and aligns better with the descriptions in Bspec.
>
> [...]
I removed the word "scratch" from commit message and applied to drm-xe-next.
Thanks for the patch and review.
[1/1] drm/xe: Make PPHWSP size explicit in xe_gt_lrc_size()
commit: bac016066536cc050046c20807ca8b650c55cc70
Best regards,
--
Lucas De Marchi
More information about the Intel-xe
mailing list