Re: [PATCH] drm/hisilicon: Add the shutdown for hibmc_pci_driver

2020-04-12 Thread Sam Ravnborg
Hi Tian. On Sat, Apr 11, 2020 at 10:49:30AM +0800, Tian Tao wrote: > add the shutdown function to release the resource. > Why it the release of the memory required in the shutdown method? The memory is allocated using devm_ioremap() which will let device management handle the release of the

[PATCH] drm/hisilicon: Add the shutdown for hibmc_pci_driver

2020-04-11 Thread Tian Tao
add the shutdown function to release the resource. Signed-off-by: Tian Tao --- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 23 +++ 1 file changed, 23 insertions(+) diff --git a/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c

[PATCH] drm/hisilicon: Add the shutdown for hibmc_pci_driver

2020-03-06 Thread Tian Tao
add the shutdown function to release the resource. Signed-off-by: Tian Tao --- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c

答复: [PATCH] drm/hisilicon: Add the shutdown for hibmc_pci_driver

2020-03-06 Thread tiantao (H)
...@linutronix.de; dri-devel@lists.freedesktop.org; xinliang@linaro.org; linux-ker...@vger.kernel.org 抄送: Linuxarm 主题: [PATCH] drm/hisilicon: Add the shutdown for hibmc_pci_driver add the shutdown function to release the resource. Signed-off-by: Tian Tao --- drivers/gpu/drm/hisilicon/hibmc