[PATCH -next] drm/scheduler: Remove unused declarations

2023-08-18 Thread Yue Haibing
ndency_optimized() but not its declaration. Signed-off-by: Yue Haibing --- include/drm/gpu_scheduler.h | 4 1 file changed, 4 deletions(-) diff --git a/include/drm/gpu_scheduler.h b/include/drm/gpu_scheduler.h index f9544d9b670d..cd8ac90865fc 100644 --- a/include/drm/gpu_scheduler.h +++

[PATCH -next] drm/gma500: Remove unused declarations

2023-08-17 Thread Yue Haibing
These declarations are not implemented now, remove them. Signed-off-by: Yue Haibing --- drivers/gpu/drm/gma500/gma_display.h | 1 - drivers/gpu/drm/gma500/psb_intel_drv.h | 14 -- 2 files changed, 15 deletions(-) diff --git a/drivers/gpu/drm/gma500/gma_display.h b/drivers/gpu

[PATCH -next] video: fbdev: kyro: Remove unused declarations

2023-08-14 Thread Yue Haibing
These declarations is never implemented since the beginning of git history. Signed-off-by: Yue Haibing --- include/video/kyro.h | 12 1 file changed, 12 deletions(-) diff --git a/include/video/kyro.h b/include/video/kyro.h index b958c2e9c915..418eef6c5523 100644 --- a/include

[PATCH -next] drm/virtio: Remove unused function declarations

2023-08-11 Thread Yue Haibing
u_dequeue_fence_func(). Commit c84adb304c10 ("drm/virtio: Support virtgpu exported resources") declared but never implemented virtgpu_gem_prime_get_uuid(). Signed-off-by: Yue Haibing --- drivers/gpu/drm/virtio/virtgpu_drv.h | 7 --- 1 file changed, 7 deletions(-) diff --git a/drivers/g

[PATCH -next] drm/ttm: Remove two unused function declarations

2023-08-09 Thread Yue Haibing
Commit cd3a8a596214 ("drm/ttm: remove ttm_bo_(un)lock_delayed_workqueue") removed the implementations but not the declarations. Signed-off-by: Yue Haibing --- include/drm/ttm/ttm_bo.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/drm/ttm/ttm_bo.h b/include/drm/ttm/ttm_

[PATCH -next] drm/tegra: Remove two unused function declarations

2023-08-08 Thread Yue Haibing
Commit 776dc3840367 ("drm/tegra: Move subdevice infrastructure to host1x") removed the implementation but not the declaration. Signed-off-by: Yue Haibing --- drivers/gpu/drm/tegra/drm.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/gpu/drm/tegra/drm.h b/drivers/gpu

[PATCH -next] drm/hisilicon: Remove unused function declaration hibmc_mm_init()

2023-08-08 Thread Yue Haibing
Commit 552a77bab3ff ("drm/hisilicon: Delete the entire file hibmc_ttm.c") removed the implementation but leave declaration. Signed-off-by: Yue Haibing --- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/hisil

[PATCH -next] drm/komeda: remove set but not used variable 'kcrtc'

2019-04-29 Thread Yue Haibing
From: YueHaibing Fixes gcc '-Wunused-but-set-variable' warning: drivers/gpu/drm/arm/display/komeda/komeda_plane.c: In function komeda_plane_atomic_check: drivers/gpu/drm/arm/display/komeda/komeda_plane.c:49:22: warning: variable kcrtc set but not used [-Wunused-but-set-variable] It is never

[PATCH] drm/nouveau: Fix DEVICE_PRIVATE dependencies

2019-04-18 Thread Yue Haibing
From: YueHaibing During randconfig builds, I occasionally run into an invalid configuration WARNING: unmet direct dependencies detected for DEVICE_PRIVATE Depends on [n]: ARCH_HAS_HMM_DEVICE [=n] && ZONE_DEVICE [=n] Selected by [y]: - DRM_NOUVEAU_SVM [=y] && HAS_IOMEM [=y] && ARCH_HAS_HMM

[PATCH -next] drm/lima: Make lima_sched_ops static

2019-04-17 Thread Yue Haibing
From: YueHaibing Fix sparse warning: drivers/gpu/drm/lima/lima_sched.c:356:36: warning: symbol 'lima_sched_ops' was not declared. Should it be static? Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/gpu/drm/lima/lima_sched.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH -next] drm/sun4i: Make some symbols static

2019-04-17 Thread Yue Haibing
From: YueHaibing Fix sparse warnings: drivers/gpu/drm/sun4i/sun8i_tcon_top.c:271:36: warning: symbol 'sun8i_r40_tcon_top_quirks' was not declared. Should it be static? drivers/gpu/drm/sun4i/sun8i_tcon_top.c:276:36: warning: symbol 'sun50i_h6_tcon_top_quirks' was not declared. Should it be

[PATCH -next] drm/panfrost: Make panfrost_gem_free_object() static

2019-04-17 Thread Yue Haibing
From: YueHaibing Fix sparse warning: drivers/gpu/drm/panfrost/panfrost_gem.c:17:6: warning: symbol 'panfrost_gem_free_object' was not declared. Should it be static? Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/gpu/drm/panfrost/panfrost_gem.c | 2 +- 1 file changed, 1

[PATCH -next] drm/meson: Make some functions static

2019-04-15 Thread Yue Haibing
From: YueHaibing Fix sparse warnings: drivers/gpu/drm/meson/meson_viu.c:93:6: warning: symbol 'meson_viu_set_g12a_osd1_matrix' was not declared. Should it be static? drivers/gpu/drm/meson/meson_viu.c:121:6: warning: symbol 'meson_viu_set_osd_matrix' was not declared. Should it be static?

[PATCH] drm/msm/a6xx: Fix build with !CONFIG_DEBUG_FS

2019-04-03 Thread Yue Haibing
From: YueHaibing When building CONFIG_DEBUG_FS is not set gcc warn this: drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c: In function a6xx_show: drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c:1124:2: error: implicit declaration of function adreno_show; did you mean adreno_dump?

[PATCH -next] drm/amd/display: Remove useless set memory to zero use memset()

2019-03-24 Thread Yue Haibing
From: YueHaibing The memory return by kzalloc() has already be set to zero, so remove useless memset(0). Signed-off-by: YueHaibing --- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c | 2 -- 1 file changed, 2 deletions(-) diff --git

[PATCH -next] drm/amd/powerplay: Remove useless set memory to zero use memset()

2019-03-24 Thread Yue Haibing
From: YueHaibing The memory return by kzalloc() has already be set to zero, so remove useless memset(0). Signed-off-by: YueHaibing --- drivers/gpu/drm/amd/powerplay/vega20_ppt.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/amd/powerplay/vega20_ppt.c

[PATCH -next] fbdev: omap2: omapfb: trivial code cleanup

2019-03-01 Thread Yue Haibing
From: YueHaibing After commit 60d2fa0dad06 ("fbdev: omap2: no need to check return value of debugfs_create functions"), there are corner code need to be cleaned. Signed-off-by: YueHaibing --- drivers/video/fbdev/omap2/omapfb/dss/core.c | 3 --- 1 file changed, 3 deletions(-) diff --git

[PATCH] drm/nouveau/debugfs: Fix check of pm_runtime_get_sync failure

2019-03-01 Thread Yue Haibing
From: YueHaibing pm_runtime_get_sync returns negative on failure. Fixes: eaeb9010bb4b ("drm/nouveau/debugfs: Wake up GPU before doing any reclocking") Signed-off-by: YueHaibing --- drivers/gpu/drm/nouveau/nouveau_debugfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git