drm/kms: log when querying an object not included in lease
authorSimon Ser <contact@emersion.fr>
Fri, 23 Jun 2023 14:35:18 +0000 (14:35 +0000)
committerSimon Ser <contact@emersion.fr>
Fri, 23 Jun 2023 14:38:00 +0000 (16:38 +0200)
commit76afcf5bce4a3d0c2b9c74f9c8a3c82c05317801
tree18268166dff642279ee17160d2c8c420741ac854
parent83115e1aa6ff289caa883bb08fe9e0e1ce16b6c9
drm/kms: log when querying an object not included in lease

User-space may query an existing object not included in a lease.
Make it easier to debug such situations by logging a debug message.

Signed-off-by: Simon Ser <contact@emersion.fr>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20230623143514.38707-1-contact@emersion.fr
drivers/gpu/drm/drm_mode_object.c