]> 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)
commitb4d7892a10d6cb78aab18d66328f3c5d09108899
tree3fe8a881d1390c00664a4a7b2c290b3e4e5dd3e4
parentfdf73dba4becc3355e470d34a3a3e77e0d1d9fde
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