aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c
diff options
context:
space:
mode:
authorWesley Chalmers <[email protected]>2021-05-05 19:17:48 +0000
committerAlex Deucher <[email protected]>2021-06-15 21:25:41 +0000
commit788797c793788415426ef7249ca81c66bbfb9f14 (patch)
tree20b9699e13f4b83bda3ed699ad70bbadddaa05ba /drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c
parentdrm/amd/display: Always write repeater mode regardless of LTTPR (diff)
downloadkernel-788797c793788415426ef7249ca81c66bbfb9f14.tar.gz
kernel-788797c793788415426ef7249ca81c66bbfb9f14.zip
drm/amd/display: Improve logic for is_lttpr_present
[WHY] DP specifies that an LTTPR device is only present if PHY_REPEATER_CNT is 0x80, 0x40, 0x20, 0x10, 0x08, 0x04, 0x02, or 0x01. All other values should be considered no LTTPRs present. [HOW] Function dp_convert_to_count already does this check. Use it to determine if PHY_REPEATER_CNT is a valid LTTPR count. Signed-off-by: Wesley Chalmers <[email protected]> Reviewed-by: Jun Lei <[email protected]> Acked-by: Anson Jacob <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c')
0 files changed, 0 insertions, 0 deletions