]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/i915: Merge sbi read/write into a single accessor
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 26 Apr 2019 08:17:23 +0000 (09:17 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 26 Apr 2019 09:20:45 +0000 (10:20 +0100)
commit7531942861c80aa26876762dc0775ddd727104f5
tree8fc08df111adfe0649429b361f84a52ed3de7a82
parent56c5098ffcf8e655ac4e8f0634e44f1cea988590
drm/i915: Merge sbi read/write into a single accessor

Since intel_sideband_read and intel_sideband_write differ by only a
couple of lines (depending on whether we feed the value in or out),
merge the two into a single common accessor.

v2: Restore vlv_flisdsi_read() lost during rebasing.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190426081725.31217-6-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_sideband.c