[PATCH i-g-t 1/3] lib/intel_mocs: fix wb mocs entry for MTL

Matthew Auld matthew.auld at intel.com
Thu Jul 3 08:41:01 UTC 2025


On 03/07/2025 07:30, Zbigniew Kempczyński wrote:
> Likely there was some typo when adding mocs for MTL. Valid
> entry for WB is equal 1, not 10.
> 
> Signed-off-by: Zbigniew Kempczyński <zbigniew.kempczynski at intel.com>
> Cc: Matthew Auld <matthew.auld at intel.com>

Reviewed-by: Matthew Auld <matthew.auld at intel.com>

> ---
>   lib/intel_mocs.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/lib/intel_mocs.c b/lib/intel_mocs.c
> index 5698c6cca0..e0c33c31c0 100644
> --- a/lib/intel_mocs.c
> +++ b/lib/intel_mocs.c
> @@ -29,7 +29,7 @@ static void get_mocs_index(int fd, struct drm_intel_mocs_index *mocs)
>   		mocs->defer_to_pat_index = 0;
>   	} else if (IS_METEORLAKE(devid)) {
>   		mocs->uc_index = 5;
> -		mocs->wb_index = 10;
> +		mocs->wb_index = 1;
>   	} else if (IS_DG2(devid)) {
>   		mocs->uc_index = 1;
>   		mocs->wb_index = 3;



More information about the igt-dev mailing list