igt_kms: optionally return the property from get_property
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Wed, 6 Aug 2014 15:03:57 +0000 (12:03 -0300)
committerPaulo Zanoni <paulo.r.zanoni@intel.com>
Thu, 7 Aug 2014 18:41:55 +0000 (15:41 -0300)
commit053c10432254d2d58c33346f0ef08f024c3781ce
tree75ceb43c1a57037cb931881484b06050391b8dce
parent18d8ea7fe451ee73606d82b060f02e06fae16fc2
igt_kms: optionally return the property from get_property

So we can use this function on places that also need the property
pointer, without having to call drmModeGetProperty() again with the
returned id.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
lib/igt_kms.c