Commit 6068bc2
committed
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 <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/6dd52f3fce3527242479aadc276d05de74ceae5d.1713520813.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <[email protected]>1 parent 4cfff96 commit 6068bc2
File tree
4 files changed
+349
-342
lines changed- drivers/gpu/drm/i915/display
4 files changed
+349
-342
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3722 | 3722 | | |
3723 | 3723 | | |
3724 | 3724 | | |
3725 | | - | |
3726 | | - | |
| 3725 | + | |
| 3726 | + | |
3727 | 3727 | | |
3728 | 3728 | | |
3729 | 3729 | | |
| |||
3749 | 3749 | | |
3750 | 3750 | | |
3751 | 3751 | | |
3752 | | - | |
| 3752 | + | |
3753 | 3753 | | |
3754 | 3754 | | |
3755 | 3755 | | |
3756 | | - | |
| 3756 | + | |
3757 | 3757 | | |
3758 | 3758 | | |
3759 | 3759 | | |
| |||
0 commit comments