From 1f795ec2261d896957891bd09519f9e047f8f588 Mon Sep 17 00:00:00 2001 From: David Rosca Date: Thu, 22 May 2025 09:56:34 +0200 Subject: [PATCH] radv/video: Remove carrizo workaround from VCN decode Carrizo has UVD so this can never be true. Reviewed-by: Dave Airlie Part-of: --- src/amd/vulkan/radv_video.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/amd/vulkan/radv_video.c b/src/amd/vulkan/radv_video.c index 62cae245118..aa01156ff34 100644 --- a/src/amd/vulkan/radv_video.c +++ b/src/amd/vulkan/radv_video.c @@ -1331,7 +1331,6 @@ get_h265_msg(struct radv_device *device, struct radv_video_session *vid, struct uint32_t *height_in_samples, void *it_ptr) { - const struct radv_physical_device *pdev = radv_device_physical(device); rvcn_dec_message_hevc_t result; int i, j; const struct VkVideoDecodeH265PictureInfoKHR *h265_pic_info = @@ -1354,9 +1353,6 @@ get_h265_msg(struct radv_device *device, struct radv_video_session *vid, struct result.sps_info_flags |= sps->flags.strong_intra_smoothing_enabled_flag << 7; result.sps_info_flags |= sps->flags.separate_colour_plane_flag << 8; - if (pdev->info.family == CHIP_CARRIZO) - result.sps_info_flags |= 1 << 9; - if (!h265_pic_info->pStdPictureInfo->flags.short_term_ref_pic_set_sps_flag) { result.sps_info_flags |= 1 << 11; }