[PATCH] drm/amdkfd: move PTR_ERR under IS_ERR() condition

2021-07-19 Thread Cai Huoqing
no need to get error code when IS_ERR is false Signed-off-by: Cai Huoqing --- drivers/gpu/drm/amd/amdkfd/kfd_chardev.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c b/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c index

[PATCH] drm/pl111: Remove unused including

2021-07-26 Thread Cai Huoqing
Remove including that don't need it. Signed-off-by: Cai Huoqing --- drivers/gpu/drm/pl111/pl111_display.c | 1 - drivers/gpu/drm/pl111/pl111_drv.c | 1 - 2 files changed, 2 deletions(-) diff --git a/drivers/gpu/drm/pl111/pl111_display.c b/drivers/gpu/drm/pl111/pl111_display.c

[PATCH] drm/amd/display: Fix typo in comments

2021-07-29 Thread Cai Huoqing
Remove the repeated word 'the' from comments Signed-off-by: Cai Huoqing --- drivers/gpu/drm/amd/display/dc/core/dc_resource.c | 2 +- .../gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20.c | 2 +- .../drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20v2.c | 2 +

[PATCH] gpu/drm/radeon: Fix typo in comments

2021-07-29 Thread Cai Huoqing
Remove the repeated word 'the' from comments Signed-off-by: Cai Huoqing --- drivers/gpu/drm/radeon/atombios.h | 4 ++-- drivers/gpu/drm/radeon/r300_reg.h | 2 +- drivers/gpu/drm/radeon/radeon_device.c | 2 +- drivers/gpu/drm/radeon/radeon_fence.c | 2 +- drivers/gpu/

[PATCH] vhost: Fix typo in comments

2021-07-29 Thread Cai Huoqing
fix typo for vhost Signed-off-by: Cai Huoqing --- drivers/vhost/scsi.c | 4 ++-- drivers/vhost/vhost.c | 2 +- drivers/vhost/vringh.c | 18 +- drivers/vhost/vsock.c | 6 +++--- 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/drivers/vhost/scsi.c b/drivers

[PATCH] drm: Fix typo in comments

2021-07-29 Thread Cai Huoqing
fix typo for drm Signed-off-by: Cai Huoqing --- drivers/gpu/drm/drm_aperture.c | 2 +- drivers/gpu/drm/drm_atomic.c| 2 +- drivers/gpu/drm/drm_atomic_helper.c | 10 +- drivers/gpu/drm/drm_atomic_uapi.c | 6 +++--- drivers/gpu/drm/drm_auth.c

[PATCH v2] drm: Fix typo in comments

2021-07-30 Thread Cai Huoqing
fix typo for drm v1->v2: respin with the change "iff ==> implies that" Reviewed-by: Daniel Vetter Signed-off-by: Cai Huoqing --- drivers/gpu/drm/drm_aperture.c | 2 +- drivers/gpu/drm/drm_atomic.c| 2 +- drivers/gpu/drm/drm_atomic_helper.c | 10 +++

[PATCH] drm/vmwgfx: Make use of PFN_ALIGN/PFN_UP helper macro

2021-08-01 Thread Cai Huoqing
it's a refactor to make use of PFN_ALIGN/PFN_UP helper macro Signed-off-by: Cai Huoqing --- drivers/gpu/drm/vmwgfx/vmwgfx_bo.c | 5 ++--- drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c | 2 +- drivers/gpu/drm/vmwgfx/vmwgfx_cotable.c | 3 +-- drivers/gpu/drm/vmwgfx/vmwgfx_kms.c

[PATCH] drm/vmwgfx: Replace "vmw_num_pages" with "PFN_UP"

2021-08-01 Thread Cai Huoqing
we counld use PFN_UP instead of vmw_num_pages() Signed-off-by: Cai Huoqing --- .../gpu/drm/vmwgfx/device_include/vm_basic_types.h | 13 ++--- drivers/gpu/drm/vmwgfx/vmwgfx_msg.c | 6 +++--- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/drivers/gpu/drm

RE: [PATCH v2] drm: Fix typo in comments

2021-08-02 Thread Cai,Huoqing
Hello, > -Original Message- > From: Daniel Vetter > Sent: 2021年8月2日 16:20 > To: Cai,Huoqing > Cc: maarten.lankho...@linux.intel.com; mrip...@kernel.org; > tzimmerm...@suse.de; airl...@linux.ie; dan...@ffwll.ch; dri- > de...@lists.freedesktop.org > Subject: Re:

[PATCH v3] drm: Fix typo in comments

2021-08-02 Thread Cai Huoqing
*mimick ==> mimic *fo ==> for *functons ==> functions v1->v2: *respin with the change "iff ==> implies that" v2->v3: *revert the change of "iff" which means "if and only if" *remove "Reviewed-by:" *add other typo *update chang

[PATCH] video: fbdev: au1200fb: Make use of dma_mmap_coherent()

2021-08-12 Thread Cai Huoqing
replace dma_mmap_attrs() with dma_mmap_coherent() kindly. BTW, fix indentation. Signed-off-by: Cai Huoqing --- drivers/video/fbdev/au1200fb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/video/fbdev/au1200fb.c b/drivers/video/fbdev/au1200fb.c index

[PATCH] drm/lima: Remove unused lima_vm_print()

2021-08-19 Thread Cai Huoqing
lima_vm_print() isn't used, so remove it Signed-off-by: Cai Huoqing --- drivers/gpu/drm/lima/lima_vm.c | 29 - drivers/gpu/drm/lima/lima_vm.h | 1 - 2 files changed, 30 deletions(-) diff --git a/drivers/gpu/drm/lima/lima_vm.c b/drivers/gpu/drm/lima/lima_vm.c

[PATCH] drm: Remove repeated verbose license text

2021-08-21 Thread Cai Huoqing
remove it because SPDX-License-Identifier is already used Signed-off-by: Cai Huoqing --- drivers/gpu/drm/drm_format_helper.c | 5 - drivers/gpu/drm/drm_writeback.c | 5 - 2 files changed, 10 deletions(-) diff --git a/drivers/gpu/drm/drm_format_helper.c b/drivers/gpu/drm

[PATCH] drm: adv7511: Convert to SPDX identifier

2021-08-22 Thread Cai Huoqing
use SPDX-License-Identifier instead of a verbose license text Signed-off-by: Cai Huoqing --- drivers/gpu/drm/bridge/adv7511/adv7511_cec.c | 15 +-- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/drivers/gpu/drm/bridge/adv7511/adv7511_cec.c b/drivers/gpu/drm/bridge

[PATCH] drm/omapdrm: Convert to SPDX identifier

2021-08-22 Thread Cai Huoqing
use SPDX-License-Identifier instead of a verbose license text Signed-off-by: Cai Huoqing --- drivers/gpu/drm/omapdrm/dss/hdmi4_cec.c | 14 +- drivers/gpu/drm/omapdrm/dss/hdmi4_cec.h | 14 +- drivers/gpu/drm/omapdrm/omap_dmm_priv.h | 10 +- drivers/gpu/drm

[PATCH] drm/panel: raspberrypi-touchscreen: Convert to SPDX identifier

2021-08-22 Thread Cai Huoqing
use SPDX-License-Identifier instead of a verbose license text Signed-off-by: Cai Huoqing --- .../drm/panel/panel-raspberrypi-touchscreen.c | 24 +-- 1 file changed, 1 insertion(+), 23 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c b/drivers/gpu

[PATCH] drm/nouveau: remove unused varialble "struct device *dev"

2021-07-05 Thread Cai Huoqing
Signed-off-by: Cai Huoqing Reviewed-by: Karol Herbst --- drivers/gpu/drm/nouveau/nouveau_bo.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nouveau_bo.c b/drivers/gpu/drm/nouveau/nouveau_bo.c index 4f3a5357dd56..c5624048de5e 100644 --- a/drivers/gpu/drm/nouveau

[PATCH] drm/mm: Fix the param description for 'size' tag

2022-03-16 Thread Cai Huoqing
Using "size of" instead of "end of" to fix the description for 'size' tag. Signed-off-by: Cai Huoqing --- drivers/gpu/drm/drm_mm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/drm_mm.c b/drivers/gpu/drm/drm_mm.c index 825

Re: [PATCH] drm/mm: Fix the param description for 'size' tag

2022-03-24 Thread Cai Huoqing
On 17 3月 22 10:26:31, Cai Huoqing wrote: > Using "size of" instead of "end of" to fix the description for 'size' tag. > > Signed-off-by: Cai Huoqing > --- > drivers/gpu/drm/drm_mm.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > &g

Re: [PATCH] drm/nouveau: Remove the unused header file nvif/list.h

2022-02-22 Thread Cai Huoqing
On 09 2月 22 14:53:19, Cai Huoqing wrote: > The nouveau driver depends on include/linux/list.h instead of > nvif/list.h, so remove the obstacle-nvif/list.h. > > Signed-off-by: Cai Huoqing > --- Ping :) > drivers/gpu/drm/nouveau/include/nvif/list.h | 353

[PATCH] drm/amdgpu: Make use of the helper macro SET_RUNTIME_PM_OPS()

2021-08-28 Thread Cai Huoqing
Use the helper macro SET_RUNTIME_PM_OPS() instead of the verbose operators ".runtime_suspend/.runtime_resume/.runtime_idle", because the SET_RUNTIME_PM_OPS() is a nice helper macro that could be brought in to make code a little clearer, a little more concise. Signed-off-by: C

[PATCH] drm/gma500: Make use of the helper macro SET_RUNTIME_PM_OPS()

2021-08-28 Thread Cai Huoqing
Use the helper macro SET_RUNTIME_PM_OPS() instead of the verbose operators ".runtime_suspend/.runtime_resume/.runtime_idle", because the SET_RUNTIME_PM_OPS() is a nice helper macro that could be brought in to make code a little clearer, a little more concise. Signed-off-by: C

[PATCH] drm/nouveau: Make use of the helper macro SET_RUNTIME_PM_OPS()

2021-08-28 Thread Cai Huoqing
Use the helper macro SET_RUNTIME_PM_OPS() instead of the verbose operators ".runtime_suspend/.runtime_resume/.runtime_idle", because the SET_RUNTIME_PM_OPS() is a nice helper macro that could be brought in to make code a little clearer, a little more concise. Signed-off-by: C

[PATCH] drm/omap: dss: Make use of the helper macro SET_RUNTIME_PM_OPS()

2021-08-28 Thread Cai Huoqing
Use the helper macro SET_RUNTIME_PM_OPS() instead of the verbose operators ".runtime_suspend/.runtime_resume", because the SET_RUNTIME_PM_OPS() is a nice helper macro that could be brought in to make code a little clearer, a little more concise. Signed-off-by: Cai Huoqing --- drive

[PATCH] drm/radeon: Make use of the helper macro SET_RUNTIME_PM_OPS()

2021-08-28 Thread Cai Huoqing
Use the helper macro SET_RUNTIME_PM_OPS() instead of the verbose operators ".runtime_suspend/.runtime_resume/.runtime_idle", because the SET_RUNTIME_PM_OPS() is a nice helper macro that could be brought in to make code a little clearer, a little more concise. Signed-off-by: C

[PATCH] drm/tidss: Make use of the helper macro SET_RUNTIME_PM_OPS()

2021-08-28 Thread Cai Huoqing
Use the helper macro SET_RUNTIME_PM_OPS() instead of the verbose operators ".runtime_suspend/.runtime_resume", because the SET_RUNTIME_PM_OPS() is a nice helper macro that could be brought in to make code a little clearer, a little more concise. Signed-off-by: Cai Huoqing --- drive

Re: [PATCH] drm/radeon: Make use of the helper macro SET_RUNTIME_PM_OPS()

2021-08-30 Thread Cai Huoqing
On 30 Aug 21 08:21:52, Alex Deucher wrote: > On Sat, Aug 28, 2021 at 4:51 AM Cai Huoqing wrote: > > > > Use the helper macro SET_RUNTIME_PM_OPS() instead of the verbose > > operators ".runtime_suspend/.runtime_resume/.runtime_idle", because > > the SET_RUNTIME

[PATCH] drm/arc: Make use of the helper function devm_platform_ioremap_resource()

2021-08-31 Thread Cai Huoqing
Use the devm_platform_ioremap_resource() helper instead of calling platform_get_resource() and devm_ioremap_resource() separately Signed-off-by: Cai Huoqing --- drivers/gpu/drm/tiny/arcpgu.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpu/drm/tiny/arcpgu.c b

[PATCH] drm/arm/hdlcd: Make use of the helper function devm_platform_ioremap_resource()

2021-08-31 Thread Cai Huoqing
Use the devm_platform_ioremap_resource() helper instead of calling platform_get_resource() and devm_ioremap_resource() separately Signed-off-by: Cai Huoqing --- drivers/gpu/drm/arm/hdlcd_drv.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpu/drm/arm/hdlcd_drv.c

[PATCH] drm/aspeed: Make use of the helper function devm_platform_ioremap_resource()

2021-08-31 Thread Cai Huoqing
Use the devm_platform_ioremap_resource() helper instead of calling platform_get_resource() and devm_ioremap_resource() separately Signed-off-by: Cai Huoqing --- drivers/gpu/drm/aspeed/aspeed_gfx_drv.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpu/drm/aspeed

[PATCH] drm/exynos: Make use of the helper function devm_platform_ioremap_resource()

2021-08-31 Thread Cai Huoqing
Use the devm_platform_ioremap_resource() helper instead of calling platform_get_resource() and devm_ioremap_resource() separately Signed-off-by: Cai Huoqing --- drivers/gpu/drm/exynos/exynos5433_drm_decon.c | 4 +--- drivers/gpu/drm/exynos/exynos_drm_dsi.c | 4 +--- drivers/gpu/drm/exynos

[PATCH] drm/panfrost: Make use of the helper function devm_platform_ioremap_resource()

2021-08-31 Thread Cai Huoqing
Use the devm_platform_ioremap_resource() helper instead of calling platform_get_resource() and devm_ioremap_resource() separately Signed-off-by: Cai Huoqing --- drivers/gpu/drm/panfrost/panfrost_device.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpu/drm

[PATCH] drm: rcar-du: Make use of the helper function devm_platform_ioremap_resource()

2021-08-31 Thread Cai Huoqing
Use the devm_platform_ioremap_resource() helper instead of calling platform_get_resource() and devm_ioremap_resource() separately Signed-off-by: Cai Huoqing --- drivers/gpu/drm/rcar-du/rcar_du_drv.c | 4 +--- drivers/gpu/drm/rcar-du/rcar_lvds.c | 4 +--- 2 files changed, 2 insertions(+), 6

[PATCH] drm/tve200: Make use of the helper function devm_platform_ioremap_resource()

2021-08-31 Thread Cai Huoqing
Use the devm_platform_ioremap_resource() helper instead of calling platform_get_resource() and devm_ioremap_resource() separately Signed-off-by: Cai Huoqing --- drivers/gpu/drm/tve200/tve200_drv.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpu/drm/tve200

[PATCH] drm/bridge: cdns: Make use of the helper function devm_platform_ioremap_resource()

2021-08-31 Thread Cai Huoqing
Use the devm_platform_ioremap_resource() helper instead of calling platform_get_resource() and devm_ioremap_resource() separately Signed-off-by: Cai Huoqing --- drivers/gpu/drm/bridge/cdns-dsi.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpu/drm/bridge/cdns

[PATCH] drm/fsl-dcu: Make use of the helper function devm_platform_ioremap_resource()

2021-08-31 Thread Cai Huoqing
Use the devm_platform_ioremap_resource() helper instead of calling platform_get_resource() and devm_ioremap_resource() separately Signed-off-by: Cai Huoqing --- drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpu/drm/fsl

[PATCH] drm/imx: imx-tve: Make use of the helper function devm_platform_ioremap_resource()

2021-08-31 Thread Cai Huoqing
Use the devm_platform_ioremap_resource() helper instead of calling platform_get_resource() and devm_ioremap_resource() separately Signed-off-by: Cai Huoqing --- drivers/gpu/drm/imx/imx-tve.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpu/drm/imx/imx-tve.c b

[PATCH] drm/mcde: Make use of the helper function devm_platform_ioremap_resource()

2021-08-31 Thread Cai Huoqing
Use the devm_platform_ioremap_resource() helper instead of calling platform_get_resource() and devm_ioremap_resource() separately Signed-off-by: Cai Huoqing --- drivers/gpu/drm/mcde/mcde_drv.c | 4 +--- drivers/gpu/drm/mcde/mcde_dsi.c | 4 +--- 2 files changed, 2 insertions(+), 6 deletions

[PATCH] drm/mediatek: Make use of the helper function devm_platform_ioremap_resource()

2021-08-31 Thread Cai Huoqing
Use the devm_platform_ioremap_resource() helper instead of calling platform_get_resource() and devm_ioremap_resource() separately Signed-off-by: Cai Huoqing --- drivers/gpu/drm/mediatek/mtk_cec.c| 4 +--- drivers/gpu/drm/mediatek/mtk_disp_aal.c | 4 +--- drivers/gpu/drm/mediatek

[PATCH] drm/meson: Make use of the helper function devm_platform_ioremap_resourcexxx()

2021-08-31 Thread Cai Huoqing
Use the devm_platform_ioremap_resource_byname() helper instead of calling platform_get_resource_byname() and devm_ioremap_resource() separately Use the devm_platform_ioremap_resource() helper instead of calling platform_get_resource() and devm_ioremap_resource() separately Signed-off-by: Cai

[PATCH] drm/mxsfb: Make use of the helper function devm_platform_ioremap_resource()

2021-08-31 Thread Cai Huoqing
Use the devm_platform_ioremap_resource() helper instead of calling platform_get_resource() and devm_ioremap_resource() separately Signed-off-by: Cai Huoqing --- drivers/gpu/drm/mxsfb/mxsfb_drv.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpu/drm/mxsfb

[PATCH] drm/omap: Make use of the helper function devm_platform_ioremap_resourcexxx()

2021-08-31 Thread Cai Huoqing
Use the devm_platform_ioremap_resource_byname() helper instead of calling platform_get_resource_byname() and devm_ioremap_resource() separately Use the devm_platform_ioremap_resource() helper instead of calling platform_get_resource() and devm_ioremap_resource() separately Signed-off-by: Cai

[PATCH] drm/rockchip: Make use of the helper function devm_platform_ioremap_resource()

2021-08-31 Thread Cai Huoqing
Use the devm_platform_ioremap_resource() helper instead of calling platform_get_resource() and devm_ioremap_resource() separately Signed-off-by: Cai Huoqing --- drivers/gpu/drm/rockchip/cdn-dp-core.c | 4 +--- drivers/gpu/drm/rockchip/inno_hdmi.c | 4 +--- drivers/gpu/drm/rockchip

[PATCH] drm/shmobile: Make use of the helper function devm_platform_ioremap_resource()

2021-08-31 Thread Cai Huoqing
Use the devm_platform_ioremap_resource() helper instead of calling platform_get_resource() and devm_ioremap_resource() separately Signed-off-by: Cai Huoqing --- drivers/gpu/drm/shmobile/shmob_drm_drv.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpu/drm

[PATCH] drm/sun4i: Make use of the helper function devm_platform_ioremap_resource()

2021-08-31 Thread Cai Huoqing
Use the devm_platform_ioremap_resource() helper instead of calling platform_get_resource() and devm_ioremap_resource() separately Signed-off-by: Cai Huoqing --- drivers/gpu/drm/sun4i/sun4i_backend.c | 4 +--- drivers/gpu/drm/sun4i/sun4i_frontend.c | 4 +--- drivers/gpu/drm/sun4i

[PATCH] drm/tegra: Make use of the helper function devm_platform_ioremap_resource()

2021-08-31 Thread Cai Huoqing
Use the devm_platform_ioremap_resource() helper instead of calling platform_get_resource() and devm_ioremap_resource() separately Signed-off-by: Cai Huoqing --- drivers/gpu/drm/tegra/dpaux.c | 4 +--- drivers/gpu/drm/tegra/dsi.c | 4 +--- drivers/gpu/drm/tegra/hdmi.c | 4 +--- drivers/gpu

[PATCH] drm/vc4: Make use of the helper function devm_platform_ioremap_resource()

2021-08-31 Thread Cai Huoqing
Use the devm_platform_ioremap_resource() helper instead of calling platform_get_resource() and devm_ioremap_resource() separately Signed-off-by: Cai Huoqing --- drivers/gpu/drm/vc4/vc4_drv.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/vc4/vc4_drv.c

[PATCH] drm/v3d: Make use of the helper function devm_platform_ioremap_resource_byname()

2021-09-01 Thread Cai Huoqing
Use the devm_platform_ioremap_resource_byname() helper instead of calling platform_get_resource_byname() and devm_ioremap_resource() separately Signed-off-by: Cai Huoqing --- drivers/gpu/drm/v3d/v3d_drv.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/gpu/drm

[PATCH v2] drm/tidss: Make use of the helper macro SET_RUNTIME_PM_OPS()

2021-09-06 Thread Cai Huoqing
Use the helper macro SET_RUNTIME_PM_OPS() instead of the verbose operators ".runtime_suspend/.runtime_resume", because the SET_RUNTIME_PM_OPS() is a nice helper macro that could be brought in to make code a little more concise. Signed-off-by: Cai Huoqing --- v1->v2: *Remove &quo

[PATCH] backlight: l4f00242t03: Add a single error handling block at the end of the function.

2021-09-06 Thread Cai Huoqing
A single error handling block at the end of the function could be brought in to make code a little more concise. Signed-off-by: Cai Huoqing --- drivers/video/backlight/l4f00242t03.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/video/backlight

[PATCH] drm: panel: tl070wsh30: Add a single error handling block at the end of the function.

2021-09-06 Thread Cai Huoqing
A single error handling block at the end of the function could be brought in to make code a little more concise. Signed-off-by: Cai Huoqing --- drivers/gpu/drm/panel/panel-tdo-tl070wsh30.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/panel/panel

[PATCH] dt-bindings: panel: ilitek, ili9341: Fix the warning-wrong indentation: expected 10 but found 8 (indentation)

2021-09-07 Thread Cai Huoqing
Fix indentation for the warning- wrong indentation: expected 10 but found 8 (indentation) Signed-off-by: Cai Huoqing --- .../devicetree/bindings/display/panel/ilitek,ili9341.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/display

[PATCH] drm: panel: nt36672a: Removed extra whitespace.

2021-09-16 Thread Cai Huoqing
Removed extra whitespace before dev_err_probe() according to coding style. Signed-off-by: Cai Huoqing --- drivers/gpu/drm/panel/panel-novatek-nt36672a.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/panel/panel-novatek-nt36672a.c b/drivers/gpu/drm/panel

[PATCH] drm/stm: dsi: Improve use of dev_err_probe()

2021-09-16 Thread Cai Huoqing
Return dev_err_probe() directly, because the return value of dev_err_probe() is the appropriate error code, and it can reduce code size, simplify the code. Signed-off-by: Cai Huoqing --- drivers/gpu/drm/stm/dw_mipi_dsi-stm.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff

[PATCH] drm/tegra: plane: Improve use of dev_err_probe()

2021-09-16 Thread Cai Huoqing
Return dev_err_probe() directly, because the return value of dev_err_probe() is the appropriate error code, and it can reduce code size, simplify the code. Signed-off-by: Cai Huoqing --- drivers/gpu/drm/tegra/plane.c | 16 ++-- 1 file changed, 6 insertions(+), 10 deletions(-) diff

[PATCH] drm/bridge/tc358775: Make use of the helper function dev_err_probe()

2021-09-16 Thread Cai Huoqing
When possible use dev_err_probe help to properly deal with the PROBE_DEFER error, the benefit is that DEFER issue will be logged in the devices_deferred debugfs file. And using dev_err_probe() can reduce code size, and the error value gets printed. Signed-off-by: Cai Huoqing --- drivers/gpu/drm

[PATCH] drm/mcde: Make use of the helper function dev_err_probe()

2021-09-16 Thread Cai Huoqing
When possible use dev_err_probe help to properly deal with the PROBE_DEFER error, the benefit is that DEFER issue will be logged in the devices_deferred debugfs file. And using dev_err_probe() can reduce code size, and the error value gets printed. Signed-off-by: Cai Huoqing --- drivers/gpu/drm

[PATCH] drm/panel: ej030na: Make use of the helper function dev_err_probe()

2021-09-16 Thread Cai Huoqing
When possible use dev_err_probe help to properly deal with the PROBE_DEFER error, the benefit is that DEFER issue will be logged in the devices_deferred debugfs file. And using dev_err_probe() can reduce code size, and the error value gets printed. Signed-off-by: Cai Huoqing --- drivers/gpu/drm

[PATCH] drm/panel: fy07024di26a30d: Make use of the helper function dev_err_probe()

2021-09-16 Thread Cai Huoqing
When possible use dev_err_probe help to properly deal with the PROBE_DEFER error, the benefit is that DEFER issue will be logged in the devices_deferred debugfs file. And using dev_err_probe() can reduce code size, and the error value gets printed. Signed-off-by: Cai Huoqing --- .../drm/panel

[PATCH] drm/panel: ili9881c: Make use of the helper function dev_err_probe()

2021-09-16 Thread Cai Huoqing
When possible use dev_err_probe help to properly deal with the PROBE_DEFER error, the benefit is that DEFER issue will be logged in the devices_deferred debugfs file. And using dev_err_probe() can reduce code size, and the error value gets printed. Signed-off-by: Cai Huoqing --- drivers/gpu/drm

[PATCH] drm/panel: k101-im2ba02: Make use of the helper function dev_err_probe()

2021-09-16 Thread Cai Huoqing
When possible use dev_err_probe help to properly deal with the PROBE_DEFER error, the benefit is that DEFER issue will be logged in the devices_deferred debugfs file. And using dev_err_probe() can reduce code size, and the error value gets printed. Signed-off-by: Cai Huoqing --- drivers/gpu/drm

[PATCH] drm/panel: ls037v7dw01: Make use of the helper function dev_err_probe()

2021-09-16 Thread Cai Huoqing
When possible use dev_err_probe help to properly deal with the PROBE_DEFER error, the benefit is that DEFER issue will be logged in the devices_deferred debugfs file. And using dev_err_probe() can reduce code size, the error value gets printed. Signed-off-by: Cai Huoqing --- .../gpu/drm/panel

[PATCH] drm/panel: nt39016: Make use of the helper function dev_err_probe()

2021-09-16 Thread Cai Huoqing
When possible use dev_err_probe help to properly deal with the PROBE_DEFER error, the benefit is that DEFER issue will be logged in the devices_deferred debugfs file. And using dev_err_probe() can reduce code size, the error value gets printed. Signed-off-by: Cai Huoqing --- drivers/gpu/drm

[PATCH] drm/panel: s6e63j0x03: Make use of the helper function dev_err_probe()

2021-09-16 Thread Cai Huoqing
When possible use dev_err_probe help to properly deal with the PROBE_DEFER error, the benefit is that DEFER issue will be logged in the devices_deferred debugfs file. And using dev_err_probe() can reduce code size, the error value gets printed. Signed-off-by: Cai Huoqing --- .../gpu/drm/panel

[PATCH] drm/panel: sofef00: Make use of the helper function dev_err_probe()

2021-09-16 Thread Cai Huoqing
When possible use dev_err_probe help to properly deal with the PROBE_DEFER error, the benefit is that DEFER issue will be logged in the devices_deferred debugfs file. And using dev_err_probe() can reduce code size, the error value gets printed. Signed-off-by: Cai Huoqing --- drivers/gpu/drm

[PATCH] drm/panel: td043mtea1: Make use of the helper function dev_err_probe()

2021-09-16 Thread Cai Huoqing
When possible use dev_err_probe help to properly deal with the PROBE_DEFER error, the benefit is that DEFER issue will be logged in the devices_deferred debugfs file. And using dev_err_probe() can reduce code size, the error value gets printed. Signed-off-by: Cai Huoqing --- drivers/gpu/drm

[PATCH] drm/panel: xpp055c272: Make use of the helper function dev_err_probe()

2021-09-16 Thread Cai Huoqing
When possible use dev_err_probe help to properly deal with the PROBE_DEFER error, the benefit is that DEFER issue will be logged in the devices_deferred debugfs file. And using dev_err_probe() can reduce code size, the error value gets printed. Signed-off-by: Cai Huoqing --- .../gpu/drm/panel

[PATCH] drm/panel: y030xx067a: Make use of the helper function dev_err_probe()

2021-09-16 Thread Cai Huoqing
When possible use dev_err_probe help to properly deal with the PROBE_DEFER error, the benefit is that DEFER issue will be logged in the devices_deferred debugfs file. And using dev_err_probe() can reduce code size, the error value gets printed. Signed-off-by: Cai Huoqing --- drivers/gpu/drm

[PATCH] drm/sun4i: dsi: Make use of the helper function dev_err_probe()

2021-09-16 Thread Cai Huoqing
When possible use dev_err_probe help to properly deal with the PROBE_DEFER error, the benefit is that DEFER issue will be logged in the devices_deferred debugfs file. And using dev_err_probe() can reduce code size, the error value gets printed. Signed-off-by: Cai Huoqing --- drivers/gpu/drm

[PATCH] drm/sun4i: dw-hdmi: Make use of the helper function dev_err_probe()

2021-09-16 Thread Cai Huoqing
When possible use dev_err_probe help to properly deal with the PROBE_DEFER error, the benefit is that DEFER issue will be logged in the devices_deferred debugfs file. And using dev_err_probe() can reduce code size, the error value gets printed. Signed-off-by: Cai Huoqing --- drivers/gpu/drm

[PATCH] drm/tegra: dsi: Make use of the helper function dev_err_probe()

2021-09-16 Thread Cai Huoqing
When possible use dev_err_probe help to properly deal with the PROBE_DEFER error, the benefit is that DEFER issue will be logged in the devices_deferred debugfs file. And using dev_err_probe() can reduce code size, the error value gets printed. Signed-off-by: Cai Huoqing --- drivers/gpu/drm

[PATCH] drm/tegra: sor: Make use of the helper function dev_err_probe()

2021-09-16 Thread Cai Huoqing
When possible use dev_err_probe help to properly deal with the PROBE_DEFER error, the benefit is that DEFER issue will be logged in the devices_deferred debugfs file. And using dev_err_probe() can reduce code size, the error value gets printed. Signed-off-by: Cai Huoqing --- drivers/gpu/drm

[PATCH v2] drm/tegra: sor: Make use of the helper function dev_err_probe()

2021-09-16 Thread Cai Huoqing
When possible use dev_err_probe help to properly deal with the PROBE_DEFER error, the benefit is that DEFER issue will be logged in the devices_deferred debugfs file. And using dev_err_probe() can reduce code size, the error value gets printed. Reported-by: kernel test robot Signed-off-by: Cai

[PATCH 1/2] backlight: bd6107: Make use of the helper function dev_err_probe()

2021-09-16 Thread Cai Huoqing
When possible use dev_err_probe help to properly deal with the PROBE_DEFER error, the benefit is that DEFER issue will be logged in the devices_deferred debugfs file. Using dev_err_probe() can reduce code size, and the error value gets printed. Signed-off-by: Cai Huoqing --- drivers/video

[PATCH 2/2] backlight: l4f00242t03: Make use of the helper function dev_err_probe()

2021-09-16 Thread Cai Huoqing
When possible use dev_err_probe help to properly deal with the PROBE_DEFER error, the benefit is that DEFER issue will be logged in the devices_deferred debugfs file. Using dev_err_probe() can reduce code size, and the error value gets printed. Signed-off-by: Cai Huoqing --- drivers/video

[PATCH 1/6] fbdev: da8xx-fb: Make use of the helper function dev_err_probe()

2021-09-16 Thread Cai Huoqing
When possible use dev_err_probe help to properly deal with the PROBE_DEFER error, the benefit is that DEFER issue will be logged in the devices_deferred debugfs file. Using dev_err_probe() can reduce code size, and the error value gets printed. Signed-off-by: Cai Huoqing --- drivers/video/fbdev

[PATCH 2/6] fbdev: pxa168fb: Make use of the helper function dev_err_probe()

2021-09-16 Thread Cai Huoqing
When possible use dev_err_probe help to properly deal with the PROBE_DEFER error, the benefit is that DEFER issue will be logged in the devices_deferred debugfs file. Using dev_err_probe() can reduce code size, and the error value gets printed. Signed-off-by: Cai Huoqing --- drivers/video/fbdev

[PATCH 3/6] fbdev: pxa3xx-gcu: Make use of the helper function dev_err_probe()

2021-09-16 Thread Cai Huoqing
When possible use dev_err_probe help to properly deal with the PROBE_DEFER error, the benefit is that DEFER issue will be logged in the devices_deferred debugfs file. Using dev_err_probe() can reduce code size, and the error value gets printed. Signed-off-by: Cai Huoqing --- drivers/video/fbdev

[PATCH 4/6] fbdev: ssd1307fb: Make use of the helper function dev_err_probe()

2021-09-16 Thread Cai Huoqing
When possible use dev_err_probe help to properly deal with the PROBE_DEFER error, the benefit is that DEFER issue will be logged in the devices_deferred debugfs file. Using dev_err_probe() can reduce code size, and the error value gets printed. Signed-off-by: Cai Huoqing --- drivers/video/fbdev

[PATCH 5/6] fbdev: s3c-fb: Make use of the helper function dev_err_probe()

2021-09-16 Thread Cai Huoqing
When possible use dev_err_probe help to properly deal with the PROBE_DEFER error, the benefit is that DEFER issue will be logged in the devices_deferred debugfs file. Using dev_err_probe() can reduce code size, and the error value gets printed. Signed-off-by: Cai Huoqing --- drivers/video/fbdev

[PATCH 6/6] fbdev: mmp: Make use of the helper function dev_err_probe()

2021-09-16 Thread Cai Huoqing
When possible use dev_err_probe help to properly deal with the PROBE_DEFER error, the benefit is that DEFER issue will be logged in the devices_deferred debugfs file. Using dev_err_probe() can reduce code size, and the error value gets printed. Signed-off-by: Cai Huoqing --- drivers/video/fbdev

[PATCH 2/4] fbdev: omapfb: lcd_ams_delta: Make use of the helper function dev_err_probe()

2021-09-16 Thread Cai Huoqing
When possible use dev_err_probe help to properly deal with the PROBE_DEFER error, the benefit is that DEFER issue will be logged in the devices_deferred debugfs file. Using dev_err_probe() can reduce code size, and the error value gets printed. Signed-off-by: Cai Huoqing --- drivers/video/fbdev

[PATCH 1/4] fbdev: omapfb: panel-lgphilips-lb035q02: Make use of the helper function dev_err_probe()

2021-09-16 Thread Cai Huoqing
When possible use dev_err_probe help to properly deal with the PROBE_DEFER error, the benefit is that DEFER issue will be logged in the devices_deferred debugfs file. Using dev_err_probe() can reduce code size, and the error value gets printed. Signed-off-by: Cai Huoqing --- .../fbdev/omap2

[PATCH 3/4] fbdev: omapfb: panel-sharp-ls037v7dw01: Make use of the helper function dev_err_probe()

2021-09-16 Thread Cai Huoqing
When possible use dev_err_probe help to properly deal with the PROBE_DEFER error, the benefit is that DEFER issue will be logged in the devices_deferred debugfs file. Using dev_err_probe() can reduce code size, and the error value gets printed. Signed-off-by: Cai Huoqing --- .../fbdev/omap2

[PATCH 4/4] fbdev: omapfb: panel-tpo-td043mtea1: Make use of the helper function dev_err_probe()

2021-09-16 Thread Cai Huoqing
When possible use dev_err_probe help to properly deal with the PROBE_DEFER error, the benefit is that DEFER issue will be logged in the devices_deferred debugfs file. Using dev_err_probe() can reduce code size, and the error value gets printed. Signed-off-by: Cai Huoqing --- .../video/fbdev

Re: [PATCH 1/2] backlight: bd6107: Make use of the helper function dev_err_probe()

2021-09-17 Thread Cai Huoqing
Hi Thanks for your feedback. On 17 9月 21 10:17:29, Daniel Thompson wrote: > On Fri, Sep 17, 2021 at 11:13:06AM +0800, Cai Huoqing wrote: > > When possible use dev_err_probe help to properly deal with the > > PROBE_DEFER error, the benefit is that DEFER issue will be lo

[PATCH v2] video: backlight: Make use of the helper function dev_err_probe()

2021-09-17 Thread Cai Huoqing
When possible use dev_err_probe help to properly deal with the PROBE_DEFER error, the benefit is that DEFER issue will be logged in the devices_deferred debugfs file. Using dev_err_probe() can reduce code size, and the error value gets printed. Signed-off-by: Cai Huoqing --- v1->v2: backli

Re: [PATCH v2] video: backlight: Make use of the helper function dev_err_probe()

2021-09-17 Thread Cai Huoqing
On 17 9月 21 14:15:29, Daniel Thompson wrote: > On Fri, Sep 17, 2021 at 08:53:23PM +0800, Cai Huoqing wrote: > > When possible use dev_err_probe help to properly deal with the > > PROBE_DEFER error, the benefit is that DEFER issue will be logged > > in the devices_deferred de

[PATCH] drm/bridge: dw-hdmi-cec: Make use of the helper function devm_add_action_or_reset()

2021-09-22 Thread Cai Huoqing
. Signed-off-by: Cai Huoqing --- drivers/gpu/drm/bridge/synopsys/dw-hdmi-cec.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/bridge/synopsys/dw-hdmi-cec.c b/drivers/gpu/drm/bridge/synopsys/dw-hdmi-cec.c index 70ab4fbdc23e..c8f44bcb298a 100644 --- a

[PATCH] drm/i2c: tda9950: Make use of the helper function devm_add_action_or_reset()

2021-09-22 Thread Cai Huoqing
. Signed-off-by: Cai Huoqing --- drivers/gpu/drm/i2c/tda9950.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/i2c/tda9950.c b/drivers/gpu/drm/i2c/tda9950.c index 5b03fdd1eaa4..922e431d3eb0 100644 --- a/drivers/gpu/drm/i2c/tda9950.c +++ b/drivers/gpu

[PATCH] drm/i915: Use direction definition DMA_BIDIRECTIONAL instead of PCI_DMA_BIDIRECTIONAL

2021-09-25 Thread Cai Huoqing
Replace direction definition PCI_DMA_BIDIRECTIONAL with DMA_BIDIRECTIONAL, because it helps to enhance readability and avoid possible inconsistency. Signed-off-by: Cai Huoqing --- drivers/gpu/drm/i915/gt/intel_region_lmem.c | 4 ++-- drivers/gpu/drm/i915/gvt/gtt.c | 17

[PATCH] drm/tidss: Fix warning: unused variable 'tidss_pm_ops'

2021-11-28 Thread Cai Huoqing
Mark 'tidss_pm_ops' as __maybe_unused to avoid the warning: unused variable 'tidss_pm_ops' Fixes: 6e120594631f ("drm/tidss: Make use of the helper macro SET_RUNTIME_PM_OPS()") Signed-off-by: Cai Huoqing --- drivers/gpu/drm/tidss/tidss_drv.c | 2 +- 1 file chang

Re: Habanalabs, Ask for the linux firmware code which loads by coprocesseor

2021-12-10 Thread Cai Huoqing
On 09 12月 21 14:23:45, Oded Gabbay wrote: > On Tue, Dec 7, 2021 at 9:19 AM Cai Huoqing wrote: > > > > Hi Oded Gabbay and habanalabs folks. > > > > I'm insterested in this kind of AI acceralator. > > > > After scanning the driver code. > > It see

[PATCH] drm: Make drm_buddy a part of drm module

2022-06-20 Thread Cai Huoqing
The drm_buddy is just a software allocator, so don't need to create a module for this small part. If drm_buddy is included in drm module, then only need to insmod drm.ko Signed-off-by: Cai Huoqing --- drivers/gpu/drm/Kconfig | 2 +- drivers/gpu/drm/Makefile| 1 + drivers/gp

[PATCH] drm/nouveau: Remove the unused header file nvif/list.h

2022-02-08 Thread Cai Huoqing
The nouveau driver depends on include/linux/list.h instead of nvif/list.h, so remove the obstacle-nvif/list.h. Signed-off-by: Cai Huoqing --- drivers/gpu/drm/nouveau/include/nvif/list.h | 353 1 file changed, 353 deletions(-) delete mode 100644 drivers/gpu/drm/nouveau

[PATCH 1/2] MAINTAINERS: Add the driver info of the NVDLA

2022-04-19 Thread Cai Huoqing
The NVIDIA Deep Learning Accelerator (NVDLA) is an open source IP which is integrated into Jetson AGX Xavier. After adding the driver support for it, I add the driver info of the NVDLA to MAINTAINERS file. Signed-off-by: Cai Huoqing --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions

[PATCH 0/2] drm/nvdla: Add driver support for NVDLA

2022-04-19 Thread Cai Huoqing
The NVIDIA Deep Learning Accelerator (NVDLA) is an open source IP which is integrated into NVIDIA Jetson AGX Xavier, so add driver support for this accelerator. NVDLA introduce: http://nvdla.org/primer.html User mode driver: https://github.com/caihuoq/nvdla/tree/main/sw/umd Cai Huoqing (2

Re: [PATCH 2/2] drm/nvdla: Add driver support for NVDLA

2022-04-19 Thread Cai Huoqing
On 19 4月 22 16:07:44, Christian König wrote: > Am 19.04.22 um 15:59 schrieb Cai Huoqing: > > The NVIDIA Deep Learning Accelerator (NVDLA) is an open source IP > > which is integrated into NVIDIA Jetson AGX Xavier, > > so add driver support for this accelerator. > > >

Re: [PATCH 2/2] drm/nvdla: Add driver support for NVDLA

2022-04-25 Thread Cai Huoqing
mments start capital others not. Maybe all should start > capital. Very small nit, but makes nice touch to the code. > - Lot of oneline comments are unneccessary three line comments. > > On 19.4.2022 16.59, Cai Huoqing wrote: > > The NVIDIA Deep Learning Accelerator (NVDLA) is an o

  1   2   >