aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
diff options
context:
space:
mode:
authorAradhya Bhatia <[email protected]>2025-05-16 12:43:55 +0000
committerThomas Hellström <[email protected]>2025-05-23 07:41:06 +0000
commit879ede53958f7bab79a88888f77e0ca91f0f77da (patch)
tree8b6e87bb9789490740747e507dc3e78ae85380b0 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
parentdrm/xe/guc: Make creation of SLPC debugfs files conditional (diff)
downloadkernel-879ede53958f7bab79a88888f77e0ca91f0f77da.tar.gz
kernel-879ede53958f7bab79a88888f77e0ca91f0f77da.zip
drm/xe: Default auto_link_downgrade status to false
xe_pcode_read() can return back successfully without updating the variable 'val'. This can cause an arbitrary value to show up in the sysfs file. Allow the auto_link_downgrade_status to default to 0 to avoid any arbitrary value from coming up. Fixes: 0e414bf7ad01 ("drm/xe: Expose PCIe link downgrade attributes") Reviewed-by: Tejas Upadhyay <[email protected]> Signed-off-by: Aradhya Bhatia <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Matt Roper <[email protected]> (cherry picked from commit a7f87deac2295d11865048bcb9c2de369b52ed93) Signed-off-by: Thomas Hellström <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions