]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/sdvo: Check that we have space for the infoframe
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 10 Apr 2019 17:08:35 +0000 (20:08 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 7 Jun 2019 17:40:14 +0000 (20:40 +0300)
commit0f7322246e65c80abcedfb9345e77923a6a1f908
tree3fe8a881d1390c00664a4a7b2c290b3e4e5dd3e4
parent89354053fba64f829df0467739bdc2971ea467de
drm/i915/sdvo: Check that we have space for the infoframe

Before we go writing the infoframe let's make sure we have
the space for it. Not that it really matters since the write
loop would just terminate early in that case.

v2: Check after the debug print and ++ (Chris)

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20190410170835.18867-1-ville.syrjala@linux.intel.com
Reviewed-by: Radhakrishna Sripada <radhakrishna.sripada@intel.com>
drivers/gpu/drm/i915/intel_sdvo.c