[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210303132023.077167457@linutronix.de>
Date: Wed, 03 Mar 2021 14:20:23 +0100
From: Thomas Gleixner <tglx@...utronix.de>
To: LKML <linux-kernel@...r.kernel.org>
cc: Christian Koenig <christian.koenig@....com>,
Huang Rui <ray.huang@....com>, David Airlie <airlied@...ux.ie>,
Daniel Vetter <daniel@...ll.ch>,
dri-devel@...ts.freedesktop.org,
VMware Graphics <linux-graphics-maintainer@...are.com>,
Roland Scheidegger <sroland@...are.com>,
Zack Rusin <zackr@...are.com>,
Andrew Morton <akpm@...ux-foundation.org>, linux-mm@...ck.org,
Gerd Hoffmann <kraxel@...hat.com>,
virtualization@...ts.linux-foundation.org,
spice-devel@...ts.freedesktop.org, Ben Skeggs <bskeggs@...hat.com>,
nouveau@...ts.freedesktop.org,
Jani Nikula <jani.nikula@...ux.intel.com>,
Joonas Lahtinen <joonas.lahtinen@...ux.intel.com>,
Rodrigo Vivi <rodrigo.vivi@...el.com>,
Chris Wilson <chris@...is-wilson.co.uk>,
intel-gfx@...ts.freedesktop.org
Subject: [patch 0/7] drm, highmem: Cleanup io/kmap_atomic*() usage
None of the DRM usage sites of temporary mappings requires the side
effects of io/kmap_atomic(), i.e. preemption and pagefault disable.
Replace them with the io/kmap_local() variants, simplify the
copy_to/from_user() error handling and remove the atomic variants.
Thanks,
tglx
---
Documentation/driver-api/io-mapping.rst | 22 +++-------
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c | 7 +--
drivers/gpu/drm/i915/i915_gem.c | 40 ++++++-------------
drivers/gpu/drm/i915/selftests/i915_gem.c | 4 -
drivers/gpu/drm/i915/selftests/i915_gem_gtt.c | 8 +--
drivers/gpu/drm/nouveau/nvkm/subdev/devinit/fbmem.h | 8 +--
drivers/gpu/drm/qxl/qxl_image.c | 18 ++++----
drivers/gpu/drm/qxl/qxl_ioctl.c | 27 ++++++------
drivers/gpu/drm/qxl/qxl_object.c | 12 ++---
drivers/gpu/drm/qxl/qxl_object.h | 4 -
drivers/gpu/drm/qxl/qxl_release.c | 4 -
drivers/gpu/drm/ttm/ttm_bo_util.c | 20 +++++----
drivers/gpu/drm/vmwgfx/vmwgfx_blit.c | 30 +++++---------
include/linux/highmem-internal.h | 14 ------
include/linux/io-mapping.h | 42 --------------------
15 files changed, 93 insertions(+), 167 deletions(-)
Powered by blists - more mailing lists