drm/amd/display: Only program surface flip for video plane via dmcub
authorYongqiang Sun <yongqiang.sun@amd.com>
Wed, 18 Dec 2019 20:01:17 +0000 (15:01 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 16 Jan 2020 19:16:33 +0000 (14:16 -0500)
commitbae9c49bf0703ecb214e84f889e84fe447e4eda9
tree4c836ac7e81457657da6f8ea91104e1a5978efcd
parent9f21f3792ffb669623cbad8b084f75aa49c98786
drm/amd/display: Only program surface flip for video plane via dmcub

Only need to do surface flip for video plane via dmcub.

Signed-off-by: Yongqiang Sun <yongqiang.sun@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn21/dcn21_hubp.c
drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h
drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h