[Intel-gfx] [PATCH] drm/i915/cdclk: put the cdclk vtables in const data

Ville Syrjälä ville.syrjala at linux.intel.com
Thu Oct 21 13:43:02 UTC 2021


On Thu, Oct 21, 2021 at 04:37:02PM +0300, Ville Syrjälä wrote:
> On Thu, Oct 21, 2021 at 04:34:08PM +0300, Jani Nikula wrote:
> > Add the const that was accidentally left out from the vtables.
> > 
> > Fixes: 6b4cd9cba620 ("drm/i915: constify the cdclk vtable")
> > Cc: Dave Airlie <airlied at redhat.com>
> > Signed-off-by: Jani Nikula <jani.nikula at intel.com>
> 
> Reviewed-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
> 
> And if you're sufficiently bored could also move i915->cdclk_funcs
> into i915->cdclk.funcs.

Oh and we should move the cdclk_funcs struct definition into
intel_cdclk.c.

-- 
Ville Syrjälä
Intel


More information about the Intel-gfx mailing list