]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/amd/display: Move update_plane_addr to apply_ctx_for_surface for dce.
authorYongqiang Sun <yongqiang.sun@amd.com>
Thu, 9 Nov 2017 18:55:46 +0000 (13:55 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Dec 2017 17:48:07 +0000 (12:48 -0500)
commit4f804817d5cfb4bd1abf59a29721446af4b4cfd4
tree9c437ec1b8b19da385de6077cd99b5c0227c188e
parentafbeb2638b0a983100a5e6591bd1b76ef45bf20c
drm/amd/display: Move update_plane_addr to apply_ctx_for_surface for dce.

Move update_plane_addr to apply_ctx_for_surface, address update will
just be called once, not twice for updat type is full and medium.
This will reduce some reg access and duration time.

Signed-off-by: Yongqiang Sun <yongqiang.sun@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c
drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c