drm/modesetting: add initial gettable properites code.
authorDave Airlie <airlied@redhat.com>
Tue, 27 Nov 2007 04:31:02 +0000 (14:31 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 27 Nov 2007 04:31:02 +0000 (14:31 +1000)
commitb3af2b59a77a6916ea7151236d3da9bde6a537fc
tree5d376ad9c6c4727dd7c8fdca4277c56b7d33cb85
parentf9ac54b0319b273de83a004d6cfdf46a3b9d6ced
drm/modesetting: add initial gettable properites code.

This allow the user to retrieve a list of properties for an output.
Properties can either be 32-bit values or an enum with an associated name.
Range properties are to be supported.

This API is probably not all correct, I may make properties part of the general
resource get when I think about it some more.

So basically you can create properties and attached them to whatever outputs you want,
so it should be possible to create some generics and just attach them to every output.
libdrm/xf86drmMode.c
libdrm/xf86drmMode.h
linux-core/drm_crtc.c
linux-core/drm_crtc.h
linux-core/drm_drv.c
shared-core/drm.h
tests/mode/modetest.c