diff options
| author | Srinivasan Shanmugam <srinivasan.shanmugam@amd.com> | 2026-08-20 15:29:43 +0530 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-08-25 18:23:05 -0400 |
| commit | fdc290ff4ab19c7e0dde36c4cd1e2771b61f6bf5 (patch) | |
| tree | 0f4d306a4304d51a3ef0083a180386247253cdc2 /scripts/const_structs.checkpatch | |
| parent | 6aa530642f95d5c48aa336416f94a35e7949b647 (diff) | |
| download | linux-fdc290ff4ab19c7e0dde36c4cd1e2771b61f6bf5.tar.gz linux-fdc290ff4ab19c7e0dde36c4cd1e2771b61f6bf5.zip | |
drm/amd/display: Fix wrong bytes-per-pixel value for dml2_422_packed_10
The pixel format dml2_422_packed_10 needs BytePerPixelDETY set to
8.0/3. But it was accidentally placed in the wrong group that sets it to
4, so the correct value was never used.
This caused wrong DET buffer size and bandwidth calculations whenever
this format was used.
Fix it by moving dml2_422_packed_10 out of the wrong group so it gets
the correct value of 8.0/3.
Fixes: 7f7d7ea1fa51 ("drm/amd/display: Add new sources for DCN6")
Reported-by: Dan Carpenter <error27@gmail.com>
Cc: Roman Li <roman.li@amd.com>
Cc: Alex Hung <alex.hung@amd.com>
Cc: Tom Chung <chiahsuan.chung@amd.com>
Cc: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Reviewed-by: George Zhang <george.zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions
