Skip to content

Commit dd1c3ea

Browse files
committed
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ä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20230606191504.18099-12-ville.syrjala@linux.intel.com Reviewed-by: Uma Shankar <uma.shankar@intel.com>
1 parent 5053121 commit dd1c3ea

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

drivers/gpu/drm/i915/display/intel_color.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1886,6 +1886,10 @@ void intel_color_prepare_commit(struct intel_crtc_state *crtc_state)
18861886
/* FIXME DSB has issues loading LUTs, disable it for now */
18871887
return;
18881888

1889+
if (!crtc_state->hw.active ||
1890+
intel_crtc_needs_modeset(crtc_state))
1891+
return;
1892+
18891893
if (!crtc_state->pre_csc_lut && !crtc_state->post_csc_lut)
18901894
return;
18911895

0 commit comments

Comments
 (0)