drm/amd/display: register edp_backlight_control() for DCN301
authorjsg <jsg@openbsd.org>
Wed, 13 Sep 2023 13:04:19 +0000 (13:04 +0000)
committerjsg <jsg@openbsd.org>
Wed, 13 Sep 2023 13:04:19 +0000 (13:04 +0000)
From Hamza Mahfooz
9a9b8596c3dce99a0bac3951ed257e87f30d0445 in linux-6.1.y/6.1.53
1611917f39bee1abfc01501238db8ac19649042d in mainline linux

sys/dev/pci/drm/amd/display/dc/dcn301/dcn301_init.c

index 6192851..51265a8 100644 (file)
@@ -75,6 +75,7 @@ static const struct hw_sequencer_funcs dcn301_funcs = {
        .get_hw_state = dcn10_get_hw_state,
        .clear_status_bits = dcn10_clear_status_bits,
        .wait_for_mpcc_disconnect = dcn10_wait_for_mpcc_disconnect,
+       .edp_backlight_control = dce110_edp_backlight_control,
        .edp_power_control = dce110_edp_power_control,
        .edp_wait_for_hpd_ready = dce110_edp_wait_for_hpd_ready,
        .set_cursor_position = dcn10_set_cursor_position,