Skip to content
Commit b230555f authored by Brian Starkey's avatar Brian Starkey Committed by Liviu Dudau
Browse files

drm/fourcc: Fix vsub/hsub for Q410 and Q401



These formats are not subsampled, but that means hsub and vsub should be
1, not 0.

Fixes: 94b292b2 ("drm: drm_fourcc: add NV15, Q410, Q401 YUV formats")
Reported-by: default avatarGeorge Kennedy <george.kennedy@oracle.com>
Reported-by: default avatarbutt3rflyh4ck <butterflyhuangxx@gmail.com>
Signed-off-by: default avatarBrian Starkey <brian.starkey@arm.com>
Reviewed-by: default avatarLiviu Dudau <liviu.dudau@arm.com>
Signed-off-by: default avatarLiviu Dudau <liviu.dudau@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220913144306.17279-1-brian.starkey@arm.com
parent f574f377
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment