diff options
author | Ville Syrjälä <[email protected]> | 2019-11-07 17:17:15 +0200 |
---|---|---|
committer | Ville Syrjälä <[email protected]> | 2020-03-03 19:26:23 +0200 |
commit | 3faf8b8532d750be669af0d27049914cff90acd8 (patch) | |
tree | 95949fda37eb04119f545807829a003b723f9dbb /lib/test_overflow.c | |
parent | 6e482b96b387d717302b6d281120121bf93b1936 (diff) |
drm/i915: Polish CHV .load_luts() a bit
It irks me to use crtc_state_is_legacy_gamma() inside the guts
of the CHV color management code. Let's get rid of it and instead
just consult cgm_mode to figure out if we want to enable the pipe
gamma or the CGM gamma.
Also CHV display engine is based on i965/g4x so we should fall back
to the i965 path when the CGM gamma is not used.
Signed-off-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Swati Sharma <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions