linux/drivers/gpu/drm/loongson
Amin GATTOUT 81e1035e1b drm/loongson: use drm_gem_ttm_dumb_map_offset()
Replace the open-coded lsdc_dumb_map_offset() with the generic
drm_gem_ttm_dumb_map_offset() helper, which is functionally identical.
This removes unnecessary boilerplate and aligns with the DRM convention
for TTM-based drivers.

Signed-off-by: Amin GATTOUT <amin.gattout@gmail.com>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patch.msgid.link/20260308-master-v1-1-af32d71c8a1d@gmail.com
2026-03-11 09:40:07 +01:00
..
Kconfig PCI: Add CONFIG_MMU dependency 2025-04-23 15:40:30 -05:00
loongson_device.c
loongson_module.c
loongson_module.h
lsdc_benchmark.c drm: include drm_print.h where needed 2025-10-31 10:34:52 +02:00
lsdc_benchmark.h
lsdc_crtc.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
lsdc_debugfs.c drm: include drm_print.h where needed 2025-10-31 10:34:52 +02:00
lsdc_drv.c drm/loongson: use drm_gem_ttm_dumb_map_offset() 2026-03-11 09:40:07 +01:00
lsdc_drv.h
lsdc_gem.c drm/loongson: use drm_gem_ttm_dumb_map_offset() 2026-03-11 09:40:07 +01:00
lsdc_gem.h drm/loongson: use drm_gem_ttm_dumb_map_offset() 2026-03-11 09:40:07 +01:00
lsdc_gfxpll.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
lsdc_gfxpll.h
lsdc_i2c.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
lsdc_i2c.h
lsdc_irq.c drm: include drm_print.h where needed 2025-10-31 10:34:52 +02:00
lsdc_irq.h
lsdc_output_7a1000.c drm: include drm_print.h where needed 2025-10-31 10:34:52 +02:00
lsdc_output_7a2000.c drm: include drm_print.h where needed 2025-10-31 10:34:52 +02:00
lsdc_output.h
lsdc_pixpll.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
lsdc_pixpll.h
lsdc_plane.c drm: include drm_print.h where needed 2025-10-31 10:34:52 +02:00
lsdc_probe.c
lsdc_probe.h
lsdc_regs.h
lsdc_ttm.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
lsdc_ttm.h
Makefile