]> Git Repo - linux.git/commit
drm/xe/hwmon: Fix WRITE_I1 param from u32 to u16
authorKarthik Poosa <[email protected]>
Tue, 27 Aug 2024 15:53:01 +0000 (21:23 +0530)
committerRodrigo Vivi <[email protected]>
Wed, 28 Aug 2024 18:59:26 +0000 (14:59 -0400)
commita7f657097e96d8fa745c74bb1a239ebd5a8c971c
tree91043efb7519cdf6970b29eb5bd3aed05a2c9cf3
parentaeb4ae66cb50faddf60be9297d0d5d392aacdd3e
drm/xe/hwmon: Fix WRITE_I1 param from u32 to u16

WRITE_I1 sub-command of the POWER_SETUP pcode command accepts a u16
parameter instead of u32. This change prevents potential illegal
sub-command errors.

v2: Mask uval instead of changing the prototype. (Badal)

v3: Rephrase commit message. (Badal)

Signed-off-by: Karthik Poosa <[email protected]>
Fixes: 92d44a422d0d ("drm/xe/hwmon: Expose card reactive critical power")
Reviewed-by: Badal Nilawar <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Rodrigo Vivi <[email protected]>
drivers/gpu/drm/xe/xe_hwmon.c
This page took 0.055894 seconds and 4 git commands to generate.