]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/gpu/drm/i915/intel_sprite.c
Merge tag 'drm-i915-get-eld' of tiwai/sound into drm-intel-next-queued
[karo-tx-linux.git] / drivers / gpu / drm / i915 / intel_sprite.c
index 2b96f336589e1a31abd4889f9373f4bc4cba206e..f8bf6222fe48ee40486e1e3dd2538141462a54bf 100644 (file)
@@ -951,7 +951,7 @@ int intel_sprite_set_colorkey(struct drm_device *dev, void *data,
        if ((set->flags & (I915_SET_COLORKEY_DESTINATION | I915_SET_COLORKEY_SOURCE)) == (I915_SET_COLORKEY_DESTINATION | I915_SET_COLORKEY_SOURCE))
                return -EINVAL;
 
-       if (IS_VALLEYVIEW(dev) &&
+       if ((IS_VALLEYVIEW(dev) || IS_CHERRYVIEW(dev)) &&
            set->flags & I915_SET_COLORKEY_DESTINATION)
                return -EINVAL;
 
@@ -1086,7 +1086,7 @@ intel_plane_init(struct drm_device *dev, enum pipe pipe, int plane)
                        intel_plane->max_downscale = 1;
                }
 
-               if (IS_VALLEYVIEW(dev)) {
+               if (IS_VALLEYVIEW(dev) || IS_CHERRYVIEW(dev)) {
                        intel_plane->update_plane = vlv_update_plane;
                        intel_plane->disable_plane = vlv_disable_plane;