OSDN Git Service

drm/amd/display: refactor out programming of vupdate interrupt
authorAnthony Koo <Anthony.Koo@amd.com>
Sun, 20 Jan 2019 06:13:42 +0000 (01:13 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Feb 2019 18:30:52 +0000 (13:30 -0500)
commita122b62d8ac484091c536ad04e1d0ea156ae6de7
tree2fd1d2a5ef1b78394585164c497419d7828ba40c
parent68f1a00c23d443c9d940fbd512a195e9e6c08b11
drm/amd/display: refactor out programming of vupdate interrupt

[Why]
More clearly isolate the code that is involved in programming of
vupdate interrupt

[How]
Add function for programming of vupdate interrupt.
Call it after timing is programmed.

Signed-off-by: Anthony Koo <Anthony.Koo@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Acked-by: Tony Cheng <Tony.Cheng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_optc.c
drivers/gpu/drm/amd/display/dc/inc/hw/timing_generator.h