diff options
| author | Jani Nikula <jani.nikula@intel.com> | 2026-09-21 12:41:03 +0300 |
|---|---|---|
| committer | Jani Nikula <jani.nikula@intel.com> | 2026-09-22 16:37:38 +0300 |
| commit | 41de7a1888fe1aff94411162dc31fb48b0234619 (patch) | |
| tree | cace3bd61ebee4fcae468acd39bc8ab5b80ec59b /tools/lib/python | |
| parent | b9290ffeb7096a3305891f2af8a4be96a517af59 (diff) | |
drm/i915/hdcp: switch to drm_dp_dpcd_{read_byte, read_data, 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 simplifies error handling all over the place. Convert the error
logging to use %pe and ERR_PTR() while at it.
Add comments to the read/write places that depend on the functions that
return the number of bytes read/written for incomplete access.
v2: return length from get_receiver_id_list_rx_info() (Sashiko)
Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com>
Link: https://patch.msgid.link/20260921094103.701841-1-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
