error: ‘DPMSModeOn’ undeclared
When trying to build against xorg-server-devel git master (xorg/xserver@65673b02), an error will occur.
CC amdgpu_kms.lo
In file included from amdgpu_drv.h:78,
from amdgpu_dri3.c:29:
drmmode_display.h: In function ‘drmmode_crtc_can_flip’:
drmmode_display.h:198:30: error: ‘DPMSModeOn’ undeclared (first use in this function); did you mean ‘DMTModes’?
198 | drmmode_crtc->dpms_mode == DPMSModeOn &&
| ^~~~~~~~~~
| DMTModes
I attached the log file. xf86-video-amdgpu-nosystemd-git-19.1.0.23-1-x86_64-build.log