]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915: Extract pipe_mbus_dbox_ctl()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 31 Oct 2024 15:56:42 +0000 (17:56 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 6 Nov 2024 14:41:27 +0000 (16:41 +0200)
commit45bc523009f0c289b0f1354de007f3c61958e8c0
treebca8ea88c1deb110ee5b306762c5d193857ca7e7
parente31e8681d29c5c35aa070ca6323c6b95ecf0db99
drm/i915: Extract pipe_mbus_dbox_ctl()

We'll be wanting to reprogram the PIPE_MBUS_DBOX_CTL registers
during an upcoming MBUS sanitation stage. To make that easier
extract a helper that computes the full register value for us.

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