mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] drm/lima: two driver cleanups
@ 2024-04-01 22:43 Erico Nunes
  2024-04-01 22:43 ` [PATCH 1/2] drm/lima: fix shared irq handling on driver remove Erico Nunes
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Erico Nunes @ 2024-04-01 22:43 UTC (permalink / raw)
  To: Qiang Yu, anarsoul, dri-devel, lima
  Cc: Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann,
	David Airlie, Daniel Vetter, linux-kernel, Erico Nunes

Patch 1 is a fix for a crash which triggers on removing the module on
kernels with CONFIG_DEBUG_SHIRQ enabled, such as the Fedora kernel.

Patch 2 is a fix to this warning:
  drivers/gpu/drm/lima/lima_drv.c:387:13: error: cast to smaller integer
  type 'enum lima_gpu_id' from 'const void *'
  [-Werror,-Wvoid-pointer-to-enum-cast]
which we have received as a repeated report from the kernel test bot to
the lima mailing list.
The warning only reproduces with recent clang on aarch64, but the patch
does get rid of it and there seem to be no more warnings for W=1.

Erico Nunes (2):
  drm/lima: fix shared irq handling on driver remove
  drm/lima: fix void pointer to enum lima_gpu_id cast warning

 drivers/gpu/drm/lima/lima_drv.c | 21 ++++++++++++++++++---
 drivers/gpu/drm/lima/lima_drv.h |  5 +++++
 drivers/gpu/drm/lima/lima_gp.c  |  2 ++
 drivers/gpu/drm/lima/lima_mmu.c |  5 +++++
 drivers/gpu/drm/lima/lima_pp.c  |  4 ++++
 5 files changed, 34 insertions(+), 3 deletions(-)

-- 
2.44.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-04-15  1:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-01 22:43 [PATCH 0/2] drm/lima: two driver cleanups Erico Nunes
2024-04-01 22:43 ` [PATCH 1/2] drm/lima: fix shared irq handling on driver remove Erico Nunes
2024-04-01 22:43 ` [PATCH 2/2] drm/lima: fix void pointer to enum lima_gpu_id cast warning Erico Nunes
2024-04-04 12:51 ` [PATCH 0/2] drm/lima: two driver cleanups Qiang Yu
2024-04-15  1:18   ` Qiang Yu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®