diff options
author | Brian Starkey | 2022-09-13 15:43:06 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2022-12-31 13:32:11 +0100 |
commit | 0a730f51b02ae44031fb0be12700066c91a9af7e (patch) | |
tree | eb3be39209faa5d5938e5f0a88bcd401bac124aa /security | |
parent | 8cf1235a49a3f5e2b9ff803849f59c3d589c3ebd (diff) |
drm/fourcc: Fix vsub/hsub for Q410 and Q401
[ Upstream commit b230555f3257f197dd98641ef6ebaf778b52dd51 ]
These formats are not subsampled, but that means hsub and vsub should be
1, not 0.
Fixes: 94b292b27734 ("drm: drm_fourcc: add NV15, Q410, Q401 YUV formats")
Reported-by: George Kennedy <george.kennedy@oracle.com>
Reported-by: butt3rflyh4ck <butterflyhuangxx@gmail.com>
Signed-off-by: Brian Starkey <brian.starkey@arm.com>
Reviewed-by: Liviu Dudau <liviu.dudau@arm.com>
Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220913144306.17279-1-brian.starkey@arm.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions