diff options
author | Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> | 2022-02-26 19:06:05 +0900 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2022-03-01 22:35:57 +0000 |
commit | c0085760179255579ffac8faa6cd5d216b8a3384 (patch) | |
tree | 05a3ba67c14f5a29e592387454c2c708c1257b32 /meta-agl-drm-lease/dynamic-layers/meta-rcar-gen3/recipes-kernel/linux-renesas/files/0002-drm-rcar-du-enable-rcar-du-render-node.patch | |
parent | 736e424b21374052a2c61cf2d3e34982a5004c12 (diff) |
Update render node patch to fix build error in BSP 5.9lamprey_12.1.9lamprey_12.1.8lamprey_12.1.7lamprey_12.1.6lamprey_12.1.5lamprey_12.1.4lamprey_12.1.3lamprey_12.1.20lamprey_12.1.2lamprey_12.1.19lamprey_12.1.18lamprey_12.1.17lamprey_12.1.16lamprey_12.1.15lamprey_12.1.14lamprey_12.1.13lamprey_12.1.12lamprey_12.1.11lamprey_12.1.10lamprey_12.1.1lamprey/12.1.9lamprey/12.1.8lamprey/12.1.7lamprey/12.1.6lamprey/12.1.5lamprey/12.1.4lamprey/12.1.3lamprey/12.1.20lamprey/12.1.2lamprey/12.1.19lamprey/12.1.18lamprey/12.1.17lamprey/12.1.16lamprey/12.1.15lamprey/12.1.14lamprey/12.1.13lamprey/12.1.12lamprey/12.1.11lamprey/12.1.10lamprey/12.1.112.1.912.1.812.1.712.1.612.1.512.1.412.1.312.1.2012.1.212.1.1912.1.1812.1.1712.1.1612.1.1512.1.1412.1.1312.1.1212.1.1112.1.1012.1.1lamprey
After BSP 5.9 is merged, linux-renesus fail building in drm-lease environment.
It causes bsp kernel change at
https://github.com/renesas-rcar/linux-bsp/commit/cd7ad23ceb3cbe67263ded2621dda08b4583b0f4
This patch update old patch to fix this build issue.
AGL-Bug : SPEC-4269
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Change-Id: Iea8f37c9dbd766a971693a637cd4d90b35d4eef0
(cherry picked from commit 0f364fe8fcd181ba8f2a5e032b21e2fcc3c516ca)
Diffstat (limited to 'meta-agl-drm-lease/dynamic-layers/meta-rcar-gen3/recipes-kernel/linux-renesas/files/0002-drm-rcar-du-enable-rcar-du-render-node.patch')
-rw-r--r-- | meta-agl-drm-lease/dynamic-layers/meta-rcar-gen3/recipes-kernel/linux-renesas/files/0002-drm-rcar-du-enable-rcar-du-render-node.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/meta-agl-drm-lease/dynamic-layers/meta-rcar-gen3/recipes-kernel/linux-renesas/files/0002-drm-rcar-du-enable-rcar-du-render-node.patch b/meta-agl-drm-lease/dynamic-layers/meta-rcar-gen3/recipes-kernel/linux-renesas/files/0002-drm-rcar-du-enable-rcar-du-render-node.patch new file mode 100644 index 00000000..0d20c069 --- /dev/null +++ b/meta-agl-drm-lease/dynamic-layers/meta-rcar-gen3/recipes-kernel/linux-renesas/files/0002-drm-rcar-du-enable-rcar-du-render-node.patch @@ -0,0 +1,34 @@ +From 8864d17169297580fb1135719dbf44a8ff4771d5 Mon Sep 17 00:00:00 2001 +From: Tomohito Esaki <etom@igel.co.jp> +Date: Wed, 8 Aug 2018 14:20:46 +0900 +Subject: [PATCH 2/2] drm: rcar-du: enable rcar-du render node + +Create a render node tied to the DU device so that the allocated +buffers can be used for scanout, VSP composition, etc. + +[dhobsong@igel.co.jp: Rebased to Linux 5.4] +Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp> + +[Fix for Resolve conflicts for BSP5.9 update] +Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> +--- + drivers/gpu/drm/rcar-du/rcar_du_drv.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/drivers/gpu/drm/rcar-du/rcar_du_drv.c b/drivers/gpu/drm/rcar-du/rcar_du_drv.c +index 7389bbbad896..49272b9ec677 100644 +--- a/drivers/gpu/drm/rcar-du/rcar_du_drv.c ++++ b/drivers/gpu/drm/rcar-du/rcar_du_drv.c +@@ -549,7 +549,8 @@ static const struct drm_ioctl_desc rcar_du_ioctls[] = { + DEFINE_DRM_GEM_CMA_FOPS(rcar_du_fops); + + static struct drm_driver rcar_du_driver = { +- .driver_features = DRIVER_GEM | DRIVER_MODESET | DRIVER_ATOMIC, ++ .driver_features = DRIVER_GEM | DRIVER_MODESET | DRIVER_ATOMIC ++ | DRIVER_RENDER, + .fops = &rcar_du_fops, + .name = "rcar-du", + .desc = "Renesas R-Car Display Unit", +-- +2.25.1 + |