diff options
author | Simon Ser <[email protected]> | 2022-08-01 13:38:02 +0000 |
---|---|---|
committer | Simon Ser <[email protected]> | 2022-09-05 12:59:53 +0200 |
commit | 981f09295687f856d5345e19c7084aca481c1395 (patch) | |
tree | a8ba36ef5a45b04eee3d073884a411ebe656fd36 /lib/mpi/mpiutil.c | |
parent | e71a8ebbe086c3d80189726ef46bcf718cbe194d (diff) |
drm: hide unregistered connectors from GETCONNECTOR IOCTL
When registering a connector, the kernel sends a hotplug uevent in
drm_connector_register(). When unregistering a connector, drivers
are expected to send a uevent as well. However, user-space has no way
to figure out that the connector isn't registered anymore: it'll still
be reported in GETCONNECTOR IOCTLs.
The documentation for DRM_CONNECTOR_UNREGISTERED states:
> The connector […] has since been unregistered and removed from
> userspace, or the connector was unregistered before it had a chance
> to be exposed to userspace
Signed-off-by: Simon Ser <[email protected]>
Cc: Daniel Vetter <[email protected]>
Cc: Ville Syrjälä <[email protected]>
Cc: Jani Nikula <[email protected]>
Reviewed-by: Lyude Paul <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions