Commit bad2383f authored by Ville Syrjälä's avatar Ville Syrjälä

drm/i915: Make .read_luts() mandatory

Every platform now implements .read_luts(). Make it mandatory.
Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221114153732.11773-15-ville.syrjala@linux.intel.comReviewed-by: default avatarUma Shankar <uma.shankar@intel.com>
parent 298ad107
...@@ -1231,8 +1231,7 @@ void intel_color_get_config(struct intel_crtc_state *crtc_state) ...@@ -1231,8 +1231,7 @@ void intel_color_get_config(struct intel_crtc_state *crtc_state)
{ {
struct drm_i915_private *i915 = to_i915(crtc_state->uapi.crtc->dev); struct drm_i915_private *i915 = to_i915(crtc_state->uapi.crtc->dev);
if (i915->display.funcs.color->read_luts) i915->display.funcs.color->read_luts(crtc_state);
i915->display.funcs.color->read_luts(crtc_state);
} }
static bool need_plane_update(struct intel_plane *plane, static bool need_plane_update(struct intel_plane *plane,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment