RE: [PATCH] drm/amdgpu: avoid dummy_read_page overlapping mappings

2024-10-22 Thread Liang, Prike
22, 2024 3:19 PM > To: amd-gfx@lists.freedesktop.org > Cc: Deucher, Alexander ; Liang, Prike > > Subject: [PATCH] drm/amdgpu: avoid dummy_read_page overlapping mappings > > In the A+A system, the dummy_read_page is mapped twice during the device > graphics memory software ini

[PATCH] drm/amdgpu: avoid dummy_read_page overlapping mappings

2024-10-22 Thread Prike Liang
In the A+A system, the dummy_read_page is mapped twice during the device graphics memory software initialization. To avoid page remapping, export the ttm_glob_use_count to the driver for checking whether the same page has already been mapped. Signed-off-by: Prike Liang --- drivers/gpu/drm/amd/a