aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c
diff options
context:
space:
mode:
authorErik Rosen <[email protected]>2021-06-09 11:32:06 +0200
committerGuenter Roeck <[email protected]>2021-06-17 04:21:46 -0700
commite8e00c83a268d5b7d2f5bd490c2269c1ede76a07 (patch)
tree77b6dfb7157089a0dd7499a3e15d1ad9e8e5a95d /drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c
parentdbc0860f7a3d43604c380822a456d26ef6f70a06 (diff)
hwmon: (pmbus) Add support for reading direct mode coefficients
Add support for reading and decoding direct format coefficients to the PMBus core driver. If the new flag PMBUS_USE_COEFFICIENTS_CMD is set, the driver will use the COEFFICIENTS register together with the information in the pmbus_sensor_attr structs to initialize relevant coefficients for the direct mode format. Signed-off-by: Erik Rosen <[email protected]> [groeck: Initialize ret with -EINVAL in pmbus_init_coefficients()] Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c')
0 files changed, 0 insertions, 0 deletions