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. 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. Is there any reason not to move DRIVER_ATOMIC to the rest of the feature flags? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20180122/538a50e5/attachment.html>