Module: Mesa Branch: main Commit: d0e6809ee5e0b68140313cab20422fd2ea861afb URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d0e6809ee5e0b68140313cab20422fd2ea861afb
Author: Hyunjun Ko <[email protected]> Date: Tue Jul 4 15:42:41 2023 +0900 anv/video: fix to support HEVC 10bit on some of 9th gens. >From Broxton and Kabylake, it started supporting HEVC 10-bit decoding. Fixes: 649e12c8973 ("anv_video: reject decoding of unsupported profiles and formats") Signed-off-by: Hyunjun Ko <[email protected]> Acked-by: Lionel Landwerlin <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23985> --- src/intel/vulkan/anv_video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/vulkan/anv_video.c b/src/intel/vulkan/anv_video.c index 656cca42b65..9c1c6779fe1 100644 --- a/src/intel/vulkan/anv_video.c +++ b/src/intel/vulkan/anv_video.c @@ -172,7 +172,7 @@ anv_GetPhysicalDeviceVideoCapabilitiesKHR(VkPhysicalDevice physicalDevice, /* Skylake only supports the main profile */ if (h265_profile->stdProfileIdc != STD_VIDEO_H265_PROFILE_IDC_MAIN && h265_profile->stdProfileIdc != STD_VIDEO_H265_PROFILE_IDC_MAIN_STILL_PICTURE && - pdevice->info.ver <= 9) + pdevice->info.platform <= INTEL_PLATFORM_SKL) return VK_ERROR_VIDEO_PROFILE_OPERATION_NOT_SUPPORTED_KHR; /* Gfx10 and under don't support the range extension profile */
