]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915/cdclk: Plumb the full atomic state deeper
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 28 May 2024 18:49:43 +0000 (21:49 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 31 May 2024 10:15:20 +0000 (13:15 +0300)
commit4fab6b8b3033c02f11837a26d24297cce9a5b6ae
treeb9efc6905d46177c1cf52cac21bf836fdfbe3a20
parent53d916d9a425fb10e974318991b9748a05efaaea
drm/i915/cdclk: Plumb the full atomic state deeper

Various parts of the cdclk code need access the full atomic
state. Currently it's being dug out via the cdclk_state->base.state
pointer, which is not great as that pointer isn't always valid.
Instead plumb the full atomic state from the top so that it's
clear that it is in fact valid.

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