[PATCH v6.6] drm/amd/display: Wake DMCUB before executing GPINT commands

2024-04-15 Thread Zhu Wang
01c4b79bfe ("drm/amd/display: Update driver and IPS interop") 820c3870c491 ("drm/amd/display: Refactor DMCUB enter/exit idle interface") 2ef98c6d753a ("drm/amd/display: Wake DMCUB before executing GPINT commands") Signed-off-by: Zhu Wang --- d

[PATCH v5.10] drm/amd/display: Wake DMCUB before executing GPINT commands

2024-04-15 Thread Zhu Wang
5e8a0d3598b4 ("drm/amd/display: Negate IPS allow and commit bits") 820c3870c491 ("drm/amd/display: Refactor DMCUB enter/exit idle interface") 2ef98c6d753a ("drm/amd/display: Wake DMCUB before executing GPINT commands") Signed-off-by: Zhu Wang --- .../gpu/d

[PATCH -next v4] drm/i2c: tda998x: remove redundant CONFIG_OF and of_match_ptr()

2023-08-04 Thread Zhu Wang
es of .text if a driver can be used both with and without it. Signed-off-by: Zhu Wang Reviewed-by: Arnd Bergmann --- Changes in v2: - Remove CONFIG_OF which includes tda998x_ids. --- Changes in v3: - Changes of_match_ptr to of_match_ptr() in the commit message. --- Changes in v4: - Remove "R

[PATCH -next] video: fbdev: goldfishfb: Do not check 0 for platform_get_irq()

2023-08-03 Thread Zhu Wang
t;) to get that platform_get_irq() never returned zero. Signed-off-by: Zhu Wang --- drivers/video/fbdev/goldfishfb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/video/fbdev/goldfishfb.c b/drivers/video/fbdev/goldfishfb.c index ef2528c3faa9..c3091ce26e5c 10

[PATCH -next v3] drm/i2c: tda998x: remove redundant CONFIG_OF and of_match_ptr()

2023-08-02 Thread Zhu Wang
es of .text if a driver can be used both with and without it. Signed-off-by: Zhu Wang Reviewed-by: Arnd Bergmann Reviewed-by: Andy Shevchenko --- Changes in v2: - Remove CONFIG_OF which includes tda998x_ids. --- Changes in v3: - Changes of_match_ptr to of_match_ptr() in the commit message. --- dr

[PATCH -next v2] drm/i2c: tda998x: remove redundant CONFIG_OF and of_match_ptr

2023-07-31 Thread Zhu Wang
.text if a driver can be used both with and without it. Signed-off-by: Zhu Wang --- Changes in v2: Remove CONFIG_OF which includes tda998x_ids --- drivers/gpu/drm/i2c/tda998x_drv.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpu/drm/i2c/tda998x_drv.c b/driver

[PATCH -next] drm/omap: remove redundant of_match_ptr

2023-07-31 Thread Zhu Wang
with and without it. Hence we remove of_match_ptr. Signed-off-by: Zhu Wang --- drivers/gpu/drm/omapdrm/omap_dmm_tiler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/omapdrm/omap_dmm_tiler.c b/drivers/gpu/drm/omapdrm/omap_dmm_tiler.c index 9753c1e

[PATCH -next] drm/mcde: remove redundant of_match_ptr

2023-07-31 Thread Zhu Wang
with and without it. Hence we remove of_match_ptr. Signed-off-by: Zhu Wang --- drivers/gpu/drm/mcde/mcde_dsi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/mcde/mcde_dsi.c b/drivers/gpu/drm/mcde/mcde_dsi.c index db82b38600b2..e2fad1a048b5 100644 --- a/driver

[PATCH -next] drm/i2c: tda998x: remove redundant of_match_ptr

2023-07-31 Thread Zhu Wang
with and without it. Hence we remove of_match_ptr. Signed-off-by: Zhu Wang --- drivers/gpu/drm/i2c/tda998x_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i2c/tda998x_drv.c b/drivers/gpu/drm/i2c/tda998x_drv.c index d8d7de18dd65..d1a6c87290f2 100644

[PATCH -next] drm/rockchip: remove redundant of_match_ptr

2023-07-31 Thread Zhu Wang
with and without it. Hence we remove of_match_ptr. Signed-off-by: Zhu Wang --- drivers/gpu/drm/rockchip/cdn-dp-core.c | 2 +- drivers/gpu/drm/rockchip/rockchip_lvds.c | 2 +- drivers/gpu/drm/rockchip/rockchip_vop2_reg.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --

[PATCH -next] drm/tve200: remove redundant of_match_ptr

2023-07-31 Thread Zhu Wang
with and without it. Hence we remove of_match_ptr. Signed-off-by: Zhu Wang --- drivers/gpu/drm/tve200/tve200_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/tve200/tve200_drv.c b/drivers/gpu/drm/tve200/tve200_drv.c index 984aa8f0a542..0bb56d063536 1

[PATCH -next] drm/exynos: remove redundant of_match_ptr

2023-07-31 Thread Zhu Wang
with and without it. Hence we remove of_match_ptr. Signed-off-by: Zhu Wang --- drivers/gpu/drm/exynos/exynos_drm_gsc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_gsc.c b/drivers/gpu/drm/exynos/exynos_drm_gsc.c index 964dceb28c1e..34cdabc

[PATCH -next] drm/ingenic: remove redundant of_match_ptr

2023-07-31 Thread Zhu Wang
with and without it. Hence we remove of_match_ptr. Signed-off-by: Zhu Wang --- drivers/gpu/drm/ingenic/ingenic-drm-drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/ingenic/ingenic-drm-drv.c b/drivers/gpu/drm/ingenic/ingenic-drm-drv.c index 8dbd484

[PATCH -next v3] drm/bridge: fix -Wunused-const-variable= warning

2023-07-30 Thread Zhu Wang
Fixes: 0647e7dd3f7a ("drm/bridge: Add Analogix anx78xx support") Signed-off-by: Zhu Wang Reviewed-by: Arnd Bergmann Acked-by: Uwe Kleine-König --- Changes in v3 - update the commit message, of_match_ptr is useless since it can only save a few bytes in .text segment, even if the drivers

[PATCH -next v2] drm/bridge: fix -Wunused-const-variable= warning

2023-07-28 Thread Zhu Wang
. The drivers under the directory drivers/gpu/drm/bridge depends on the macro CONFIG_OF, it is not necessary to use CONFIG_OF or of_match_ptr in related files in this directory, so we just remove them all. Fixes: 0647e7dd3f7a ("drm/bridge: Add Analogix anx78xx support") Signed-off-by

[PATCH -next] drm/radeon: fix -Wunused-but-set-variable warning

2023-07-27 Thread Zhu Wang
ON_ONCE is removed in the following patch, so we removed 'rbo' to remove the -Wunused-but-set-variable warning. Fixes: f87c1f0b7b79 ("drm/ttm: prevent moving of pinned BOs") Signed-off-by: Zhu Wang --- drivers/gpu/drm/radeon/radeon_ttm.c | 2 -- 1 file changed, 2 deletions(-)

[PATCH -next] drm/bridge: fix -Wunused-const-variable= warning

2023-07-27 Thread Zhu Wang
the macro CONFIG_OF. And in addition the data variable anx78xx_match_table is included in the macro CONFIG_OF, so we add CONFIG_OF to the place where it is used. Fixes: 5d97408e0d70 ("drm/bridge: move ANA78xx driver to analogix subdirectory") Signed-off-by: Zhu Wang --- drivers/gpu/