blob: 77519f14aabae1dddacf2945d82520d4e38d5908 [file] [log] [blame]
Brad Bishopbec4ebc2022-08-03 09:55:16 -04001From 1b2c200673b4a08324f3a6575b30bd16030ed586 Mon Sep 17 00:00:00 2001
2From: Tushar Khandelwal <tushar.khandelwal@arm.com>
3Date: Wed, 17 Jun 2020 10:49:26 +0000
4Subject: [PATCH 02/22] drm: arm: komeda: add RENDER capability to the device
5 node
6
7this is required to make this driver work with android framework
8
9Signed-off-by: Tushar Khandelwal <tushar.khandelwal@arm.com>
10
11Upstream-Status: Inappropriate [Product specific configuration]
12Signed-off-by: Arunachalam Ganapathy <arunachalam.ganapathy@arm.com>
13---
14 drivers/gpu/drm/arm/display/komeda/komeda_kms.c | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17diff --git a/drivers/gpu/drm/arm/display/komeda/komeda_kms.c b/drivers/gpu/drm/arm/display/komeda/komeda_kms.c
18index 1f6682032ca4..9d1a1942e673 100644
19--- a/drivers/gpu/drm/arm/display/komeda/komeda_kms.c
20+++ b/drivers/gpu/drm/arm/display/komeda/komeda_kms.c
21@@ -59,7 +59,7 @@ static irqreturn_t komeda_kms_irq_handler(int irq, void *data)
22 }
23
24 static struct drm_driver komeda_kms_driver = {
25- .driver_features = DRIVER_GEM | DRIVER_MODESET | DRIVER_ATOMIC,
26+ .driver_features = DRIVER_GEM | DRIVER_MODESET | DRIVER_ATOMIC | DRIVER_RENDER,
27 .lastclose = drm_fb_helper_lastclose,
28 DRM_GEM_CMA_DRIVER_OPS_WITH_DUMB_CREATE(komeda_gem_cma_dumb_create),
29 .fops = &komeda_cma_fops,
30--
312.17.1
32