]> git.baikalelectronics.ru Git - kernel.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)
commit4817b72ab1db90d10844c59ba553cd7bd1d4af19
tree8fc08df111adfe0649429b361f84a52ed3de7a82
parent14c18696d22c83034ceb65e2fe06df841700798a
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