summaryrefslogtreecommitdiff
path: root/intel
diff options
context:
space:
mode:
authorPaulo Zanoni <paulo.r.zanoni@intel.com>2012-04-21 17:51:53 -0300
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-05-03 13:32:02 +0200
commitd72a44c7c4f5eea9c1e5bb0c36cb9e0224b9ca22 (patch)
tree09caa4cd9643019e14429e470ea8d6b3cfcce609 /intel
parent0ef7644fe5161d3b50f9550ebbf8cbbabd51706f (diff)
modetest: print more about our properties
In the future we'll have more than just connector properties, so create a dump_prop function that can handle any property (instead of the current dump_props function that only handles connector properties). Also, make this function print a lot more information about the existing properties. Also change the printed indentation of the modes to make the output more readable. The previous function dump_props also segfaulted when we didn't have enought permissions. The new function does not segfault in this case (by checking for the return value of drmModeGetProperty). Reviewed-by: Eugeni Dodonov <eugeni.dodonov@intel.com> Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'intel')
0 files changed, 0 insertions, 0 deletions