diff options
author | 2016-10-13 11:55:08 +0300 | |
---|---|---|
committer | 2016-10-13 17:30:21 +0200 | |
commit | f7170e2eb8f6bf7ef2032cc0659cd38740bf5b97 (patch) | |
tree | 9dd8021efb81aa77ff498e77a06e15430b3d1a12 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/i915: Skip unbinding large unmappable global buffers (diff) | |
download | linux-dev-f7170e2eb8f6bf7ef2032cc0659cd38740bf5b97.tar.xz linux-dev-f7170e2eb8f6bf7ef2032cc0659cd38740bf5b97.zip |
drm/i915: fix a read size argument
We want to read 3 bytes here, but because the parenthesis are in the
wrong place we instead read:
sizeof(intel_dp->edp_dpcd) == sizeof(intel_dp->edp_dpcd)
which is one byte.
Fixes: fe5a66f91c88 ("drm/i915: Read PSR caps/intermediate freqs/etc. only once on eDP")
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: <drm-intel-fixes@lists.freedesktop.org>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20161013085508.GJ16198@mwanda
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions