]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: Add condition for dp_set_dsc_config call
authorIlya Bakoulin <ilya.bakoulin@amd.com>
Tue, 9 Apr 2024 18:04:19 +0000 (14:04 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 30 Apr 2024 13:47:10 +0000 (09:47 -0400)
commitdacb68ca947921e8ce533231d21cb50a3c878179
tree9d994aebe57848e44073e9165752e81c29c12e27
parent771c75ad0bd2bad9bff45cb4b26618f4358fc72b
drm/amd/display: Add condition for dp_set_dsc_config call

Not every ASIC implements dp_set_dsc_config. Add condition to prevent
calls to unimplemented function.

Reviewed-by: Wenjing Liu <wenjing.liu@amd.com>
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Ilya Bakoulin <ilya.bakoulin@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/link/link_dpms.c