diff options
author | Brian Starkey <brian.starkey@arm.com> | 2022-09-13 15:43:06 +0100 |
---|---|---|
committer | Liviu Dudau <liviu.dudau@arm.com> | 2022-11-16 11:29:09 +0000 |
commit | b230555f3257f197dd98641ef6ebaf778b52dd51 (patch) | |
tree | 1ee24fc1e66ff61a645ac40a2b0ec3377f2aa82e /drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c | |
parent | f574f3772cdda0adacce0bff03ba59f754d7d42e (diff) |
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: 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
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c')
0 files changed, 0 insertions, 0 deletions