diff options
author | Kristian H�gsberg <krh@redhat.com> | 2008-12-18 13:14:37 +1000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2008-12-29 17:47:25 +1000 |
commit | 0c7c26647579e9e647e8b969bb0e7b3f5f1a1492 (patch) | |
tree | 741cd9680ce6a98def2e64f923efb713dae8908b /include/drm/drm.h | |
parent | e0c8463a8b00b467611607df0ff369d062528875 (diff) | |
download | kernel_goldelico_gta04-0c7c26647579e9e647e8b969bb0e7b3f5f1a1492.zip kernel_goldelico_gta04-0c7c26647579e9e647e8b969bb0e7b3f5f1a1492.tar.gz kernel_goldelico_gta04-0c7c26647579e9e647e8b969bb0e7b3f5f1a1492.tar.bz2 |
drm: drop DRM_IOCTL_MODE_REPLACEFB, add+remove works just as well.
The replace fb ioctl replaces the backing buffer object for a modesetting
framebuffer object. This can be acheived by just creating a new
framebuffer backed by the new buffer object, setting that for the crtcs
in question and then removing the old framebuffer object.
Signed-off-by: Kristian Hogsberg <krh@redhat.com>
Acked-by: Jakob Bornecrantz <jakob@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm/drm.h')
-rw-r--r-- | include/drm/drm.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/drm/drm.h b/include/drm/drm.h index 76ce6fe..32e5096 100644 --- a/include/drm/drm.h +++ b/include/drm/drm.h @@ -687,7 +687,6 @@ struct drm_gem_open { #define DRM_IOCTL_MODE_GETFB DRM_IOWR(0xAD, struct drm_mode_fb_cmd) #define DRM_IOCTL_MODE_ADDFB DRM_IOWR(0xAE, struct drm_mode_fb_cmd) #define DRM_IOCTL_MODE_RMFB DRM_IOWR(0xAF, unsigned int) -#define DRM_IOCTL_MODE_REPLACEFB DRM_IOWR(0xB0, struct drm_mode_fb_cmd) /** * Device specific ioctls should only be in their respective headers |