diff options
author | Ville Syrjälä <[email protected]> | 2023-06-06 22:14:56 +0300 |
---|---|---|
committer | Ville Syrjälä <[email protected]> | 2023-09-27 18:40:16 +0300 |
commit | dd1c3eae5855ad36134ea415d84e567d2b55e6c7 (patch) | |
tree | 994515c70f344f343475f1ede170bb34018cf4a5 | |
parent | 5053121b25bf860e231784165e62714ae817e313 (diff) |
drm/i915/dsb: Don't use DSB to load the LUTs during full modeset
Using the DSB for LUT loading during full modesets would require
some actual though. Let's just use mmio for the time being.
Signed-off-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Uma Shankar <[email protected]>
-rw-r--r-- | drivers/gpu/drm/i915/display/intel_color.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_color.c b/drivers/gpu/drm/i915/display/intel_color.c index cdca3a89fa9c..bb6eda005613 100644 --- a/drivers/gpu/drm/i915/display/intel_color.c +++ b/drivers/gpu/drm/i915/display/intel_color.c @@ -1886,6 +1886,10 @@ void intel_color_prepare_commit(struct intel_crtc_state *crtc_state) /* FIXME DSB has issues loading LUTs, disable it for now */ return; + if (!crtc_state->hw.active || + intel_crtc_needs_modeset(crtc_state)) + return; + if (!crtc_state->pre_csc_lut && !crtc_state->post_csc_lut) return; |