Based on earlier work by Maarten, switch to intel_de_* register accessors in display for display registers, and avoid direct i915->uncore access in general. For now, leave the non-display registers be, as well as pcode. Jani Nikula (11): drm/i915/de: return the old register value from intel_de_rmw() drm/i915/crt: drop a bunch of unnecessary register variables drm/i915/crt: switch to intel_de_* register accessors in display code drm/i915/power: switch to intel_de_* register accessors in display code drm/i915/dmc: switch to intel_de_* register accessors in display code drm/i915/dp-aux: switch to intel_de_* register accessors in display code drm/i915/gmbus: switch to intel_de_* register accessors in display code drm/i915/wm: switch to intel_de_* register accessors in display code drm/i915/snps: switch to intel_de_* register accessors in display code drm/i915/tc: switch to intel_de_* register accessors in display code drm/i915/fbc: switch to intel_de_* register accessors in display code Maarten Lankhorst (1): drm/i915/de: Add more macros to remove all direct calls to uncore drivers/gpu/drm/i915/display/intel_crt.c | 53 +++++++----------- drivers/gpu/drm/i915/display/intel_de.h | 47 +++++++++++++++- .../drm/i915/display/intel_display_power.c | 2 +- drivers/gpu/drm/i915/display/intel_dmc.c | 6 +- drivers/gpu/drm/i915/display/intel_dp_aux.c | 29 +++++----- drivers/gpu/drm/i915/display/intel_fbc.c | 10 +--- drivers/gpu/drm/i915/display/intel_gmbus.c | 46 ++++++---------- drivers/gpu/drm/i915/display/intel_snps_phy.c | 15 +++-- drivers/gpu/drm/i915/display/intel_tc.c | 55 ++++++------------- drivers/gpu/drm/i915/display/skl_watermark.c | 42 ++++++-------- 10 files changed, 144 insertions(+), 161 deletions(-) -- 2.34.1