mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 10:00:17 +00:00
drm/amd/display: Disable fastboot on DCE 6 too
[ Upstream commit 7495962cbc ]
It already didn't work on DCE 8,
so there is no reason to assume it would on DCE 6.
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Rodrigo Siqueira <siqueira@igalia.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
ac486718d6
commit
5ee434b551
@@ -1923,10 +1923,8 @@ void dce110_enable_accelerated_mode(struct dc *dc, struct dc_state *context)
|
|||||||
|
|
||||||
get_edp_streams(context, edp_streams, &edp_stream_num);
|
get_edp_streams(context, edp_streams, &edp_stream_num);
|
||||||
|
|
||||||
// Check fastboot support, disable on DCE8 because of blank screens
|
/* Check fastboot support, disable on DCE 6-8 because of blank screens */
|
||||||
if (edp_num && edp_stream_num && dc->ctx->dce_version != DCE_VERSION_8_0 &&
|
if (edp_num && edp_stream_num && dc->ctx->dce_version < DCE_VERSION_10_0) {
|
||||||
dc->ctx->dce_version != DCE_VERSION_8_1 &&
|
|
||||||
dc->ctx->dce_version != DCE_VERSION_8_3) {
|
|
||||||
for (i = 0; i < edp_num; i++) {
|
for (i = 0; i < edp_num; i++) {
|
||||||
edp_link = edp_links[i];
|
edp_link = edp_links[i];
|
||||||
if (edp_link != edp_streams[0]->link)
|
if (edp_link != edp_streams[0]->link)
|
||||||
|
|||||||
Reference in New Issue
Block a user