diff mbox

[15/37] drm/arcgpu: Drop drm_vblank_cleanup

Message ID 20170524145212.27837-16-daniel.vetter@ffwll.ch (mailing list archive)
State New, archived
Headers show

Commit Message

Daniel Vetter May 24, 2017, 2:51 p.m. UTC
CRTC don't seem to get shut down in a controlled fashion, but no one
bothers to stop interrupts either so this races no matter what. Might
as well remove it. A call to drm_atomic_helper_shutdown would be
pretty sweet somewhere (and maybe getting rid of the load/unload
callbacks while at it).

Cc: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
---
 drivers/gpu/drm/arc/arcpgu_drv.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Alexey Brodkin May 24, 2017, 2:57 p.m. UTC | #1
Hi Daniel,

On Wed, 2017-05-24 at 16:51 +0200, Daniel Vetter wrote:
> CRTC don't seem to get shut down in a controlled fashion, but no one

> bothers to stop interrupts either so this races no matter what. Might

> as well remove it. A call to drm_atomic_helper_shutdown would be

> pretty sweet somewhere (and maybe getting rid of the load/unload

> callbacks while at it).

> 

> Cc: Alexey Brodkin <abrodkin@synopsys.com>

> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>

> ---

>  drivers/gpu/drm/arc/arcpgu_drv.c | 1 -

>  1 file changed, 1 deletion(-)

> 

> diff --git a/drivers/gpu/drm/arc/arcpgu_drv.c b/drivers/gpu/drm/arc/arcpgu_drv.c

> index 1926b200e4cb..3e43a5d4fb09 100644

> --- a/drivers/gpu/drm/arc/arcpgu_drv.c

> +++ b/drivers/gpu/drm/arc/arcpgu_drv.c

> @@ -155,7 +155,6 @@ static int arcpgu_unload(struct drm_device *drm)

>  		arcpgu->fbdev = NULL;

>  	}

>  	drm_kms_helper_poll_fini(drm);

> -	drm_vblank_cleanup(drm);

>  	drm_mode_config_cleanup(drm);

>  

>  	return 0;


Reviewed-by: Alexey Brodkin <abrodkin@synopsys.com>
diff mbox

Patch

diff --git a/drivers/gpu/drm/arc/arcpgu_drv.c b/drivers/gpu/drm/arc/arcpgu_drv.c
index 1926b200e4cb..3e43a5d4fb09 100644
--- a/drivers/gpu/drm/arc/arcpgu_drv.c
+++ b/drivers/gpu/drm/arc/arcpgu_drv.c
@@ -155,7 +155,6 @@  static int arcpgu_unload(struct drm_device *drm)
 		arcpgu->fbdev = NULL;
 	}
 	drm_kms_helper_poll_fini(drm);
-	drm_vblank_cleanup(drm);
 	drm_mode_config_cleanup(drm);
 
 	return 0;