fix changelog date, add extra crash patch for omap drm

This commit is contained in:
Peter Robinson 2013-06-01 20:36:25 +01:00
parent d1968670be
commit fa94b00713
2 changed files with 25 additions and 4 deletions

19
arm-omap-fixdrm.patch Normal file
View File

@ -0,0 +1,19 @@
diff --git a/drivers/gpu/drm/omapdrm/omap_plane.c b/drivers/gpu/drm/omapdrm/omap_plane.c
index 2882cda..8d225d7 100644
--- a/drivers/gpu/drm/omapdrm/omap_plane.c
+++ b/drivers/gpu/drm/omapdrm/omap_plane.c
@@ -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,

View File

@ -703,11 +703,12 @@ Patch14010: lis3-improve-handling-of-null-rate.patch
Patch21000: arm-export-read_current_timer.patch
# lpae
Patch21002: arm-lpae-ax88796.patch
Patch21001: arm-lpae-ax88796.patch
# ARM omap
Patch21003: arm-omap-ehci-fix.patch
Patch21004: arm-omap-load-tfp410.patch
Patch21002: arm-omap-ehci-fix.patch
Patch21003: arm-omap-load-tfp410.patch
Patch21004: arm-omap-fixdrm.patch
# ARM tegra
Patch21005: arm-tegra-usb-no-reset-linux33.patch
@ -1322,6 +1323,7 @@ ApplyPatch arm-export-read_current_timer.patch
ApplyPatch arm-lpae-ax88796.patch
ApplyPatch arm-omap-ehci-fix.patch
ApplyPatch arm-omap-load-tfp410.patch
ApplyPatch arm-omap-fixdrm.patch
ApplyPatch arm-tegra-usb-no-reset-linux33.patch
ApplyPatch arm-tegra-fixclk.patch
@ -2304,7 +2306,7 @@ fi
# and build.
%changelog
* Sat June 1 2013 Peter Robinson <pbrobinson@fedoraproject.org>
* Sat Jun 1 2013 Peter Robinson <pbrobinson@fedoraproject.org>
- Add patch to fix DRM/X on omap (panda)
- Enable Cortex-A8 errata on multiplatform kernels (omap3)