drm/i915: rewrite VLV IOSF SB unit specific read/write functions
authorJani Nikula <jani.nikula@intel.com>
Mon, 12 May 2025 14:56:54 +0000 (17:56 +0300)
committerJani Nikula <jani.nikula@intel.com>
Tue, 13 May 2025 07:26:45 +0000 (10:26 +0300)
commit5c76b7178b511019c0c5f5544d9bfc4b9589f0d4
treebabcd0d010e5946613d597fe124c953305b70d96
parent7e9f0cc24bb6a2121a6abaef401d429f94ea2e8b
drm/i915: rewrite VLV IOSF SB unit specific read/write functions

Rewrite the VLV IOSF SB unit specific helpers in terms of the new
generic read/write functions. They become even simpler than they were.

The DPIO get/put helpers need to get/put both DPIO units.

v2: get/put both DPIO units

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> # v1
Link: https://lore.kernel.org/r/df97dafa0f7b665e2078c392f0dc3edc59655b0a.1747061743.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/vlv_iosf_sb.c
drivers/gpu/drm/i915/vlv_iosf_sb.h