]> 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)
commitf581c94177e4c0b022bdf18eb3655008a9a5d83e
treee6c3287bee5fec51e3deb8b905c156926c6a8985
parent46ca634220a68aaf239ffb4ba0e56a7c914585c3
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