mirror of
https://github.com/torvalds/linux.git
synced 2026-05-27 00:22:00 +02:00
drm/amd/display: Don't offload flip if not only address update
[WHAT & HOW] Fast updates can consist of some stream updates as well (i.e., out_csc). In these cases we should not offload the flip to FW as we can only offload address only updates to FW. Reviewed-by: Chris Park <chris.park@amd.com> Acked-by: Alex Hung <alex.hung@amd.com> Signed-off-by: Alvin Lee <alvin.lee2@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
4eaf110f97
commit
1dd50e634c
|
|
@ -3664,6 +3664,10 @@ static void commit_planes_for_stream_fast(struct dc *dc,
|
|||
break;
|
||||
}
|
||||
}
|
||||
if (stream_update) {
|
||||
/* more than address update, need to acquire FAMS2 lock */
|
||||
should_offload_fams2_flip = false;
|
||||
}
|
||||
}
|
||||
|
||||
dc_exit_ips_for_hw_access(dc);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user