Skip to contentSkip to conversation

drm/exynos: remove DRIVER_HAVE_IRQ feature

PATCH In review Joonyoung Shim 2 participants 2 messages Apr 12, 2014 – Apr 22, 2014

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 drm/exynos: remove DRIVER_HAVE_IRQ feature

Exynos drm driver cannot support DRIVER_HAVE_IRQ feature because it uses driver specific one instead of routine of drm framework to install/uninstall irq handler.

---
Changelog from v1:
- Keep below code

	drm_dev->irq_enabled = true;
 drivers/gpu/drm/exynos/exynos_drm_drv.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/gpu/drm/exynos/exynos_drm_drv.c +1 -2
index 2d27ba2..027e32d 100644
@@ -323,8 +323,7 @@ static const struct file_operations exynos_drm_driver_fops = {
 };
 
 static struct drm_driver exynos_drm_driver = {
-	.driver_features	= DRIVER_HAVE_IRQ | DRIVER_MODESET |
-					DRIVER_GEM | DRIVER_PRIME,
+	.driver_features	= DRIVER_MODESET | DRIVER_GEM | DRIVER_PRIME,
 	.load			= exynos_drm_load,
 	.unload			= exynos_drm_unload,
 	.suspend		= exynos_drm_suspend,
Signature · 1 line
1.8.1.2
Reviewed-by on v2 1/1
#1 lore raw
Quoted 6 lines · Joonyoung Shim

Exynos drm driver cannot support DRIVER_HAVE_IRQ feature because it uses driver specific one instead of routine of drm framework to install/uninstall irq handler.

Quoted 23 lines

---
Changelog from v1:
- Keep below code

        drm_dev->irq_enabled = true;
 drivers/gpu/drm/exynos/exynos_drm_drv.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/gpu/drm/exynos/exynos_drm_drv.c +1 -2
index 2d27ba2..027e32d 100644
@@ -323,8 +323,7 @@ static const struct file_operations
 exynos_drm_driver_fops = {
 };
 
 static struct drm_driver exynos_drm_driver = {
-       .driver_features        = DRIVER_HAVE_IRQ | DRIVER_MODESET |
-                                       DRIVER_GEM | DRIVER_PRIME,
+       .driver_features        = DRIVER_MODESET | DRIVER_GEM |
 DRIVER_PRIME,
        .load                   = exynos_drm_load,
Quoted 6 lines

.unload = exynos_drm_unload,
.suspend = exynos_drm_suspend,
--
1.8.1.2

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel