1
0
mirror of https://github.com/openbsd/src.git synced 2026-05-01 17:46:35 +00:00

drm/amdgpu: Add back JPEG to video caps for carrizo and newer

From David Rosca
8d7cc147124e5dc2bcf881436a2976e94c0fbe86 in linux-6.12.y/6.12.48
2036be31741b00f030530381643a8b35a5a42b5c in mainline linux
This commit is contained in:
jsg
2025-09-22 03:43:38 +00:00
parent 3582473378
commit 2505ec04ec

View File

@@ -239,6 +239,13 @@ static const struct amdgpu_video_codec_info cz_video_codecs_decode_array[] =
.max_pixels_per_frame = 4096 * 4096,
.max_level = 186,
},
{
.codec_type = AMDGPU_INFO_VIDEO_CAPS_CODEC_IDX_JPEG,
.max_width = 4096,
.max_height = 4096,
.max_pixels_per_frame = 4096 * 4096,
.max_level = 0,
},
};
static const struct amdgpu_video_codecs cz_video_codecs_decode =