]> 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)
commit4fb60a621edd4cc26e69ca28aa19c072bf056cb9
treede68a81289a693f1b7f2b2d90a84f9920f704542
parent594288d260e53acad5db7f57b0df57184b68dd80
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