diff options
author | Bhawanpreet Lakha <[email protected]> | 2020-10-05 14:07:02 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2020-10-12 13:57:26 -0400 |
commit | 5faf37e7d38c1fcdc4b6504fb1347154287cdd3a (patch) | |
tree | 12c0ec298c8bbf0710a4d36d394a2d1b7a0b1d23 | |
parent | 73e34336270476a7ea0bf1f3d403e997a8a0aaee (diff) |
drm/amd/display: Add missing function pointers for dcn3
These function pointers are missing from dcn30_init
.calc_vupdate_position : Used to help avoid cursor stuttering
.set_pipe : Needed for setting ABM
So add them
Signed-off-by: Bhawanpreet Lakha <[email protected]>
Reviewed-by: Nicholas Kazlauskas <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/dcn30/dcn30_init.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dcn30/dcn30_init.c b/drivers/gpu/drm/amd/display/dc/dcn30/dcn30_init.c index ae7a789bf6e6..ba247571fed1 100644 --- a/drivers/gpu/drm/amd/display/dc/dcn30/dcn30_init.c +++ b/drivers/gpu/drm/amd/display/dc/dcn30/dcn30_init.c @@ -90,10 +90,12 @@ static const struct hw_sequencer_funcs dcn30_funcs = { .init_vm_ctx = dcn20_init_vm_ctx, .set_flip_control_gsl = dcn20_set_flip_control_gsl, .get_vupdate_offset_from_vsync = dcn10_get_vupdate_offset_from_vsync, + .calc_vupdate_position = dcn10_calc_vupdate_position, .apply_idle_power_optimizations = dcn30_apply_idle_power_optimizations, .set_backlight_level = dcn21_set_backlight_level, .set_abm_immediate_disable = dcn21_set_abm_immediate_disable, .hardware_release = dcn30_hardware_release, + .set_pipe = dcn21_set_pipe, }; static const struct hwseq_private_funcs dcn30_private_funcs = { |