summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/rockchip/rk3066_hdmi.c
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2024-04-19 13:04:06 +0300
committerJani Nikula <jani.nikula@intel.com>2024-04-23 17:00:14 +0300
commit6068bc209ac8d07a5d04e93f168465195e22a4cc (patch)
treeae6bd473380a5a56794890cfe1142c3fbf850e47 /drivers/gpu/drm/rockchip/rk3066_hdmi.c
parent4cfff967f117329622bb28908c890de317307bb7 (diff)
drm/i915/dsi: pass display to register macros instead of implicit variable
Stop relying on the dev_priv local variable in the DSI register macros. Pass struct intel_display pointer to the macros. Move the MIPI DSI MMIO base selection to a different level, passing it to _MMIO_MIPI() and doing the addition there. Start using the local display variable for all intel_de_* usage, and opportunistically use it for other things than display registers as well. Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/6dd52f3fce3527242479aadc276d05de74ceae5d.1713520813.git.jani.nikula@intel.com Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'drivers/gpu/drm/rockchip/rk3066_hdmi.c')
0 files changed, 0 insertions, 0 deletions