[Nouveau] [PATCH -next] drm/nouveau/disp: fix incompatible types in subtraction

2023-08-11 Thread Chen Jiahao
ess spaces) In struct nvif_push, "cur" is of type u32 *, whereas dmac->_push.mem.object.map.ptr is of type void __iomem *. Converting push->cur to u32 __iomem * to fix above sparse error. Fixes: 9cf06d6ef7fd ("drm/nouveau/disp: fix cast removes address space of expression warnin

[Nouveau] [PATCH] drm: nouveau: fix nouveau_backlight compiling error

2021-06-26 Thread Chen Jiahao
->uses_dpcd) { |^~ The problem is solved by adding the CONFIG_DRM_NOUVEAU_BACKLIGHT dependency where struct nouveau_backlight is used. Signed-off-by: Chen Jiahao --- drivers/gpu/drm/nouveau/dispnv50/disp.c | 4 1 file changed, 4 insertions(+) diff --git a/d