[igt-dev] [PATCH i-g-t 0/1] lib/rendercopy_gen9: Program platform specific MOCS index

Ville Syrjälä ville.syrjala at linux.intel.com
Mon Aug 16 16:56:03 UTC 2021


On Tue, Aug 03, 2021 at 04:39:33PM +0530, Ayaz A Siddiqui wrote:
> Since Gen12 onward PTE based catchability is not supported to changing
> PTE index to UC as safest  catchability.

That doesn't make any sense to me. Without a PTE MOCS setting all
buffers that have the potential of becoming scanout buffers will
have to be UC, which doesn't sound particularly great.

Also we do have the PTE MOCS index still programmed on gen12 AFAICS.

> 
> Based on further need, we may move intel_get_uc_mocs() in some common file,
> so that it can be useed for providing uc index for other modules also.
> 
> 
> Ayaz A Siddiqui (1):
>   lib/rendercopy_gen9: Program MOCS value based on platform
> 
>  lib/rendercopy_gen9.c | 33 ++++++++++++++++++++++++++++++++-
>  1 file changed, 32 insertions(+), 1 deletion(-)
> 
> -- 
> 2.26.2

-- 
Ville Syrjälä
Intel


More information about the igt-dev mailing list