compositor-drm: Cache the DPMS property on drm_output
authorAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Tue, 4 Jun 2013 13:24:04 +0000 (16:24 +0300)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 5 Jun 2013 04:01:30 +0000 (00:01 -0400)
commita0a433a223be3e3b526485475cf43b4f9e9ca548
tree5501c075a453f0f1f0e7e043c19ba6b43d4a48fb
parenta94e285be7b6679ac0d02ea0b0f94e1ee2ae776d
compositor-drm: Cache the DPMS property on drm_output

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