summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSuraj Kandpal <suraj.kandpal@intel.com>2026-02-02 13:48:02 +0530
committerSuraj Kandpal <suraj.kandpal@intel.com>2026-02-03 07:56:09 +0530
commitc766952016f2a42d0711260f2f56bdec17786cb7 (patch)
tree8da29abaf9e52c912bb465683c35fd9bbc482b3f /tools/perf/scripts/python
parentc0dc68f4e2aa7eddb9ec6d95931f9576d8fe7334 (diff)
drm/i915/dp: Add a meaningful return to intel_dp_read_dsc_dpcd
Add a meaningful return to intel_dp_read_dsc_dpcd. This is to avoid unwanted DPCD reads which are not needed once we know DSC DPCD read fails. To do this convert drm_dp_dpcd_read to drm_dp_dpcd_read_data which returns a meaningful error which can be propogated up when all bits are not read. While we are at it convert the drm_err in intel_dp_read_dsc_dpcd to drm_dbg_kms. This is because we do not want a hard ERROR when we call this function, during the intel_dp_detect phase since AUX may not be up, it is expected to fail but we do not expect a failure in read when we call intel_dp_dsc_get_sink_cap so we move the drm_err there. Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com> Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com> Link: https://patch.msgid.link/20260202081801.1400708-1-suraj.kandpal@intel.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions