<div dir="ltr">I was doing some debugging and found that /sys/kernel/debug/dri/0/state doesn't get created for amdgpu. After a bit of digging around I found that the DRIVER_ATOMIC feature flag gets set in dm_early_init in amdgpu_dm.c, which is run after drm_debugfs_init where the atomic debugfs files would have been created.<div><br></div><div>I tried moving DRIVER_ATOMIC to the rest of the kms_driver.driver_feature flags in amdgpu_drv.c, and this allowed the debugfs to get created as expected. Nothing seemed terribly broken, but I didn't test thoroughly.</div><div><br></div><div>Is there any reason not to move DRIVER_ATOMIC to the rest of the feature flags? Thanks.</div></div>