[Intel-gfx] [PATCH v2] drm: Add timestamp of last modification to GETCONNECTOR ioctl

Chris Wilson chris at chris-wilson.co.uk
Fri Oct 28 11:32:19 UTC 2016


On Fri, Oct 28, 2016 at 12:26:24PM +0100, Chris Wilson wrote:
> After hotplug notification, userspace has to reprobe all connectors to
> detect any changes. This can be expensive (some outputs may require time
> consuming load detection, some outputs may simply be slow to respond)
> and not all outputs need to be checked everytime. The kernel is usually
> in a very good position to know which outputs need to be reprobed (since
> it has just responded to the hardware notification) and can convey this
> information to userspace by tracking the timestamp of the last connector
> change onto the GETCONNECTOR query.

Interesting, but not the right patch! :)
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list