drm/i915: Remove PLL asserts from .load_luts()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 29 Sep 2022 07:15:12 +0000 (10:15 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 30 Sep 2022 12:57:08 +0000 (15:57 +0300)
commit319b0869f51c16034c48627d77ec62fc3b9dccfe
tree80f95b8e1dfdfc0c0abece7fba9852bbcaf63152
parent3dbf20e483cf3f31e287ad3152ffadd15a482e4f
drm/i915: Remove PLL asserts from .load_luts()

.load_luts() potentially runs from the vblank worker, and is
under a deadline to complete within the vblank. Thus we can't
do expesive stuff like talk to the Punit, etc.

To that end get rid of the assert_dsi_pll_enabled() call for
vlv/chv. We'll just have to trust that the PLL is already enabled
here.

And I don't think the normal assert_pll_enabled() really buys us
anything useful on gmch platforms either, so nuke that one too.
We don't have corresponding asserts in the ilk+ codepaths anyway
despite the hardware (IIRC) still requiring the clock to be
enabled when we access the LUT.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220929071521.26612-2-ville.syrjala@linux.intel.com
Acked-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_color.c