summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/drm_atomic.c
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2018-09-28 21:04:00 +0300
committerVille Syrjälä <ville.syrjala@linux.intel.com>2018-12-10 23:37:53 +0200
commitcb8ce7111117e16a87f3f55c014ccd1f19f81016 (patch)
tree234918241b8b45bda9e9250927698e47ba8c0063 /drivers/gpu/drm/drm_atomic.c
parentc978ae9bde582e82a04c63a4071701691dd8b35c (diff)
drm/dp/mst: Validate REMOTE_I2C_READ harder
Make sure i2c msgs we're asked to transfer conform to the requirements of REMOTE_I2C_READ. We were only checking that the last message is a read, but we must also check that the preceding messages are all writes. Also check that the length of each message isn't too long. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20180928180403.22499-2-ville.syrjala@linux.intel.com Reviewed-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Diffstat (limited to 'drivers/gpu/drm/drm_atomic.c')
0 files changed, 0 insertions, 0 deletions