]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gmbus: Enable burst read
authorRamalingam C <ramalingam.c@intel.com>
Thu, 28 Jun 2018 13:34:49 +0000 (19:04 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 12 Jul 2018 15:31:28 +0000 (17:31 +0200)
commit83fb492da958b58938410b5b63821fc509625bc6
treede68a81289a693f1b7f2b2d90a84f9920f704542
parent978bb61e1d57988eb7643c21e1d3f121af1481a3
drm/i915/gmbus: Enable burst read

Support for Burst read in HW is added for HDCP2.2 compliance
requirement.

This patch enables the burst read for all the gmbus read of more than
511Bytes, on capable platforms.

v2:
  Extra line is removed.
v3:
  Macro is added for detecting the BURST_READ Support [Jani]
  Runtime detection of the need for burst_read [Jani]
  Calculation enhancement.
v4:
  GMBUS0 reg val is passed from caller [ville]
  Removed a extra var [ville]
  Extra brackets are removed [ville]
  Implemented the handling of 512Bytes Burst Read.
v5:
  Burst read max length is fixed at 767Bytes [Ville]
v6:
  Collecting the received reviewed-by.

Signed-off-by: Ramalingam C <ramalingam.c@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/1530192889-5789-3-git-send-email-ramalingam.c@intel.com
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_i2c.c