Skip to contentSkip to conversation

linux-ti-staging: merge audio/display changes, drop local SGX-related patches

PATCH New Denys Dmytriyenko 1 participant 1 message Sep 4, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 linux-ti-staging: merge audio/display changes, drop local SGX-related patches

From: Denys Dmytriyenko <[email protected]>

---
 ...HACK-drm-fb_helper-enable-panning-support.patch | 51 ------------
 ...lcdc-add-vsync-callback-for-use-in-omaplf.patch | 96 ---------------------
 ...fix-the-ping-pong-dma-tearing-issue-seen-.patch | 97 ----------------------
 recipes-kernel/linux/linux-ti-staging_3.14.bb      | 12 +--
 4 files changed, 2 insertions(+), 254 deletions(-)
 delete mode 100644 recipes-kernel/linux/linux-ti-staging-3.14/sgx/0001-HACK-drm-fb_helper-enable-panning-support.patch
 delete mode 100644 recipes-kernel/linux/linux-ti-staging-3.14/sgx/0002-HACK-drm-tilcdc-add-vsync-callback-for-use-in-omaplf.patch
 delete mode 100644 recipes-kernel/linux/linux-ti-staging-3.14/sgx/0003-drm-tilcdc-fix-the-ping-pong-dma-tearing-issue-seen-.patch
recipes-kernel/linux/linux-ti-staging-3.14/sgx/0001-HACK-drm-fb_helper-enable-panning-support.patch deleted +0 -51
deleted file mode 100644
index e760248..0000000
@@ -1,51 +0,0 @@
-From d9d8fea4c60b3a44e8660408eb9337413b108b15 Mon Sep 17 00:00:00 2001
-From: Darren Etheridge <[email protected]>
-Date: Thu, 24 Jul 2014 11:49:28 -0500
-Subject: [PATCH 1/6] HACK: drm/fb_helper: enable panning support
-
-Increase the size of the buffer that is created in the fbdev emulation
-helpers.  And fill in the var structure with the amount that was allocated.
-
-Signed-off-by: Darren Etheridge <[email protected]>
----
- drivers/gpu/drm/drm_fb_cma_helper.c | 10 ++++++++--
- 1 file changed, 8 insertions(+), 2 deletions(-)
-
-diff --git a/drivers/gpu/drm/drm_fb_cma_helper.c b/drivers/gpu/drm/drm_fb_cma_helper.c
-index 61b5a47..2e2c489 100644
---- a/drivers/gpu/drm/drm_fb_cma_helper.c
-+++ b/drivers/gpu/drm/drm_fb_cma_helper.c
-@@ -25,6 +25,12 @@
- #include <drm/drm_fb_cma_helper.h>
- #include <linux/module.h>
- 
-+/*
-+ * number of buffers to allocate from CMA pool, often increased for
-+ * double/triple buffering
-+ */
-+#define DRM_NUM_FBDEV_BUFFERS 3
-+
- struct drm_fb_cma {
- 	struct drm_framebuffer		fb;
- 	struct drm_gem_cma_object	*obj[4];
-@@ -265,7 +271,7 @@ static int drm_fbdev_cma_create(struct drm_fb_helper *helper,
- 	bytes_per_pixel = DIV_ROUND_UP(sizes->surface_bpp, 8);
- 
- 	mode_cmd.width = sizes->surface_width;
--	mode_cmd.height = sizes->surface_height;
-+	mode_cmd.height = sizes->surface_height * DRM_NUM_FBDEV_BUFFERS;
- 	mode_cmd.pitches[0] = sizes->surface_width * bytes_per_pixel;
- 	mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp,
- 		sizes->surface_depth);
-@@ -304,7 +310,7 @@ static int drm_fbdev_cma_create(struct drm_fb_helper *helper,
- 	}
- 
- 	drm_fb_helper_fill_fix(fbi, fb->pitches[0], fb->depth);
--	drm_fb_helper_fill_var(fbi, helper, fb->width, fb->height);
-+	drm_fb_helper_fill_var(fbi, helper, fb->width, sizes->surface_height);
- 
- 	offset = fbi->var.xoffset * bytes_per_pixel;
- 	offset += fbi->var.yoffset * fb->pitches[0];
--- 
-1.9.1
-
recipes-kernel/linux/linux-ti-staging-3.14/sgx/0002-HACK-drm-tilcdc-add-vsync-callback-for-use-in-omaplf.patch deleted +0 -96

96 lines not on this page · raw message

recipes-kernel/linux/linux-ti-staging-3.14/sgx/0003-drm-tilcdc-fix-the-ping-pong-dma-tearing-issue-seen-.patch deleted +0 -97

97 lines not on this page · raw message

recipes-kernel/linux/linux-ti-staging_3.14.bb +2 -10
index 2a458b7..4a613ad 100644
@@ -44,11 +44,11 @@ S = "${WORKDIR}/git"
 
 BRANCH = "ti-linux-3.14.y"
 
-SRCREV = "0627fb95826dbcaac164f051d7d0a694e59d709a"
+SRCREV = "4247372d2f38f7346e34063d38ac4adb3fe053c2"
 PV = "3.14.17"
 
 # Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild
-MACHINE_KERNEL_PR_append = "b+gitr${SRCPV}"
+MACHINE_KERNEL_PR_append = "c+gitr${SRCPV}"
 PR = "${MACHINE_KERNEL_PR}"
 
 KERNEL_CONFIG_DIR = "${S}/ti_config_fragments"
@@ -59,15 +59,7 @@ KERNEL_CONFIG_FRAGMENTS = "${KERNEL_CONFIG_DIR}/audio_display.cfg ${KERNEL_CONFI
 KERNEL_CONFIG_FRAGMENTS_append_ti33x = " ${WORKDIR}/non-smp.cfg"
 KERNEL_CONFIG_FRAGMENTS_append_ti43x = " ${WORKDIR}/non-smp.cfg"
 
-# Patches necessary to make SGX graphics work with this kernel version
-SGX_PATCHES = "file://sgx/0001-HACK-drm-fb_helper-enable-panning-support.patch \
-               file://sgx/0002-HACK-drm-tilcdc-add-vsync-callback-for-use-in-omaplf.patch \
-               file://sgx/0003-drm-tilcdc-fix-the-ping-pong-dma-tearing-issue-seen-.patch"
-
 SRC_URI = "git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git;protocol=git;branch=${BRANCH} \
            file://defconfig \
            file://non-smp.cfg \
           "
-
-SRC_URI_append_ti33x = " ${SGX_PATCHES}"
-SRC_URI_append_ti43x = " ${SGX_PATCHES}"
Signature · 1 line
2.0.4