Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 371375
b: refs/heads/master
c: b03e14f
h: refs/heads/master
i:
  371373: 67ed20a
  371371: e4d032c
  371367: 959a29d
  371359: 84a6f0c
v: v3
  • Loading branch information
Archit Taneja authored and Tomi Valkeinen committed Apr 11, 2013
1 parent 5a14a0b commit 74dfa17
Show file tree
Hide file tree
Showing 2 changed files with 7 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: bddabbe174cfb6f944baaf13ed5b93c6ee89ec3d
refs/heads/master: b03e14fd4b9f91d0c6be864bf62c75933fa26cac
6 changes: 6 additions & 0 deletions trunk/drivers/gpu/drm/omapdrm/omap_plane.c
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,12 @@ static int omap_plane_update(struct drm_plane *plane,
{
struct omap_plane *omap_plane = to_omap_plane(plane);
omap_plane->enabled = true;

if (plane->fb)
drm_framebuffer_unreference(plane->fb);

drm_framebuffer_reference(fb);

return omap_plane_mode_set(plane, crtc, fb,
crtc_x, crtc_y, crtc_w, crtc_h,
src_x, src_y, src_w, src_h,
Expand Down

0 comments on commit 74dfa17

Please sign in to comment.