diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-03-27 09:08:04 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-03-27 09:08:04 +0100 |
commit | a8265c59e22ae636617019dda602e1913bdaeca7 (patch) | |
tree | 6ed64e34edeaccad50954c543adcac016ab76fd5 /drivers/gpu/drm/i915/intel_sprite.c | |
parent | drm/i915: Don't use encoder->new_crtc in intel_lvds_compute_config() (diff) | |
download | linux-a8265c59e22ae636617019dda602e1913bdaeca7.tar.xz linux-a8265c59e22ae636617019dda602e1913bdaeca7.zip |
drm/i915: Rip out GET_SPRITE_COLORKEY ioctl
It's completely unused and Tommi noticed that the #define is borked
since forever. I've done a git search in userspace and only found
broken definitions and no users anywhere.
Cc: Tommi Rantala <tt.rantala@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Diffstat (limited to '')
-rw-r--r-- | drivers/gpu/drm/i915/intel_sprite.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/drivers/gpu/drm/i915/intel_sprite.c b/drivers/gpu/drm/i915/intel_sprite.c index f41e872ad858..e9ff6fc61267 100644 --- a/drivers/gpu/drm/i915/intel_sprite.c +++ b/drivers/gpu/drm/i915/intel_sprite.c @@ -1134,30 +1134,6 @@ out_unlock: return ret; } -int intel_sprite_get_colorkey(struct drm_device *dev, void *data, - struct drm_file *file_priv) -{ - struct drm_intel_sprite_colorkey *get = data; - struct drm_plane *plane; - struct intel_plane *intel_plane; - int ret = 0; - - drm_modeset_lock_all(dev); - - plane = drm_plane_find(dev, get->plane_id); - if (!plane) { - ret = -ENOENT; - goto out_unlock; - } - - intel_plane = to_intel_plane(plane); - *get = intel_plane->ckey; - -out_unlock: - drm_modeset_unlock_all(dev); - return ret; -} - int intel_plane_restore(struct drm_plane *plane) { if (!plane->crtc || !plane->state->fb) |