drm: add extended property types
authorRob Clark <robdclark@gmail.com>
Fri, 30 May 2014 15:34:01 +0000 (11:34 -0400)
committerDave Airlie <airlied@redhat.com>
Wed, 4 Jun 2014 03:22:53 +0000 (13:22 +1000)
commit5ea22f24d77b511d68c4ecaf4e6fd5d6ab462b8f
treee6c3287bee5fec51e3deb8b905c156926c6a8985
parenta2b34e226ac9fbd20179091fad0ee1a24ad48669
drm: add extended property types

If we continue to use bitmask for type, we will quickly run out of room
to add new types.  Split this up so existing part of bitmask range
continues to function as before, but reserve a chunk of the remaining
space for an integer type-id.  Wrap this all up in some type-check
helpers to keep the backwards-compat uglyness contained.

Signed-off-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_crtc.c
include/drm/drm_crtc.h
include/uapi/drm/drm_mode.h