]> git.baikalelectronics.ru Git - kernel.git/commit
drm: Add a SET_CLIENT_CAP ioctl
authorDamien Lespiau <damien.lespiau@intel.com>
Wed, 25 Sep 2013 15:45:20 +0000 (16:45 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 1 Oct 2013 05:45:26 +0000 (07:45 +0200)
commit182b98316bc8100396bc41e19527f468d1cea2cc
tree4c74029367bb8908bb7efe9bd23b7731f27244ee
parent443ebeccbfc74efcccc3cb97fe6fa300456192e4
drm: Add a SET_CLIENT_CAP ioctl

This ioctl can be used to turn some knobs in a DRM driver. The client
can ask the DRM core for an alternate view of the reality: it can be
useful to be able to instruct the core that the DRM client can handle
new functionnality that would otherwise break current ABI.

v2: Rename to ioctl from SET_CAP to SET_CLIENT_CAP (Chris Wilson)

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
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>
drivers/gpu/drm/drm_drv.c
drivers/gpu/drm/drm_ioctl.c
include/drm/drmP.h
include/uapi/drm/drm.h