From f71b5bddd2c996859988f518b0b90327d0fb0a60 Mon Sep 17 00:00:00 2001 From: Bao_Wenni Date: Fri, 1 Dec 2023 14:03:24 +0800 Subject: [PATCH] [VP] Add BGRP format support Add BGRP format support in disablewidthadjust --- media_softlet/agnostic/common/renderhal/renderhal.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/media_softlet/agnostic/common/renderhal/renderhal.cpp b/media_softlet/agnostic/common/renderhal/renderhal.cpp index 1168331a582..ae72df191a1 100644 --- a/media_softlet/agnostic/common/renderhal/renderhal.cpp +++ b/media_softlet/agnostic/common/renderhal/renderhal.cpp @@ -4082,7 +4082,8 @@ MOS_STATUS RenderHal_GetSurfaceStateEntries( PlaneDefinition == RENDERHAL_PLANES_R16_UNORM || PlaneDefinition == RENDERHAL_PLANES_R8 || PlaneDefinition == RENDERHAL_PLANES_A8 || - PlaneDefinition == RENDERHAL_PLANES_RGB16)) + PlaneDefinition == RENDERHAL_PLANES_RGB16 || + PlaneDefinition == RENDERHAL_PLANES_BGRP)) { dwSurfaceWidth = dwSurfaceWidth / OutputSurfaceWidthRatio; }