diff options
author | Hamza Mahfooz <hamza.mahfooz@amd.com> | 2023-01-20 12:22:21 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-01-24 12:24:56 -0500 |
commit | 31769ce9542de804f2cb7c6b9ef1c480345230f1 (patch) | |
tree | bdbb3c8725da4be8231e63d8fc8009c821e0270f /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | |
parent | a462ef872fd1e83ebd075cf82d91f111acaa629e (diff) |
drm/amd/display: use a more appropriate return value in dp_retrieve_lttpr_cap()
Not all ASICs support LTTPR, however if they don't it doesn't mean that
we have encountered unexpected behaviour. So, use DC_NOT_SUPPORTED
instead of DC_ERROR_UNEXPECTED.
Reviewed-by: Wenjing Liu <wenjing.liu@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c')
0 files changed, 0 insertions, 0 deletions