mirror-linux/drivers/gpu/drm
Balbir Singh c322874710 gpu/drm/nouveau: enable THP support for GPU memory migration
Enable MIGRATE_VMA_SELECT_COMPOUND support in nouveau driver to take
advantage of THP zone device migration capabilities.

Update migration and eviction code paths to handle compound page sizes
appropriately, improving memory bandwidth utilization and reducing
migration overhead for large GPU memory allocations.

[balbirs@nvidia.com: fix sparse error]
  Link: https://lkml.kernel.org/r/20251115003333.3516870-1-balbirs@nvidia.com
Link: https://lkml.kernel.org/r/20251001065707.920170-17-balbirs@nvidia.com
Signed-off-by: Balbir Singh <balbirs@nvidia.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Zi Yan <ziy@nvidia.com>
Cc: Joshua Hahn <joshua.hahnjy@gmail.com>
Cc: Rakie Kim <rakie.kim@sk.com>
Cc: Byungchul Park <byungchul@sk.com>
Cc: Gregory Price <gourry@gourry.net>
Cc: Ying Huang <ying.huang@linux.alibaba.com>
Cc: Alistair Popple <apopple@nvidia.com>
Cc: Oscar Salvador <osalvador@suse.de>
Cc: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Cc: Baolin Wang <baolin.wang@linux.alibaba.com>
Cc: "Liam R. Howlett" <Liam.Howlett@oracle.com>
Cc: Nico Pache <npache@redhat.com>
Cc: Ryan Roberts <ryan.roberts@arm.com>
Cc: Dev Jain <dev.jain@arm.com>
Cc: Barry Song <baohua@kernel.org>
Cc: Lyude Paul <lyude@redhat.com>
Cc: Danilo Krummrich <dakr@kernel.org>
Cc: David Airlie <airlied@gmail.com>
Cc: Simona Vetter <simona@ffwll.ch>
Cc: Ralph Campbell <rcampbell@nvidia.com>
Cc: Mika Penttilä <mpenttil@redhat.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Cc: Francois Dugast <francois.dugast@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2025-11-24 15:08:49 -08:00
..
adp
amd mm/zone_device: rename page_free callback to folio_free 2025-11-24 15:08:47 -08:00
arm
armada
aspeed
ast drm/ast: Clear preserved bits from register output value 2025-10-30 20:44:44 +01:00
atmel-hlcdc
bridge Merge drm/drm-fixes into drm-misc-fixes 2025-10-14 10:59:58 +02:00
ci drm/ci: disable broken MR check in sanity job 2025-10-16 07:49:06 -07:00
clients
display [GIT PULL for v6.18] media updates 2025-10-02 13:13:26 -07:00
etnaviv drm/etnaviv: fix flush sequence logic 2025-10-27 22:47:09 +01:00
exynos drm/exynos: dsi: add support for exynos7870 2025-09-15 20:19:23 +09:00
fsl-dcu
gma500 drm next for 6.18-rc1 2025-10-02 12:47:25 -07:00
gud drm/gud: Replace simple display pipe with DRM atomic helpers 2025-09-01 08:42:51 +02:00
hisilicon drm/hisilicon/hibmc: fix dp and vga cannot show together 2025-08-17 18:32:31 +03:00
hyperv
i915 Third round of Kbuild fixes for 6.19 2025-11-09 09:22:08 -08:00
imagination drm/imagination: Optionally depend on POWER_SEQUENCING 2025-11-03 13:26:44 +00:00
imx drm/imx: parallel-display: add the bridge before attaching it 2025-10-30 16:55:19 +01:00
ingenic
kmb
lib
lima
logicvc
loongson
mcde
mediatek drm/mediatek: Add pm_runtime support for GCE power control 2025-11-01 14:14:56 +00:00
meson
mgag200
msm Merge tag 'drm-msm-fixes-2025-10-29' of https://gitlab.freedesktop.org/drm/msm into drm-fixes 2025-10-31 19:07:39 +01:00
mxsfb
nouveau gpu/drm/nouveau: enable THP support for GPU memory migration 2025-11-24 15:08:49 -08:00
nova DRM Rust changes for v6.18 2025-09-17 16:13:49 +10:00
omapdrm drm/omapdrm: use drm_bridge_chain_get_last_bridge() 2025-09-02 11:38:29 +02:00
panel drm/panel: kingdisplay-kd097d04: Disable EoTp 2025-10-29 21:57:42 +01:00
panfrost Merge drm/drm-next into drm-misc-next 2025-08-20 09:33:06 +02:00
panthor drm/panthor: Fix kernel panic on partial unmap of a GPU VA region 2025-10-17 13:48:56 +01:00
pl111
qxl
radeon drm/radeon: Remove calls to drm_put_dev() 2025-10-28 11:00:08 -04:00
renesas drm/rcar-du: dsi: Implement DSI command support 2025-09-08 09:45:01 +03:00
rockchip drm/rockchip: dw_hdmi: use correct SCLIN mask for RK3228 2025-10-16 17:57:50 +02:00
scheduler drm/sched: Fix deadlock in drm_sched_entity_kill_jobs_cb 2025-11-05 12:29:52 +01:00
sitronix drm/st7571-i2c: add support for 2bit grayscale for XRGB8888 2025-09-01 15:35:29 +02:00
solomon drm/ssd130x: Remove the use of dev_err_probe() 2025-09-01 16:09:19 +02:00
sprd
sti drm/sti: Remove redundant ternary operators 2025-09-05 13:17:21 +02:00
stm drm/stm: ltdc: handle lvds pixel clock 2025-08-28 17:43:57 +02:00
sun4i
sysfb drm/sysfb: Remove double assignment to pointer crtc_state 2025-09-04 09:26:39 +02:00
tegra Revert "drm/tegra: Use dma_buf from GEM object instance" 2025-08-26 10:41:27 +02:00
tests Linux 6.17-rc6 2025-09-15 17:51:07 +10:00
tidss drm/tidss: dispc: Explicitly include bitfield.h 2025-09-03 12:16:04 +03:00
tilcdc
tiny drm/tiny: pixpaper: add explicit dependency on MMU 2025-11-06 13:47:29 +01:00
ttm ttm/bo: add an API to populate a bo before exporting. 2025-09-11 10:01:38 +10:00
tve200
tyr rust: drm: Introduce the Tyr driver for Arm Mali GPUs 2025-09-11 12:20:03 +00:00
udl
v3d drm next fixes for 6.18-rc1 2025-10-10 14:02:14 -07:00
vboxvideo
vc4
vgem
virtio drm/virtio: clean up minor codestyle issues 2025-08-20 13:36:45 +03:00
vkms drm/vkms: Add P01* formats 2025-09-05 19:57:26 +02:00
vmwgfx drm fixes for 6.18-rc1 2025-10-10 13:59:38 -07:00
xe drm/xe: Enforce correct user fence signaling order using 2025-11-07 03:55:19 -08:00
xen
xlnx
Kconfig hyperv-next for v6.18 2025-10-07 08:40:15 -07:00
Kconfig.debug
Makefile kbuild: Let kernel-doc.py use PYTHON3 override 2025-11-08 19:42:22 -07:00
drm_atomic.c
drm_atomic_helper.c
drm_atomic_state_helper.c
drm_atomic_uapi.c drm: re-allow no-op changes on non-primary planes in async flips 2025-08-22 14:31:21 -03:00
drm_auth.c
drm_blend.c
drm_bridge.c drm/debugfs: bridges_show: show refcount 2025-09-02 11:18:55 +02:00
drm_bridge_helper.c
drm_buddy.c
drm_cache.c
drm_client.c
drm_client_event.c
drm_client_modeset.c
drm_color_mgmt.c drm/color-mgmt: Prepare for RGB332 palettes 2025-08-26 09:54:18 +02:00
drm_connector.c
drm_crtc.c
drm_crtc_helper.c
drm_crtc_helper_internal.h
drm_crtc_internal.h
drm_damage_helper.c
drm_debugfs.c
drm_debugfs_crc.c
drm_displayid.c
drm_displayid_internal.h
drm_draw.c drm/draw: fix color truncation in drm_draw_fill24 2025-10-14 09:25:10 +02:00
drm_draw_internal.h drm/draw: fix color truncation in drm_draw_fill24 2025-10-14 09:25:10 +02:00
drm_drv.c Merge drm/drm-next into drm-intel-next 2025-09-10 08:01:42 -04:00
drm_dumb_buffers.c
drm_edid.c
drm_edid_load.c
drm_eld.c
drm_encoder.c
drm_exec.c
drm_fb_dma_helper.c
drm_fb_helper.c
drm_fbdev_dma.c
drm_fbdev_shmem.c
drm_fbdev_ttm.c
drm_file.c
drm_flip_work.c
drm_format_helper.c drm/format-helper: introduce drm_fb_xrgb8888_to_gray2() 2025-09-01 15:35:07 +02:00
drm_format_internal.h
drm_fourcc.c
drm_framebuffer.c
drm_gem.c Summary of significant series in this pull request: 2025-10-02 18:18:33 -07:00
drm_gem_atomic_helper.c drm/sysfb: Do not dereference NULL pointer in plane reset 2025-10-26 17:09:56 +01:00
drm_gem_dma_helper.c
drm_gem_framebuffer_helper.c
drm_gem_shmem_helper.c
drm_gem_ttm_helper.c
drm_gem_vram_helper.c
drm_gpusvm.c drm/gpusvm, drm/xe: Fix userptr to not allow device private pages 2025-10-02 21:57:52 -07:00
drm_gpuvm.c drm next for 6.18-rc1 2025-10-02 12:47:25 -07:00
drm_internal.h
drm_ioc32.c
drm_ioctl.c
drm_kms_helper_common.c
drm_lease.c
drm_managed.c
drm_mipi_dbi.c
drm_mipi_dsi.c drm: Add MIPI read_multi func and two write macros 2025-08-14 15:42:26 -07:00
drm_mm.c
drm_mode_config.c
drm_mode_object.c
drm_modes.c
drm_modeset_helper.c
drm_modeset_lock.c
drm_of.c drm: of: fix documentation reference 2025-08-21 16:21:08 +02:00
drm_pagemap.c mm/zone_device: rename page_free callback to folio_free 2025-11-24 15:08:47 -08:00
drm_panel.c drm/panel: Allow powering on panel follower after panel is enabled 2025-08-25 09:17:49 -07:00
drm_panel_backlight_quirks.c drm: panel-backlight-quirks: Add Steam Deck brightness quirk 2025-09-03 10:23:03 -05:00
drm_panel_orientation_quirks.c
drm_panic.c drm/panic: Fix 24bit pixel crossing page boundaries 2025-10-21 11:28:03 +02:00
drm_panic_qr.rs drm/panic: use `core::ffi::CStr` method names 2025-09-16 09:26:59 +02:00
drm_pci.c
drm_plane.c
drm_plane_helper.c
drm_prime.c
drm_print.c
drm_privacy_screen.c
drm_privacy_screen_x86.c
drm_probe_helper.c
drm_property.c
drm_rect.c
drm_self_refresh_helper.c
drm_simple_kms_helper.c
drm_suballoc.c
drm_syncobj.c
drm_sysfs.c DRM: Add a new 'boot_display' attribute 2025-09-10 09:35:33 -05:00
drm_trace.h
drm_trace_points.c
drm_vblank.c
drm_vblank_work.c
drm_vma_manager.c
drm_writeback.c