weston/libweston/backend-drm
Pekka Paalanen 8ebebb20ef drm-backend: add color_outcome / HDR metadata serial
Output color profile may be changed in flight. Output basic color
characteristics and EOTF mode cannot yet be changed in flight, but it is
reasonable to assume they could in the future. Therefore the color
outcome data may change in flight as well, which is the basis for HDR
metadata, which needs to be updated as well.

Track the changes to color outcome data with a serial number.
DRM-backend checks the serial number to see if it needs to re-create the
HDR metadata blob. This allows the changes to propagate all the way to
KMS.

The code added here is more of a reminder of what should happen than a
tested path.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
2022-05-27 10:30:35 +00:00
..
drm-gbm.c backend-drm/drm-gbm: gbm_device_destroy on an invalid gbm device 2022-01-12 13:52:26 +00:00
drm-internal.h drm-backend: add color_outcome / HDR metadata serial 2022-05-27 10:30:35 +00:00
drm-virtual.c compositor: remove repaint_data from compositor 2022-04-06 12:47:05 +02:00
drm.c backend-drm: move code to kms-color.c 2022-05-27 10:30:35 +00:00
fb.c pixel-formats: Rename addfb_legacy_depth 2022-05-20 11:24:41 +00:00
kms-color.c drm-backend: add color_outcome / HDR metadata serial 2022-05-27 10:30:35 +00:00
kms.c backend-drm: program HDR_OUTPUT_METADATA 2022-05-02 12:19:24 +00:00
libbacklight.c libbacklight: Fix backlight never gets initialized 2022-04-11 08:38:00 +03:00
libbacklight.h
libdrm-updates.h backend-drm: add HDR_OUTPUT_METADATA definitions 2022-05-02 12:19:24 +00:00
meson.build backend-drm: forward HDR metadata 2022-05-27 10:30:35 +00:00
modes.c backend-drm: program HDR_OUTPUT_METADATA 2022-05-02 12:19:24 +00:00
state-helpers.c weston_buffer: Add mode to weston_buffer_reference 2022-04-25 14:27:08 +00:00
state-propose.c backend-drm: Add failure reasons for failing gbm_bo_import 2022-05-12 11:53:04 +00:00
vaapi-recorder.c drm/vaapi: Fix pointer-size confusion 2021-08-03 11:13:23 +00:00
vaapi-recorder.h