diff options
| author | Mario Kleiner <[email protected]> | 2021-01-24 05:40:10 +0100 |
|---|---|---|
| committer | Simon Ser <[email protected]> | 2021-02-23 19:26:43 +0100 |
| commit | 66922f850910056a2a3193388dd69b900e824717 (patch) | |
| tree | dd6aeb4d843a731a5283b66b381405c8ec8fab19 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | d71cbff1cdae2d8ddd2a7279db67a1412f41d89d (diff) | |
drm: Fix HDMI_STATIC_METADATA_TYPE1 constant
According to the CTA 861.G spec, HDMI_STATIC_METADATA_TYPE1 is
not 1, but zero, so fix this enum.
While this doesn't cause problems in the kernel yet, as the
constant isn't actively used by drivers yet, it did create
confusion while debugging HDR problems in yours truly, and
also potential bugs in userspace components, as the wrong
enum propagates to components, e.g., like it did already
into intel-gpu-tools (tests/kms_hdr.c) or is used as wrong
reference when writing future new userspace HDR components
like compositors.
Fixes: fbb5d0353c62 ("drm: Add HDR source metadata property")
Signed-off-by: Mario Kleiner <[email protected]>
Cc: Uma Shankar <[email protected]>
Cc: Shashank Sharma <[email protected]>
Cc: Ville Syrjälä <[email protected]>
Reviewed-by: Simon Ser <[email protected]>
Signed-off-by: Simon Ser <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions