diff options
| author | Luben Tuikov <[email protected]> | 2021-01-27 22:09:52 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2021-07-01 04:24:40 +0000 |
| commit | 746b584762e45206279a5f6b3e4d475f8db245a0 (patch) | |
| tree | 8cdd72921847c6661b80209bb4111de70a089556 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | |
| parent | drm/amdgpu: Fix Vega20 I2C to be agnostic (v2) (diff) | |
| download | kernel-746b584762e45206279a5f6b3e4d475f8db245a0.tar.gz kernel-746b584762e45206279a5f6b3e4d475f8db245a0.zip | |
drm/amdgpu: Fixes to the AMDGPU EEPROM driver
* When reading from the EEPROM device, there is no
device limitation on the number of bytes
read--they're simply sequenced out. Thus, read
the whole data requested in one go.
* When writing to the EEPROM device, there is a
256-byte page limit to write to before having to
generate a STOP on the bus, as well as the
address written to mustn't cross over the page
boundary (it actually rolls over). Maximize the
data written to per bus acquisition.
* Return the number of bytes read/written, or -errno.
* Add kernel doc.
Cc: Jean Delvare <[email protected]>
Cc: Alexander Deucher <[email protected]>
Cc: Andrey Grodzovsky <[email protected]>
Cc: Lijo Lazar <[email protected]>
Cc: Stanley Yang <[email protected]>
Cc: Hawking Zhang <[email protected]>
Signed-off-by: Luben Tuikov <[email protected]>
Acked-by: Alexander Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions
