drm/i915: Warn about aux msg buffer vs. size mismatch
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 28 Jul 2016 14:55:04 +0000 (17:55 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 2 Aug 2016 13:25:10 +0000 (16:25 +0300)
commitdd788090822300a66ff469ae9e50f6d28d124eb8
tree13ba83346be151274a54d7b2365a71caacf28493
parentacb913593addda42fdfd9f40d2529151b61b5b4c
drm/i915: Warn about aux msg buffer vs. size mismatch

If we have have a buffer, we should also have a size, and vice versa.
Let's check it both ways instead of just one.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1469717704-13020-1-git-send-email-ville.syrjala@linux.intel.com
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_dp.c