Re: [PATCH v8 drm-dp 0/5] Add dp module in hibmc driver

2024-12-26 Thread tiantao (H)
在 2024/12/19 10:52, Yongbang Shi 写道: Does everyone have a question with the patch? Reviewed-by: Tian Tao From: baihan li Realizing the basic display function of DP cable for DP connector displaying. Add DP module in hibmc drm driver, which is for Hisilicon Hibmc SoC which used for Out-o

答复: [PATCH] drm/hisilicon/hibmc: Remove variable 'priv' from hibmc_unload()

2021-07-21 Thread tiantao (H)
Reviewed-by: Tian Tao -邮件原件- 发件人: Thomas Zimmermann [mailto:tzimmerm...@suse.de] 发送时间: 2021年7月21日 21:17 收件人: xinliang@linaro.org; tiantao (H) ; john.stu...@linaro.org; kongxinwei (A) ; Chenfeng (puck) ; airl...@linux.ie; dan...@ffwll.ch; max...@cerno.tech; s...@ravnborg.org 抄送

Re: [PATCH] drm/hisilicon/hibmc: Convert to Linux IRQ interfaces

2021-07-06 Thread tiantao (H)
在 2021/7/6 15:54, Thomas Zimmermann 写道: Drop the DRM IRQ midlayer in favor of Linux IRQ interfaces. DRM's IRQ helpers are mostly useful for UMS drivers. Modern KMS drivers don't benefit from using it. Reviewed-by:Tian Tao Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/hisilicon/hi

答复: [PATCH v2 02/22] drm/hibmc: Call drm_irq_uninstall() unconditionally

2021-06-23 Thread tiantao (H)
...@arm.com; maarten.lankho...@linux.intel.com; mrip...@kernel.org; inki@samsung.com; jy0922.s...@samsung.com; sw0312@samsung.com; kyungmin.p...@samsung.com; krzysztof.kozlow...@canonical.com; xinliang@linaro.org; tiantao (H) ; john.stu...@linaro.org; kongxinwei (A) ; Chenfeng (puck

Re: [PATCH v2] drm/exynos: Use pm_runtime_resume_and_get() to replace open coding

2021-05-24 Thread tiantao (H)
在 2021/5/24 20:05, Inki Dae 写道: 21. 5. 22. 오전 12:31에 Daniel Vetter 이(가) 쓴 글: On Fri, May 21, 2021 at 05:06:06PM +0800, Tian Tao wrote: use pm_runtime_resume_and_get() to replace pm_runtime_get_sync and pm_runtime_put_noidle. It would be good to explain why: Apparently get_sync increments th

Re: [PATCH 08/11] drm/vram-helpers: Create DRM_GEM_VRAM_PLANE_HELPER_FUNCS

2021-05-21 Thread tiantao (H)
在 2021/5/21 17:09, Daniel Vetter 写道: Like we have for the shadow helpers too, and roll it out to drivers. Signed-off-by: Daniel Vetter Cc: Dave Airlie Cc: Thomas Zimmermann Cc: Hans de Goede Cc: Maarten Lankhorst Cc: Maxime Ripard Cc: David Airlie Cc: Daniel Vetter Cc: Tian Tao Cc: La

Re: [PATCH] drm/hisilicon/kirin: Use the correct HiSilicon copyright

2021-03-31 Thread tiantao (H)
在 2021/3/30 14:43, fanghao (A) 写道: s/Hisilicon/HiSilicon/g. It should use capital S, according to https://www.hisilicon.com/en/terms-of-use. Acked-by: Tian Tao Signed-off-by: Hao Fang --- drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c| 2 +- drivers/gpu/drm/hisilicon/kirin/dw_dsi_reg.h

Re: [PATCH] drm/exynos/decon5433: Clean up GPIO includes

2021-03-15 Thread tiantao (H)
在 2021/3/15 14:35, Inki Dae 写道: Hi Tian Tao, 21. 3. 2. 오후 12:03에 Tian Tao 이(가) 쓴 글: remove the legacy GPIO headers but what it really uses is since only gpio_desc structs are ever referenced. This driver doesn't reference even linux/gpio/consumer.h so could you drop only of_gpio.h inclusio

Re: [PATCH] drm/exynos/decon5433: Clean up GPIO includes

2021-03-15 Thread tiantao (H)
在 2021/3/15 14:35, Inki Dae 写道: Hi Tian Tao, 21. 3. 2. 오후 12:03에 Tian Tao 이(가) 쓴 글: remove the legacy GPIO headers but what it really uses is since only gpio_desc structs are ever referenced. This driver doesn't reference even linux/gpio/consumer.h so could you drop only of_gpio.h inclusio

Re: [PATCH] drm/hisilicon/hibmc: Remove hibmc_ttm.c

2021-01-16 Thread tiantao (H)
在 2021/1/15 16:42, Thomas Zimmermann 写道: ping for review Am 13.01.21 um 12:31 schrieb Thomas Zimmermann: The file is not in use. It got re-added by a rebased patch. Removing it. Reviewed-by Tian Tao Signed-off-by: Thomas Zimmermann Fixes: 4d4dad21cc7b ("drm/hibmc: Remove references to str

Re: [PATCH] drm/hisilicon: Use pcim_enable_device()

2020-12-22 Thread tiantao (H)
在 2020/12/22 16:27, Daniel Vetter 写道: On Tue, Dec 22, 2020 at 1:38 AM tiantao (H) wrote: 在 2020/12/22 6:02, Daniel Vetter 写道: On Mon, Dec 21, 2020 at 08:45:22AM +0800, Tian Tao wrote: Using the managed function simplifies the error handling. After unloading the driver, the PCI device

Re: [PATCH] drm/hisilicon: Use pcim_enable_device()

2020-12-22 Thread tiantao (H)
在 2020/12/22 6:02, Daniel Vetter 写道: On Mon, Dec 21, 2020 at 08:45:22AM +0800, Tian Tao wrote: Using the managed function simplifies the error handling. After unloading the driver, the PCI device should now get disabled as well. Signed-off-by: Tian Tao --- drivers/gpu/drm/hisilicon/hibmc/hi

Re: [PATCH] drm/hisilicon: Fix rmmod hibmc_drm failed

2020-12-16 Thread tiantao (H)
在 2020/12/15 20:01, Daniel Vetter 写道: On Tue, Dec 15, 2020 at 12:59:53PM +0100, Daniel Vetter wrote: On Tue, Dec 15, 2020 at 11:01:39AM +0800, Tian Tao wrote: drm_irq_uninstall should be called before pci_disable_msi, if use devm_drm_irq_install to register the interrupt, the system will call

Re: [PATCH drm/hisilicon v2 1/2] drm/hisilicon: Use managed mode-config init

2020-12-08 Thread tiantao (H)
在 2020/12/7 17:22, Thomas Zimmermann 写道: Hi Am 07.12.20 um 10:05 schrieb Tian Tao: Using drmm_mode_config_init() sets up managed release of modesetting resources. Individual patches usually contain a changelog to highlight the difference to previous versions. Please add one before committ

Re: [PATCH drm/hisilicon 1/3] drm/hisilicon: Code refactoring for hibmc_drm_drv

2020-12-03 Thread tiantao (H)
Hi 在 2020/12/2 17:02, Thomas Zimmermann 写道: Am 02.12.20 um 09:47 schrieb Tian Tao: Use the devm_drm_dev_alloc provided by the drm framework to alloc a structure hibmc_drm_private. Signed-off-by: Tian Tao This looks good now. Thanks for sticking to it. Thank you for your continued patie

Re: [PATCH drm/hisilicon v2 1/4] drm/hisilicon: Assgin local variable to drm_device

2020-12-02 Thread tiantao (H)
在 2020/12/1 21:44, Thomas Zimmermann 写道: Hi Am 01.12.20 um 14:05 schrieb tiantao (H): 在 2020/12/1 20:36, Thomas Zimmermann 写道: Hi Am 01.12.20 um 13:26 schrieb tiantao (H): 在 2020/12/1 20:17, Thomas Zimmermann 写道: Hi Am 01.12.20 um 12:55 schrieb Tian Tao: Assign local variable to

Re: [PATCH v2 08/20] drm/hibmc: Remove references to struct drm_device.pdev

2020-12-02 Thread tiantao (H)
在 2020/12/1 18:35, Thomas Zimmermann 写道: Using struct drm_device.pdev is deprecated. Convert hibmc to struct drm_device.dev. No functional changes. Signed-off-by: Thomas Zimmermann Acked-by: Sam Ravnborg Cc: Xinliang Liu Cc: Tian Tao Cc: John Stultz Cc: Xinwei Kong Cc: Chen Feng ---

Re: [PATCH drm/hisilicon v2 1/4] drm/hisilicon: Assgin local variable to drm_device

2020-12-02 Thread tiantao (H)
在 2020/12/2 10:06, tiantao (H) 写道: 在 2020/12/1 21:44, Thomas Zimmermann 写道: Hi Am 01.12.20 um 14:05 schrieb tiantao (H): 在 2020/12/1 20:36, Thomas Zimmermann 写道: Hi Am 01.12.20 um 13:26 schrieb tiantao (H): 在 2020/12/1 20:17, Thomas Zimmermann 写道: Hi Am 01.12.20 um 12:55 schrieb

Re: [PATCH drm/hisilicon v2 1/4] drm/hisilicon: Assgin local variable to drm_device

2020-12-02 Thread tiantao (H)
在 2020/12/1 20:36, Thomas Zimmermann 写道: Hi Am 01.12.20 um 13:26 schrieb tiantao (H): 在 2020/12/1 20:17, Thomas Zimmermann 写道: Hi Am 01.12.20 um 12:55 schrieb Tian Tao: Assign local variable to struct drm_device *dev because they are used multiple times within a function. Signed-off-by

Re: [PATCH drm/hisilicon v2 1/4] drm/hisilicon: Assgin local variable to drm_device

2020-12-02 Thread tiantao (H)
在 2020/12/1 20:17, Thomas Zimmermann 写道: Hi Am 01.12.20 um 12:55 schrieb Tian Tao: Assign local variable to struct drm_device *dev because they are used multiple times within a function. Signed-off-by: Tian Tao ---   drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.c   |  2 +-   drivers/gpu/drm

Re: [PATCH v2] drm: Add the new api to install irq

2020-11-04 Thread tiantao (H)
在 2020/11/3 15:56, Thomas Zimmermann 写道: Hi Thanks, the code looks good already. There just are a few nits below. Thanks for the help with the review code. Add the new api devm_drm_irq_install and himbc use the new interface as one patch or two? Am 03.11.20 um 03:10 schrieb Tian Tao: Ad

Re: [PATCH] drm/irq: Add irq as false detection

2020-11-02 Thread tiantao (H)
在 2020/11/2 20:09, Thomas Zimmermann 写道: Hi Am 02.11.20 um 12:19 schrieb Tian Tao: Add the detection of false for irq, so that the EINVAL is not returned when dev->irq_enabled is false. Signed-off-by: Tian Tao --- drivers/gpu/drm/drm_irq.c | 3 +++ 1 file changed, 3 insertions(+) diff -

Re: [PATCH] drm/hisilicon: Remove redundant null check

2020-11-02 Thread tiantao (H)
在 2020/11/2 17:03, Thomas Zimmermann 写道: Hi Am 02.11.20 um 09:46 schrieb tiantao (H): 在 2020/11/2 16:32, Thomas Zimmermann 写道: Hi Am 30.10.20 um 10:27 schrieb Tian Tao: drm_irq_uninstall can handle the case where dev->irq_enable is false, so Remove redundant null check. Signed-off

Re: [PATCH] drm/hisilicon: Remove redundant null check

2020-11-02 Thread tiantao (H)
在 2020/11/2 16:32, Thomas Zimmermann 写道: Hi Am 30.10.20 um 10:27 schrieb Tian Tao: drm_irq_uninstall can handle the case where dev->irq_enable is false, so Remove redundant null check. Signed-off-by: Tian Tao --- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 6 +++--- 1 file changed,

Re: [PATCH] drm/hisilicon: Delete the unused macro

2020-09-30 Thread tiantao (H)
在 2020/9/29 15:24, Thomas Zimmermann 写道: Am 29.09.20 um 02:45 schrieb Tian Tao: The macro PADDING is no longer used. Delete it. Signed-off-by: Tian Tao Reviewed-by: Thomas Zimmermann Thanks a lot for the timely help with the review code! --- drivers/gpu/drm/hisilicon/hibmc/hibmc_dr

Re: [PATCH] drm/hisilicon: Deleted the drm_device declaration

2020-09-28 Thread tiantao (H)
在 2020/9/25 15:26, Thomas Zimmermann 写道: Hi Am 25.09.20 um 09:02 schrieb Thomas Zimmermann: Hi, just a few nits. Am 25.09.20 um 08:49 schrieb Tian Tao: drm_framebuffer.h contains drm/drm_device.h and struct drm_device is contains -> includes already declared in this file, so there is n

Re: [PATCH] drm/vc4: Deleted the drm_device declaration

2020-09-28 Thread tiantao (H)
Hi : I alwaygs used scripts/get_maintainers.pl to get the recipient list.I don't know why miss maintainers for a given piece of code. tiantao@ubuntu:~$ git send-email -to e...@anholt.net -to airl...@linux.ie -to dan...@ffwll.ch -to sumit.sem...@linaro.org -to christian.koe...@amd.com -to dri-

Re: [PATCH] drm/vc4: Remove unused variables

2020-09-14 Thread tiantao (H)
Hi Thomas: 在 2020/9/11 15:47, Thomas Zimmermann 写道: Hi Am 09.09.20 um 09:33 schrieb Tian Tao: Fixes the following W=1 kernel build warning(s): vc4_plane.c: In function ‘vc4_plane_init’: vc4_plane.c:1340:6: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] Signed-off-by: Tia

Re: [PATCH drm/hisilicon v2 0/3] hibmc clean up and code refactoring

2020-08-13 Thread tiantao (H)
在 2020/8/12 15:04, Thomas Zimmermann 写道: Hi Am 03.08.20 um 02:38 schrieb Tian Tao: patch #1 and #3 is clean up, patch #2 is for code refactoring Sorry for all my reviews taking so long. Please merge patch #3 into patch #2 and then the series is thanks,I will send v3 to fix this. Reviewed

答复: [PATCH v3] drm/hisilicon: Fixed the warning: Assignment of 0/1 to bool variable

2020-07-30 Thread tiantao (H)
Hi Thomas: Thank you very much . Best -邮件原件- 发件人: Thomas Zimmermann [mailto:tzimmerm...@suse.de] 发送时间: 2020年7月29日 16:35 收件人: tiantao (H) ; airl...@linux.ie; dan...@ffwll.ch; kra...@redhat.com; alexander.deuc...@amd.com; t...@linutronix.de; dri-devel@lists.freedesktop.org

答复: [PATCH v2] drm/hisilicon: Use drmm_kzalloc() instead of devm_kzalloc()

2020-07-03 Thread tiantao (H)
Hi: I am sorry for misunderstood you suggests. I will send v3 to fixed this. Best -邮件原件- 发件人: Thomas Zimmermann [mailto:tzimmerm...@suse.de] 发送时间: 2020年7月2日 15:20 收件人: tiantao (H) ; Chenfeng (puck) ; airl...@linux.ie; dan...@ffwll.ch; kra...@redhat.com; alexander.deuc...@amd.com; t

答复: [PATCH] drm/hisilicon: Use drmm_kzalloc() instead of devm_kzalloc()

2020-07-02 Thread tiantao (H)
Hi: Thanks for the help with the review code. I will send v2 to fixed this. Best -邮件原件- 发件人: Thomas Zimmermann [mailto:tzimmerm...@suse.de] 发送时间: 2020年7月2日 14:43 收件人: tiantao (H) ; Chenfeng (puck) ; airl...@linux.ie; dan...@ffwll.ch; kra...@redhat.com; alexander.deuc

Re: [PATCH] drm/hisilicon: Code refactoring for hibmc_drv_vdac

2020-04-11 Thread tiantao (H)
Thank you, your suggestion is accepted and I will issue v2 在 2020/4/11 11:43, Joe Perches 写道: On Sat, 2020-04-11 at 10:49 +0800, Tian Tao wrote: code refactoring for hibmc_drv_vdac.c, no actual function changes. Seems sensible. diff --git a/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_vdac.c

答复: [PATCH] drm/hisilicon: Add the load and unload for hibmc_driver

2020-03-06 Thread tiantao (H)
Hi All: Sorry,please ignore this patch. Best -邮件原件- 发件人: Linuxarm [mailto:linuxarm-boun...@huawei.com] 代表 Tian Tao 发送时间: 2020年3月6日 11:43 收件人: Chenfeng (puck) ; airl...@linux.ie; dan...@ffwll.ch; tzimmerm...@suse.de; kra...@redhat.com; alexander.deuc...@amd.com; t...@linutronix.

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

2020-03-06 Thread tiantao (H)
Hi All: Sorry,please ignore this patch. Best -邮件原件- 发件人: Linuxarm [mailto:linuxarm-boun...@huawei.com] 代表 Tian Tao 发送时间: 2020年3月6日 11:43 收件人: Chenfeng (puck) ; airl...@linux.ie; dan...@ffwll.ch; tzimmerm...@suse.de; kra...@redhat.com; alexander.deuc...@amd.com; t...@linutronix

答复: [PATCH] drm/hisilicon: Code cleanup for hibmc_drv_vdac

2020-03-06 Thread tiantao (H)
Hi All: Sorry,please ignore this patch. Best -邮件原件- 发件人: Linuxarm [mailto:linuxarm-boun...@huawei.com] 代表 Tian Tao 发送时间: 2020年3月6日 11:43 收件人: Chenfeng (puck) ; airl...@linux.ie; dan...@ffwll.ch; tzimmerm...@suse.de; kra...@redhat.com; alexander.deuc...@amd.com; t...@linutronix.

Re: [PATCH] drm/hisilicon: Fixed pcie resource conflict using the general API

2020-02-21 Thread tiantao (H)
Sorry,my mistake. I sent the wrong patch, please ignore the patch below 在 2020/2/21 16:52, Thomas Zimmermann 写道: Hi Am 21.02.20 um 08:06 schrieb Xinliang Liu: Hi tao, Are you sending a wrong patch? Function hibmc_remove_framebuffers is added by your prior reviewing patch. Please send patch bas

答复: [PATCH] drm/hisilicon: add the mode_valid function

2020-01-09 Thread tiantao (H)
Hi Thomas Zimmermann: I will modify this patch and send v2 as you suggested. Thank you very much. Best -邮件原件- 发件人: Thomas Zimmermann [mailto:tzimmerm...@suse.de] 发送时间: 2020年1月8日 16:49 收件人: tiantao (H) ; Chenfeng (puck) ; airl...@linux.ie; dan...@ffwll.ch; kra

Re: [PATCH] drm/hisilicon: Added three new resolutions and changed the alignment to 128 Bytes

2019-12-31 Thread tiantao (H)
Hi Daniel: Thanks you very much ,I will follow your suggestion to split this to three patches. Best 在 2019/12/30 18:23, Daniel Stone 写道: Hi Tian, On Sat, 28 Dec 2019 at 01:14, Tian Tao wrote: @@ -118,11 +119,9 @@ static void hibmc_plane_atomic_update(struct drm_plane *plane, wri