diff options
author | Joshua Aberback <joshua.aberback@amd.com> | 2019-03-26 15:04:31 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-06-22 09:34:09 -0500 |
commit | 2e2e73fc632d34b0cec612dc5df0ba64cc98df9a (patch) | |
tree | 9905ac79b94f82655741515f582b54c40c71f174 /drivers/gpu/drm/amd/display/dc/dc_dsc.h | |
parent | 0ba37b20ef1c587a24f0f8060f32a4d56f4d65df (diff) | |
download | linux-stable-2e2e73fc632d34b0cec612dc5df0ba64cc98df9a.tar.gz linux-stable-2e2e73fc632d34b0cec612dc5df0ba64cc98df9a.tar.bz2 linux-stable-2e2e73fc632d34b0cec612dc5df0ba64cc98df9a.zip |
drm/amd/display: Remove dependency on pipe->plane for immedaite flip status
[Why]
dcn20_apply_ctx_for_surface can be called with 0 planes, which means we
should blank the display. In this case when we get down to
dcn20_setup_gsl_group_as_lock, pipe_ctx->plane_state is NULL, but we don't
check for it. However, this function is only called by
dcn20_pipe_control_lock, and in that function we alraedy have a local for
the immediate flip status, which is what we care about in the plane state.
[How]
- pass in immediate flip status as parameter
Signed-off-by: Joshua Aberback <joshua.aberback@amd.com>
Reviewed-by: Krunoslav Kovac <Krunoslav.Kovac@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dc_dsc.h')
0 files changed, 0 insertions, 0 deletions