blob: f662fe40a73cda0a97d10115914cf944b26d1b95 [file] [log] [blame]
Patrick Williams2194f502022-10-16 14:26:09 -05001From 97bdf703e47606d15cd04f1aa5490bcaed842ae3 Mon Sep 17 00:00:00 2001
Brad Bishopbec4ebc2022-08-03 09:55:16 -04002From: Tushar Khandelwal <tushar.khandelwal@arm.com>
3Date: Wed, 17 Jun 2020 10:49:26 +0000
Patrick Williams2194f502022-10-16 14:26:09 -05004Subject: [PATCH 02/40] drm: arm: komeda: add RENDER capability to the device
Brad Bishopbec4ebc2022-08-03 09:55:16 -04005 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>
Patrick Williams2194f502022-10-16 14:26:09 -050013Signed-off-by: Rupinderjit Singh <rupinderjit.singh@arm.com>
Brad Bishopbec4ebc2022-08-03 09:55:16 -040014---
15 drivers/gpu/drm/arm/display/komeda/komeda_kms.c | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18diff --git a/drivers/gpu/drm/arm/display/komeda/komeda_kms.c b/drivers/gpu/drm/arm/display/komeda/komeda_kms.c
Patrick Williams2194f502022-10-16 14:26:09 -050019index 93b7f09b96ca..8b2be8a9a27d 100644
Brad Bishopbec4ebc2022-08-03 09:55:16 -040020--- a/drivers/gpu/drm/arm/display/komeda/komeda_kms.c
21+++ b/drivers/gpu/drm/arm/display/komeda/komeda_kms.c
Patrick Williams2194f502022-10-16 14:26:09 -050022@@ -58,7 +58,7 @@ static irqreturn_t komeda_kms_irq_handler(int irq, void *data)
Brad Bishopbec4ebc2022-08-03 09:55:16 -040023 }
24
Patrick Williams2194f502022-10-16 14:26:09 -050025 static const struct drm_driver komeda_kms_driver = {
Brad Bishopbec4ebc2022-08-03 09:55:16 -040026- .driver_features = DRIVER_GEM | DRIVER_MODESET | DRIVER_ATOMIC,
27+ .driver_features = DRIVER_GEM | DRIVER_MODESET | DRIVER_ATOMIC | DRIVER_RENDER,
28 .lastclose = drm_fb_helper_lastclose,
29 DRM_GEM_CMA_DRIVER_OPS_WITH_DUMB_CREATE(komeda_gem_cma_dumb_create),
30 .fops = &komeda_cma_fops,
31--
Patrick Williams2194f502022-10-16 14:26:09 -0500322.34.1
Brad Bishopbec4ebc2022-08-03 09:55:16 -040033