mirror-linux/drivers/gpu/drm/lima
Erico Nunes b27a838f92 drm/lima: fix void pointer to enum lima_gpu_id cast warning
Create a simple data struct to hold compatible data so that we don't
have to do the casts to void pointer to hold data.
Fixes the following warning:
  drivers/gpu/drm/lima/lima_drv.c:387:13: error: cast to smaller integer
  type 'enum lima_gpu_id' from 'const void *'

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Signed-off-by: Qiang Yu <yuq825@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240401224329.1228468-3-nunes.erico@gmail.com
2024-04-15 09:06:27 +08:00
..
Kconfig
Makefile
lima_bcast.c drm/lima: add mask irq callback to gp and pp 2024-04-15 09:05:38 +08:00
lima_bcast.h drm/lima: add mask irq callback to gp and pp 2024-04-15 09:05:38 +08:00
lima_ctx.c drm/lima: remove guilty drm_sched context handling 2024-02-12 16:27:28 +08:00
lima_ctx.h drm/lima: remove guilty drm_sched context handling 2024-02-12 16:27:28 +08:00
lima_devfreq.c
lima_devfreq.h
lima_device.c drm/sched: implement dynamic job-flow control 2023-11-10 02:54:29 +01:00
lima_device.h Revert "drm/lima: allocate unique id per drm_file" 2023-04-05 08:40:06 +08:00
lima_dlbu.c
lima_dlbu.h
lima_drv.c drm/lima: fix void pointer to enum lima_gpu_id cast warning 2024-04-15 09:06:27 +08:00
lima_drv.h drm/lima: fix void pointer to enum lima_gpu_id cast warning 2024-04-15 09:06:27 +08:00
lima_dump.h
lima_gem.c drm/lima: fix a memleak in lima_heap_alloc 2024-01-19 10:12:01 +08:00
lima_gem.h
lima_gp.c drm/lima: fix shared irq handling on driver remove 2024-04-15 09:06:18 +08:00
lima_gp.h
lima_l2_cache.c drm/lima: standardize debug messages by ip name 2024-02-12 16:27:48 +08:00
lima_l2_cache.h
lima_mmu.c drm/lima: fix shared irq handling on driver remove 2024-04-15 09:06:18 +08:00
lima_mmu.h
lima_pmu.c drm/lima: standardize debug messages by ip name 2024-02-12 16:27:48 +08:00
lima_pmu.h
lima_pp.c drm/lima: fix shared irq handling on driver remove 2024-04-15 09:06:18 +08:00
lima_pp.h
lima_regs.h
lima_sched.c drm/lima: mask irqs in timeout path before hard reset 2024-04-15 09:06:04 +08:00
lima_sched.h drm/lima: add mask irq callback to gp and pp 2024-04-15 09:05:38 +08:00
lima_trace.c
lima_trace.h
lima_vm.c
lima_vm.h