summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2026-09-16 11:29:41 +0300
committerJani Nikula <jani.nikula@intel.com>2026-09-22 16:37:41 +0300
commit3216d9cc254bb03c0bec1084d7bfccff2ecbcc7a (patch)
tree5e87d473ed6bb5c2792fc47900d30bd4ffc03cb4 /tools/lib/python
parent791a8519ff8407fd17a9ef04cf97771b5a37435b (diff)
drm/i915/dp-test: switch to drm_dp_dpcd_{read_byte, read_data, write_byte, write_data}()
Switch to the modern DPCD access functions that return negative error codes on errors, -EIO for incomplete access, and 0 on success. This flags incomplete reads, and simplifies error handling all over the place. Rename local int status to ret for clarity and consistency. Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com> Link: https://patch.msgid.link/ddf90aeb0dae3779d92381f550d95111398e7e02.1789547331.git.jani.nikula@intel.com Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions