Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 345204
b: refs/heads/master
c: 94c6419
h: refs/heads/master
v: v3
  • Loading branch information
Damien Lespiau authored and Daniel Vetter committed Nov 11, 2012
1 parent 8e8fce1 commit 88936ae
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f5d8491a92e4e5146edf61ed5dda8b4f808b460a
refs/heads/master: 94c6419ed8f45e6682d766672b9ceb54867d3d2d
9 changes: 9 additions & 0 deletions trunk/drivers/gpu/drm/i915/intel_sprite.c
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,15 @@ intel_update_plane(struct drm_plane *plane, struct drm_crtc *crtc,
if (intel_plane->pipe != intel_crtc->pipe)
return -EINVAL;

/* Sprite planes can be linear or x-tiled surfaces */
switch (obj->tiling_mode) {
case I915_TILING_NONE:
case I915_TILING_X:
break;
default:
return -EINVAL;
}

/*
* Clamp the width & height into the visible area. Note we don't
* try to scale the source if part of the visible region is offscreen.
Expand Down

0 comments on commit 88936ae

Please sign in to comment.