]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915: Relocate the SKL wm sanitation code
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 31 Oct 2024 15:56:41 +0000 (17:56 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 6 Nov 2024 14:41:20 +0000 (16:41 +0200)
commite31e8681d29c5c35aa070ca6323c6b95ecf0db99
tree640e117b1190ab28d326a5063de1648336a8bcf9
parentbe7f5fcdf4a0b83a30cace5934d54c63f65e41df
drm/i915: Relocate the SKL wm sanitation code

In order to add more MBUS sanitation into the code we'll want
to reuse a bunch of the code that performs the MBUS/related
hardware programming. Currently that code comes after the
main skl_wm_get_hw_state_and_sanitize() entrypoint. In order
to avoid annoying forward declarations relocate the
skl_wm_get_hw_state_and_sanitize() and related stuff nearer to
the end of the file.

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