All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/7] DRM kmap() fixes and kmap_local_page() conversions
@ 2021-12-10 23:23 ` ira.weiny
  0 siblings, 0 replies; 80+ messages in thread
From: ira.weiny @ 2021-12-10 23:23 UTC (permalink / raw)
  To: David Airlie, Daniel Vetter, Patrik Jakobsson, Rob Clark, Sean Paul
  Cc: Ira Weiny, amd-gfx, dri-devel, linux-kernel, intel-gfx, linux-arm-msm

From: Ira Weiny <ira.weiny@intel.com>

This series starts by converting the last easy kmap() uses to
kmap_local_page().

There is one more call to kmap() wrapped in ttm_bo_kmap_ttm().  Unfortunately,
ttm_bo_kmap_ttm() is called in a number of different ways including some which
are not thread local.  I have a patch to convert that call.  However, it is not
straight forward so it is not included in this series.

The final 2 patches fix bugs found while working on the ttm_bo_kmap_ttm()
conversion.


Ira Weiny (7):
drm/i915: Replace kmap() with kmap_local_page()
drm/amd: Replace kmap() with kmap_local_page()
drm/gma: Remove calls to kmap()
drm/radeon: Replace kmap() with kmap_local_page()
drm/msm: Alter comment to use kmap_local_page()
drm/amdgpu: Ensure kunmap is called on error
drm/radeon: Ensure kunmap is called on error

drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 8 ++++----
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c | 1 +
drivers/gpu/drm/gma500/gma_display.c | 6 ++----
drivers/gpu/drm/gma500/mmu.c | 8 ++++----
drivers/gpu/drm/i915/gem/i915_gem_shmem.c | 4 ++--
drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c | 8 ++++----
drivers/gpu/drm/i915/gt/intel_ggtt_fencing.c | 4 ++--
drivers/gpu/drm/i915/gt/shmem_utils.c | 4 ++--
drivers/gpu/drm/i915/i915_gem.c | 8 ++++----
drivers/gpu/drm/i915/i915_gpu_error.c | 4 ++--
drivers/gpu/drm/msm/msm_gem_submit.c | 4 ++--
drivers/gpu/drm/radeon/radeon_ttm.c | 4 ++--
drivers/gpu/drm/radeon/radeon_uvd.c | 1 +
13 files changed, 32 insertions(+), 32 deletions(-)

--
2.31.1


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

end of thread, other threads:[~2022-01-20 16:57 UTC | newest]

Thread overview: 80+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-10 23:23 [PATCH 0/7] DRM kmap() fixes and kmap_local_page() conversions ira.weiny
2021-12-10 23:23 ` [Intel-gfx] " ira.weiny
2021-12-10 23:23 ` ira.weiny
2021-12-10 23:23 ` [PATCH 1/7] drm/i915: Replace kmap() with kmap_local_page() ira.weiny
2021-12-10 23:23   ` [Intel-gfx] " ira.weiny
2021-12-10 23:23   ` ira.weiny
2021-12-13  9:04   ` Christoph Hellwig
2021-12-13  9:04     ` Christoph Hellwig
2021-12-13  9:04     ` [Intel-gfx] " Christoph Hellwig
2021-12-13 16:02     ` Ira Weiny
2021-12-13 16:02       ` Ira Weiny
2021-12-13 16:02       ` [Intel-gfx] " Ira Weiny
2021-12-13 16:02       ` Ira Weiny
2021-12-13 12:39   ` Ville Syrjälä
2021-12-13 12:39     ` Ville Syrjälä
2021-12-13 12:39     ` [Intel-gfx] " Ville Syrjälä
2021-12-13 12:39     ` Ville Syrjälä
2021-12-13 15:45     ` Ira Weiny
2021-12-13 15:45       ` Ira Weiny
2021-12-13 15:45       ` [Intel-gfx] " Ira Weiny
2021-12-13 15:45       ` Ira Weiny
2021-12-22  6:08   ` [PATCH V2] " ira.weiny
2021-12-22  6:08     ` [Intel-gfx] " ira.weiny
2021-12-22  6:08     ` ira.weiny
2021-12-10 23:23 ` [PATCH 2/7] drm/amd: " ira.weiny
2021-12-10 23:23   ` [Intel-gfx] " ira.weiny
2021-12-10 23:23   ` ira.weiny
2021-12-10 23:24 ` [PATCH 3/7] drm/gma: Remove calls to kmap() ira.weiny
2021-12-10 23:24   ` [Intel-gfx] " ira.weiny
2021-12-10 23:24   ` ira.weiny
2021-12-10 23:24 ` [PATCH 4/7] drm/radeon: Replace kmap() with kmap_local_page() ira.weiny
2021-12-10 23:24   ` [Intel-gfx] " ira.weiny
2021-12-10 23:24   ` ira.weiny
2021-12-10 23:24 ` [PATCH 5/7] drm/msm: Alter comment to use kmap_local_page() ira.weiny
2021-12-10 23:24   ` [Intel-gfx] " ira.weiny
2021-12-10 23:24   ` ira.weiny
2021-12-10 23:24 ` [PATCH 6/7] drm/amdgpu: Ensure kunmap is called on error ira.weiny
2021-12-10 23:24   ` [Intel-gfx] " ira.weiny
2021-12-10 23:24   ` ira.weiny
2021-12-13 20:37   ` Christian König
2021-12-13 20:37     ` [Intel-gfx] " Christian König
2021-12-13 20:37     ` Christian König
2021-12-14  3:37     ` Ira Weiny
2021-12-14  3:37       ` Ira Weiny
2021-12-14  3:37       ` [Intel-gfx] " Ira Weiny
2021-12-14  3:37       ` Ira Weiny
2021-12-14  7:09       ` Christian König
2021-12-14  7:09         ` Christian König
2021-12-14  7:09         ` [Intel-gfx] " Christian König
2021-12-14  7:09         ` Christian König
2021-12-15 21:09         ` Ira Weiny
2021-12-15 21:09           ` Ira Weiny
2021-12-15 21:09           ` [Intel-gfx] " Ira Weiny
2021-12-15 21:09           ` Ira Weiny
2021-12-16  8:32           ` Christian König
2021-12-16  8:32             ` Christian König
2021-12-16  8:32             ` [Intel-gfx] " Christian König
2021-12-16  8:32             ` Christian König
2021-12-10 23:24 ` [PATCH 7/7] drm/radeon: " ira.weiny
2021-12-10 23:24   ` [Intel-gfx] " ira.weiny
2021-12-10 23:24   ` ira.weiny
2021-12-10 23:36 ` [Intel-gfx] ✗ Fi.CI.BUILD: failure for DRM kmap() fixes and kmap_local_page() conversions Patchwork
2021-12-13 19:13 ` [Intel-gfx] ✗ Fi.CI.BUILD: failure for DRM kmap() fixes and kmap_local_page() conversions (rev2) Patchwork
2021-12-22  6:12 ` [Intel-gfx] ✗ Fi.CI.BUILD: failure for DRM kmap() fixes and kmap_local_page() conversions (rev3) Patchwork
2022-01-19 16:53 ` [PATCH 0/7] DRM kmap() fixes and kmap_local_page() conversions Ira Weiny
2022-01-19 16:53   ` [Intel-gfx] " Ira Weiny
2022-01-19 16:53   ` Ira Weiny
2022-01-19 17:24   ` Daniel Vetter
2022-01-19 17:24     ` Daniel Vetter
2022-01-19 17:24     ` [Intel-gfx] " Daniel Vetter
2022-01-19 17:24     ` Daniel Vetter
2022-01-19 23:55     ` Ira Weiny
2022-01-19 23:55       ` [Intel-gfx] " Ira Weiny
2022-01-20  8:16       ` Christian König
2022-01-20  8:16         ` [Intel-gfx] " Christian König
2022-01-20 15:48         ` Daniel Vetter
2022-01-20 15:48           ` Daniel Vetter
2022-01-20 15:48           ` Daniel Vetter
2022-01-20 15:48           ` Daniel Vetter
2022-01-20 16:57           ` Ira Weiny

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.