diff options
| author | Jani Nikula <jani.nikula@intel.com> | 2026-09-16 11:29:42 +0300 |
|---|---|---|
| committer | Jani Nikula <jani.nikula@intel.com> | 2026-09-22 16:37:41 +0300 |
| commit | b6413a8f75e642bc4e75dcb3c25c7a8b5f451d33 (patch) | |
| tree | d35ee88253bf8db5d624c40db6827cbabb946e58 /tools/lib/python | |
| parent | 3216d9cc254bb03c0bec1084d7bfccff2ecbcc7a (diff) | |
drm/i915/psr: 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 clarifies error handling all over the
place. Use 1-byte accessors where sensible. Rename local int r to ret
for clarity and consistency.
Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com>
Link: https://patch.msgid.link/0a32cfdb64a37e586579a689bd8c3c4944596a31.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
