]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amd/display: add dmcub support check
authorFudongwang <fudong.wang@amd.com>
Mon, 1 Jul 2024 08:47:28 +0000 (16:47 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 23 Jul 2024 21:07:12 +0000 (17:07 -0400)
commit323b19f424486e61784e8797a8bfb2e24585e162
tree8e9083b86283fd37e3b7a0975688ad9664886eca
parent6d64d39486197083497a01b39e23f2f8474b35d3
drm/amd/display: add dmcub support check

[Why & How]
For DCN harvest case, if there is no dmcub support, we should return false
to avoid bugcheck later.

Reviewed-by: Aric Cyr <aric.cyr@amd.com>
Signed-off-by: Jerry Zuo <jerry.zuo@amd.com>
Signed-off-by: Fudongwang <fudong.wang@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/core/dc.c