drm/i915/gmbus: Increase the Bytes per Rd/Wr Op
authorRamalingam C <ramalingam.c@intel.com>
Thu, 28 Jun 2018 13:34:48 +0000 (19:04 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 12 Jul 2018 15:31:28 +0000 (17:31 +0200)
commit73675cf6979bb80534641b1814a971eaf9f649b5
tree57c56c4c2e1e5aa45c97a852c3b4ae760a8dfc31
parenta63983f26008804e8db12457e429e5fc18841894
drm/i915/gmbus: Increase the Bytes per Rd/Wr Op

GMBUS HW supports 511Bytes as Max Bytes per single RD/WR op. Instead of
enabling the 511Bytes per RD/WR cycle on legacy platforms for no
absolute ROIs, this change allows the max bytes per op upto 511Bytes
from Gen9 onwards.

v2:
  No Change.
v3:
  Inline function for max_xfer_size and renaming of the macro.[Jani]
v4:
  Extra brackets removed [ville]
  Commit msg is modified.
v5:
  Collecting the Reviewed-By received.

Cc: Jani Nikula <jani.nikula@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Ramalingam C <ramalingam.c@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/1530192889-5789-2-git-send-email-ramalingam.c@intel.com
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_i2c.c