OSDN Git Service

drm: Move the GET_CAP macros next to the corresponding ioctl structure
authorDamien Lespiau <damien.lespiau@intel.com>
Wed, 25 Sep 2013 15:45:19 +0000 (16:45 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 1 Oct 2013 05:45:25 +0000 (07:45 +0200)
commita99b57dbc09bfff57acd8a7c20f25dfa6cb892a5
tree7353bc16bda90f3acd062bcf0dbe3f90510dc56e
parent662c6ecbcdca1fe8a5402f6c83d98d242917a043
drm: Move the GET_CAP macros next to the corresponding ioctl structure

It's a tiny bit more logical to find the different capabilities you can
use with the GET_CAP ioctl next to the structure rather than putting
them at the end of the file.

v2: Tab align the litterals (David Herrmann)
v3: Make it clearer that DRM_PRIME_CAP_EXPORT/IMPORT are flags of
    DRM_CAP_PRIME.
v4: Rebase on top of latest bits (DRM_CAP_ASYNC_PAGE_FLIP was
    introduced)

Reviewed-by: David Herrmann <dh.herrmann@gmail.com> (for v2)
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Acked-by: Dave Airlie <airlied@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
include/uapi/drm/drm.h