Patrick Williams | 2194f50 | 2022-10-16 14:26:09 -0500 | [diff] [blame] | 1 | From 97bdf703e47606d15cd04f1aa5490bcaed842ae3 Mon Sep 17 00:00:00 2001 |
Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame] | 2 | From: Tushar Khandelwal <tushar.khandelwal@arm.com> |
| 3 | Date: Wed, 17 Jun 2020 10:49:26 +0000 |
Patrick Williams | 2194f50 | 2022-10-16 14:26:09 -0500 | [diff] [blame] | 4 | Subject: [PATCH 02/40] drm: arm: komeda: add RENDER capability to the device |
Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame] | 5 | node |
| 6 | |
| 7 | this is required to make this driver work with android framework |
| 8 | |
| 9 | Signed-off-by: Tushar Khandelwal <tushar.khandelwal@arm.com> |
| 10 | |
| 11 | Upstream-Status: Inappropriate [Product specific configuration] |
| 12 | Signed-off-by: Arunachalam Ganapathy <arunachalam.ganapathy@arm.com> |
Patrick Williams | 2194f50 | 2022-10-16 14:26:09 -0500 | [diff] [blame] | 13 | Signed-off-by: Rupinderjit Singh <rupinderjit.singh@arm.com> |
Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame] | 14 | --- |
| 15 | drivers/gpu/drm/arm/display/komeda/komeda_kms.c | 2 +- |
| 16 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 17 | |
| 18 | diff --git a/drivers/gpu/drm/arm/display/komeda/komeda_kms.c b/drivers/gpu/drm/arm/display/komeda/komeda_kms.c |
Patrick Williams | 2194f50 | 2022-10-16 14:26:09 -0500 | [diff] [blame] | 19 | index 93b7f09b96ca..8b2be8a9a27d 100644 |
Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame] | 20 | --- a/drivers/gpu/drm/arm/display/komeda/komeda_kms.c |
| 21 | +++ b/drivers/gpu/drm/arm/display/komeda/komeda_kms.c |
Patrick Williams | 2194f50 | 2022-10-16 14:26:09 -0500 | [diff] [blame] | 22 | @@ -58,7 +58,7 @@ static irqreturn_t komeda_kms_irq_handler(int irq, void *data) |
Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame] | 23 | } |
| 24 | |
Patrick Williams | 2194f50 | 2022-10-16 14:26:09 -0500 | [diff] [blame] | 25 | static const struct drm_driver komeda_kms_driver = { |
Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame] | 26 | - .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 Williams | 2194f50 | 2022-10-16 14:26:09 -0500 | [diff] [blame] | 32 | 2.34.1 |
Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame] | 33 | |