DRM IOCTLS come regularly(every minute) still even after screen off

Quan, Evan Evan.Quan at amd.com
Thu Sep 16 03:15:51 UTC 2021


[AMD Official Use Only]

Hi Michel,

After the system idle for a while, the screen will be off(blank out) and AMD GPU will be put into a very low power state(BACO) due to runpm.
However, I found there will be still DRM IOCTLS(which I paste below) coming regularly.
And those IOCTLS(especially those for AMDGPU) will wake and back our GPU into normal state.
To me, that's a little weird as the system was just left there for nothing. I do not know what and why these DRM IOCTLs come for.
Per Alex, it seems "desktop environments poll for display updates at regular intervals". Do you also think so? Or any other insights?

[68528.542455] [drm] comm="gnome-shel:cs0" pid=1306, dev=0xe281, auth=1, AMDGPU_CS
[68531.186534] [drm] comm="Xorg" pid=1035, dev=0xe201, auth=1, DRM_IOCTL_MODE_GETCONNECTOR
[68531.197027] [drm] comm="Xorg" pid=1035, dev=0xe201, auth=1, DRM_IOCTL_MODE_GETCONNECTOR
[68531.205649] [drm] comm="Xorg" pid=1035, dev=0xe201, auth=1, DRM_IOCTL_MODE_GETCONNECTOR
[68531.216308] [drm] comm="Xorg" pid=1035, dev=0xe201, auth=1, DRM_IOCTL_MODE_GETCONNECTOR
[68531.224912] [drm] comm="Xorg" pid=1035, dev=0xe201, auth=1, DRM_IOCTL_MODE_GETCONNECTOR
[68531.233533] [drm] comm="Xorg" pid=1035, dev=0xe201, auth=1, DRM_IOCTL_MODE_GETCONNECTOR
[68531.242097] [drm] comm="Xorg" pid=1035, dev=0xe201, auth=1, DRM_IOCTL_MODE_GETCONNECTOR
[68531.250631] [drm] comm="Xorg" pid=1035, dev=0xe201, auth=1, DRM_IOCTL_MODE_GETCONNECTOR
[68531.259269] [drm] comm="Xorg" pid=1035, dev=0xe201, auth=1, DRM_IOCTL_MODE_GETCONNECTOR
[68531.267788] [drm] comm="Xorg" pid=1035, dev=0xe201, auth=1, DRM_IOCTL_MODE_GETCONNECTOR
[68531.276401] [drm] comm="Xorg" pid=1035, dev=0xe201, auth=1, DRM_IOCTL_MODE_GETCONNECTOR
[68531.284942] [drm] comm="Xorg" pid=1035, dev=0xe201, auth=1, DRM_IOCTL_MODE_GETCONNECTOR
[68531.293477] [drm] comm="Xorg" pid=1035, dev=0xe201, auth=1, DRM_IOCTL_MODE_GETRESOURCES
[68531.302091] [drm] comm="Xorg" pid=1035, dev=0xe201, auth=1, DRM_IOCTL_MODE_GETRESOURCES
[68531.310689] [drm] comm="Xorg" pid=1035, dev=0xe201, auth=1, DRM_IOCTL_MODE_LIST_LESSEES
[68531.319346] [drm] comm="Xorg" pid=1035, dev=0xe201, auth=1, DRM_IOCTL_MODE_LIST_LESSEES
[68531.327880] [drm] comm="Xorg" pid=1035, dev=0xe201, auth=1, DRM_IOCTL_MODE_GETCONNECTOR
[68531.336495] [drm] comm="Xorg" pid=1035, dev=0xe201, auth=1, DRM_IOCTL_MODE_GETCONNECTOR
[68531.344985] [drm] comm="Xorg" pid=1035, dev=0xe201, auth=1, DRM_IOCTL_MODE_GETCONNECTOR
[68531.355652] [drm] comm="Xorg" pid=1035, dev=0xe201, auth=1, DRM_IOCTL_MODE_GETCONNECTOR
[68531.364217] [drm] comm="Xorg" pid=1035, dev=0xe201, auth=1, DRM_IOCTL_MODE_GETPROPERTY
[68531.372657] [drm] comm="Xorg" pid=1035, dev=0xe201, auth=1, DRM_IOCTL_MODE_GETPROPERTY
[68531.381089] [drm] comm="Xorg" pid=1035, dev=0xe201, auth=1, DRM_IOCTL_MODE_GETPROPBLOB
[68531.389519] [drm] comm="Xorg" pid=1035, dev=0xe201, auth=1, DRM_IOCTL_MODE_GETPROPBLOB
[68531.398702] [drm] comm="Xorg" pid=1035, dev=0xe201, auth=1, DRM_IOCTL_MODE_GETPROPERTY
[68531.407148] [drm] comm="Xorg" pid=1035, dev=0xe201, auth=1, DRM_IOCTL_MODE_GETPROPERTY
[68531.415572] [drm] comm="Xorg" pid=1035, dev=0xe201, auth=1, DRM_IOCTL_MODE_GETPROPERTY
[68531.424147] [drm] comm="Xorg" pid=1035, dev=0xe201, auth=1, DRM_IOCTL_MODE_GETPROPERTY
[68531.432682] [drm] comm="Xorg" pid=1035, dev=0xe201, auth=1, DRM_IOCTL_MODE_GETPROPERTY
[68531.441192] [drm] comm="Xorg" pid=1035, dev=0xe201, auth=1, DRM_IOCTL_MODE_GETPROPERTY
[68531.449754] [drm] comm="Xorg" pid=1035, dev=0xe201, auth=1, DRM_IOCTL_MODE_GETPROPERTY
[68531.458232] [drm] comm="Xorg" pid=1035, dev=0xe201, auth=1, DRM_IOCTL_MODE_GETPROPERTY
[68531.466723] [drm] comm="Xorg" pid=1035, dev=0xe201, auth=1, DRM_IOCTL_MODE_GETPROPERTY
[68531.475140] [drm] comm="Xorg" pid=1035, dev=0xe201, auth=1, DRM_IOCTL_MODE_GETPROPERTY
[68531.483608] [drm] comm="Xorg" pid=1035, dev=0xe201, auth=1, DRM_IOCTL_MODE_GETPROPBLOB
[68531.492056] [drm] comm="Xorg" pid=1035, dev=0xe201, auth=1, DRM_IOCTL_MODE_GETPROPERTY
[68531.500520] [drm] comm="Xorg" pid=1035, dev=0xe201, auth=1, DRM_IOCTL_MODE_GETPROPERTY
[68531.508919] [drm] comm="Xorg" pid=1035, dev=0xe201, auth=1, DRM_IOCTL_MODE_GETPROPERTY
[68531.517270] [drm] comm="Xorg" pid=1035, dev=0xe201, auth=1, DRM_IOCTL_MODE_GETPROPERTY
[68531.525752] [drm] comm="Xorg" pid=1035, dev=0xe201, auth=1, DRM_IOCTL_MODE_GETPROPERTY
[68531.534235] [drm] comm="Xorg" pid=1035, dev=0xe201, auth=1, DRM_IOCTL_MODE_GETPROPERTY
[68531.542665] [drm] comm="Xorg" pid=1035, dev=0xe201, auth=1, DRM_IOCTL_MODE_GETPROPERTY
[68531.551169] [drm] comm="Xorg" pid=1035, dev=0xe201, auth=1, DRM_IOCTL_MODE_GETPROPERTY
[68531.559684] [drm] comm="Xorg" pid=1035, dev=0xe201, auth=1, DRM_IOCTL_MODE_GETPROPERTY
[68531.568152] [drm] comm="Xorg" pid=1035, dev=0xe201, auth=1, DRM_IOCTL_MODE_GETPROPERTY
[68531.576624] [drm] comm="Xorg" pid=1035, dev=0xe201, auth=1, DRM_IOCTL_MODE_GETPROPERTY
[68531.585143] [drm] comm="Xorg" pid=1035, dev=0xe201, auth=1, DRM_IOCTL_MODE_GETPROPERTY
[68531.593620] [drm] comm="Xorg" pid=1035, dev=0xe201, auth=1, DRM_IOCTL_MODE_GETPROPERTY
[68531.602075] [drm] comm="Xorg" pid=1035, dev=0xe201, auth=1, DRM_IOCTL_MODE_GETPROPERTY
[68531.610515] [drm] comm="Xorg" pid=1035, dev=0xe201, auth=1, DRM_IOCTL_MODE_GETPROPERTY
[68531.618989] [drm] comm="Xorg" pid=1035, dev=0xe201, auth=1, DRM_IOCTL_MODE_GETPROPERTY
[68531.627481] [drm] comm="Xorg" pid=1035, dev=0xe201, auth=1, DRM_IOCTL_MODE_GETCONNECTOR
[68531.636060] [drm] comm="Xorg" pid=1035, dev=0xe201, auth=1, DRM_IOCTL_MODE_GETCONNECTOR
[68531.644614] [drm] comm="Xorg" pid=1035, dev=0xe201, auth=1, DRM_IOCTL_MODE_GETCONNECTOR
[68531.653131] [drm] comm="Xorg" pid=1035, dev=0xe201, auth=1, DRM_IOCTL_MODE_GETCONNECTOR
[68531.661702] [drm] comm="Xorg" pid=1035, dev=0xe201, auth=1, DRM_IOCTL_MODE_GETCONNECTOR
[68531.670250] [drm] comm="Xorg" pid=1035, dev=0xe201, auth=1, DRM_IOCTL_MODE_GETCONNECTOR
[68531.678805] [drm] comm="Xorg" pid=1035, dev=0xe201, auth=1, DRM_IOCTL_MODE_GETCONNECTOR
[68531.687356] [drm] comm="Xorg" pid=1035, dev=0xe201, auth=1, DRM_IOCTL_MODE_GETCONNECTOR
[68531.695931] [drm] comm="Xorg" pid=1035, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETCONNECTOR
[68531.704526] [drm] comm="Xorg" pid=1035, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETCONNECTOR
[68531.713078] [drm] comm="Xorg" pid=1035, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETCONNECTOR
[68531.731981] [drm] comm="Xorg" pid=1035, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETCONNECTOR
[68531.740552] [drm] comm="Xorg" pid=1035, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETCONNECTOR
[68531.759552] [drm] comm="Xorg" pid=1035, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETCONNECTOR
[68531.768152] [drm] comm="Xorg" pid=1035, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETRESOURCES
[68531.776663] [drm] comm="Xorg" pid=1035, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETRESOURCES
[68531.785214] [drm] comm="Xorg" pid=1035, dev=0xe200, auth=1, DRM_IOCTL_MODE_LIST_LESSEES
[68531.793774] [drm] comm="Xorg" pid=1035, dev=0xe200, auth=1, DRM_IOCTL_MODE_LIST_LESSEES
[68531.802380] [drm] comm="Xorg" pid=1035, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETCONNECTOR
[68531.810882] [drm] comm="Xorg" pid=1035, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETCONNECTOR
[68531.819460] [drm] comm="Xorg" pid=1035, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETCONNECTOR
[68531.838377] [drm] comm="Xorg" pid=1035, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETCONNECTOR
[68531.847004] [drm] comm="Xorg" pid=1035, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETCONNECTOR
[68531.866051] [drm] comm="Xorg" pid=1035, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETCONNECTOR
[68531.874725] [drm] comm="Xorg:cs0" pid=1133, dev=0xe201, auth=1, AMDGPU_CS


BR
Evan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20210916/a4d8dfa4/attachment-0001.htm>


More information about the amd-gfx mailing list