aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c
diff options
context:
space:
mode:
authorMario Limonciello <[email protected]>2023-09-30 03:12:18 +0000
committerAlex Deucher <[email protected]>2023-10-04 22:39:39 +0000
commit7752ccf85b929a22e658ec145283e8f31232f4bb (patch)
tree4aecc478e0afcf90e1bf0183b9ff0e22f9e88627 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c
parentdrm/amd/display: Bail from dm_check_crtc_cursor if no relevant change (diff)
downloadkernel-7752ccf85b929a22e658ec145283e8f31232f4bb.tar.gz
kernel-7752ccf85b929a22e658ec145283e8f31232f4bb.zip
drm/amd: Update `update_pcie_parameters` functions to use uint8_t arguments
The matching values for `pcie_gen_cap` and `pcie_width_cap` when fetched from powerplay tables are 1 byte, so narrow the arguments to match to ensure min() and max() comparisons without casts. Signed-off-by: Mario Limonciello <[email protected]> Acked-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c')
0 files changed, 0 insertions, 0 deletions