]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita464a6a7c2ffddf181e80cc8a47585f3c375b979
treee6c3287bee5fec51e3deb8b905c156926c6a8985
parent60ade5345507d8f1b7d65720e2f19933f59b0768
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