CVSROOT:        /cvs
Module name:    src
Changes by:     j...@cvs.openbsd.org    2024/03/25 05:37:18

Modified files:
        sys/dev/pci/drm/amd/amdgpu: amdgpu_drv.c 

Log message:
fix xbacklight on amdgpu

Call amdgpu_init_backlight() after drm_dev_register() otherwise
the connector isn't registered yet and dm->backlight_dev is not set.

tb@ mentioned this broke with the 6.6 drm update and confirmed this fixes it.
Debugged with help from dtucker@ on another machine.

Reply via email to