diff options
author | Souptick Joarder <jrdr.linux@gmail.com> | 2018-08-06 17:49:01 +0300 |
---|---|---|
committer | Xinliang Liu <xinliang.liu@linaro.org> | 2018-09-26 06:40:39 +0300 |
commit | 081d0571700be0c9f212f18b5c66f40e9c2e70d2 (patch) | |
tree | df1fbcb690770b187220d6a0740a1c19094bd7f8 /drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h | |
parent | a66dae3a2b179eaba8f2f960271fe9d4c72939cb (diff) | |
download | linux-081d0571700be0c9f212f18b5c66f40e9c2e70d2.tar.xz |
gpu/drm/hisilicon: Convert drm_atomic_helper_suspend/resume()
convert drm_atomic_helper_suspend/resume() to use
drm_mode_config_helper_suspend/resume().
Fixed one sparse warning by making hibmc_drm_interrupt
static.
Signed-off-by: Ajit Negi <ajitn.linux@gmail.com>
Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com>
Reviewed-by: Xinliang Liu <z.liuxinliang@hisilicon.com>
Signed-off-by: Xinliang Liu <z.liuxinliang@hisilicon.com>
Diffstat (limited to 'drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h')
-rw-r--r-- | drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h b/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h index e195521eb41e..45c25a488f42 100644 --- a/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h +++ b/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h @@ -47,7 +47,6 @@ struct hibmc_drm_private { /* drm */ struct drm_device *dev; bool mode_config_initialized; - struct drm_atomic_state *suspend_state; /* ttm */ struct drm_global_reference mem_global_ref; |