Re: [PATCH] drm/amd/display: Use proper abm/backlight functions for DCN3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jul 27, 2020 at 11:22 AM Bhawanpreet Lakha
<Bhawanpreet.Lakha@xxxxxxx> wrote:
>
> Use DCN21 functions instead of DCE110
>
> Signed-off-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@xxxxxxx>

Acked-by: Alex Deucher <alexander.deucher@xxxxxxx>

> ---
>  drivers/gpu/drm/amd/display/dc/dcn30/dcn30_init.c | 5 +++--
>  1 file changed, 3 insertions(+), 2 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 1b354c219d0a..9afee7160490 100644
> --- a/drivers/gpu/drm/amd/display/dc/dcn30/dcn30_init.c
> +++ b/drivers/gpu/drm/amd/display/dc/dcn30/dcn30_init.c
> @@ -26,6 +26,7 @@
>  #include "dce110/dce110_hw_sequencer.h"
>  #include "dcn10/dcn10_hw_sequencer.h"
>  #include "dcn20/dcn20_hwseq.h"
> +#include "dcn21/dcn21_hwseq.h"
>  #include "dcn30_hwseq.h"
>
>  static const struct hw_sequencer_funcs dcn30_funcs = {
> @@ -87,8 +88,8 @@ static const struct hw_sequencer_funcs dcn30_funcs = {
>         .set_flip_control_gsl = dcn20_set_flip_control_gsl,
>         .get_vupdate_offset_from_vsync = dcn10_get_vupdate_offset_from_vsync,
>         .apply_idle_power_optimizations = dcn30_apply_idle_power_optimizations,
> -       .set_backlight_level = dce110_set_backlight_level,
> -       .set_abm_immediate_disable = dce110_set_abm_immediate_disable,
> +       .set_backlight_level = dcn21_set_backlight_level,
> +       .set_abm_immediate_disable = dcn21_set_abm_immediate_disable,
>  };
>
>  static const struct hwseq_private_funcs dcn30_private_funcs = {
> --
> 2.17.1
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx@xxxxxxxxxxxxxxxxxxxxx
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
amd-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/amd-gfx



[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux