Skip to content

backends/drm: only enable HDR if both display and driver are capable of it

Xaver Hugl requested to merge work/cherry-pick-d33ab542 into Plasma/6.0

The config may have HDR or WCG enabled, and the driver or display settings changed since then to make it impossible to actually enable either. The config values stay unchanged when this happens, so reconnecting the display with HDR support will automatically turn it on again.

BUG: 481518

(cherry picked from commit d33ab542)

Merge request reports