Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame] | 1 | From 1b2c200673b4a08324f3a6575b30bd16030ed586 Mon Sep 17 00:00:00 2001 |
| 2 | From: Tushar Khandelwal <tushar.khandelwal@arm.com> |
| 3 | Date: Wed, 17 Jun 2020 10:49:26 +0000 |
| 4 | Subject: [PATCH 02/22] drm: arm: komeda: add RENDER capability to the device |
| 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> |
| 13 | --- |
| 14 | drivers/gpu/drm/arm/display/komeda/komeda_kms.c | 2 +- |
| 15 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 16 | |
| 17 | diff --git a/drivers/gpu/drm/arm/display/komeda/komeda_kms.c b/drivers/gpu/drm/arm/display/komeda/komeda_kms.c |
| 18 | index 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 | -- |
| 31 | 2.17.1 |
| 32 | |