summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorImre Deak <imre.deak@intel.com>2017-05-10 12:21:48 +0300
committerImre Deak <imre.deak@intel.com>2017-05-10 13:47:40 +0300
commit9bacd4b1f8553428c5723e4c8f2ca491b400e429 (patch)
tree15055c8a0d3c3adfa228567b4afe9f6ba6519305 /tools/perf/scripts/python/call-graph-from-postgresql.py
parented58570f55e2c57553161413881c7947f0952b5c (diff)
drm/i915/dp: Check error return during DPCD capability queries
The assumptions of these users of drm_dp_dpcd_readb() is that the passed in output buffer won't change in case of error, but this isn't guaranteed. Fix this by treating any error as the lack of the given capability. In case of DP_SINK_DEVICE_AUX_FRAME_SYNC_CAP an error would leave the buffer uninitialized even with the above assumption. Signed-off-by: Imre Deak <imre.deak@intel.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1494408113-379-2-git-send-email-imre.deak@intel.com
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions