RM_XE_DISPLAY requires FB_IOMEM_HELPERS, but the dependency FB_CORE is
missing, selecting FB_IOMEM_HELPERS if DRM_FBDEV_EMULATION is set as
other drm drivers.
Fixes: 44e694958b95 ("drm/xe/display: Implement display support")
Signed-off-by: Yue Haibing
---
v2: select FB_IOMEM_HELPERS if DRM_
On 2025/3/22 20:51, Lucas De Marchi wrote:
> On Sat, Mar 22, 2025 at 05:55:21PM +0800, Yue Haibing wrote:
>> WARNING: unmet direct dependencies detected for FB_IOMEM_HELPERS
>> Depends on [n]: HAS_IOMEM [=y] && FB_CORE [=n]
>> Selected by [m]:
>> - DRM_XE_DI
MEM_HELPERS depends on FB_CORE, Select it before FB_IOMEM_HELPERS.
Fixes: 44e694958b95 ("drm/xe/display: Implement display support")
Signed-off-by: Yue Haibing
---
drivers/gpu/drm/xe/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/xe/Kconfig b/drivers/gpu/dr
On 2025/3/22 10:49, Yue Haibing wrote:
> If CONFIG_I2C is not set, build fails:
>
> drivers/media/cec/i2c/tda9950.c: In function ‘tda9950_probe’:
> drivers/media/cec/i2c/tda9950.c:391:14: error: implicit declaration of
> function ‘i2c_check_functionality’ [-Werror=implicit-funct
xes: caa6f4a75e9f ("media: cec: move driver for TDA9950 from drm/i2c")
Signed-off-by: Yue Haibing
---
v2: Fix patch title, also cc dri-devel list
---
drivers/media/cec/i2c/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/media/cec/i2c/Kconfig b/drivers/media/cec/i2c/
32 | return NULL;
|^~~~
Build fails if CONFIG_DRM_FBDEV_EMULATION is n, add missing header file.
Fixes: 9fa154f40eb6 ("drm/{i915,xe}: Run DRM default client setup")
Signed-off-by: Yue Haibing
---
drivers/gpu/drm/i915/display/intel_fbdev.h | 2 ++
1 file
Commit 87be41f09ac9 ("char/agp: Remove frontend code") removed the
implementation but leave declaration.
Signed-off-by: Yue Haibing
---
drivers/char/agp/agp.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/char/agp/agp.h b/drivers/char/agp/agp.h
index 67d7be800a7c..93
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
+++
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
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
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
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_
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
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
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 u
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
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 deletion(-
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 stat
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 inser
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?
drive
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?
[-Werror=implicit-func
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 a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.
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
b/drivers/gpu/drm/amd
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 a/driv
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 a/dr
25 matches
Mail list logo