[PATCH 1/2] compositor-drm: Cache the DPMS property on drm_output

Rob Bradford robert.bradford at intel.com
Tue Jun 4 08:05:29 PDT 2013


On Tue, Jun 04, 2013 at 04:24:04PM +0300, Ander Conselvan de Oliveira wrote:
> From: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira at intel.com>
> 
> This avoids one drmModeGetConnector() call every time the DPMS mode is
> set. That call can take hundreds of milliseconds due to DDC.
> ---
>  src/compositor-drm.c |   21 +++++++--------------
>  1 file changed, 7 insertions(+), 14 deletions(-)

I like this patch and I think it solves the problem well. Of course when
we have kernel EDID caching drmModeGetConnector() should not be such a
problem...

Rob


More information about the wayland-devel mailing list