All of lore.kernel.org
 help / color / mirror / Atom feed
* fix DMA ops layering violations in vmwgfx
@ 2019-01-05  8:01 ` Christoph Hellwig
  0 siblings, 0 replies; 22+ messages in thread
From: Christoph Hellwig @ 2019-01-05  8:01 UTC (permalink / raw)
  To: thellstrom; +Cc: linux-graphics-maintainer, dri-devel, iommu, linux-kernel

Hi Thomas,

vmwgfx has been doing some odd checks based on DMA ops which rely
on deep DMA mapping layer internals, and I think the changes in
Linux 4.21 finally broke most of these implicit assumptions.

The real fix is in patch 3, but I think the others are important
to make it clear what is actually going on.

^ permalink raw reply	[flat|nested] 22+ messages in thread
* [PATCH 0/4] Fix DMA ops layering violations in vmwgfx v2
@ 2019-01-25  8:12 Thomas Hellstrom
  2019-01-25  8:12 ` [PATCH 3/4] drm/vmwgfx: fix the check when to use dma_alloc_coherent Thomas Hellstrom
  0 siblings, 1 reply; 22+ messages in thread
From: Thomas Hellstrom @ 2019-01-25  8:12 UTC (permalink / raw)
  To: hch, dri-devel, linux-graphics-maintainer

This is a patch set from Christoph Hellwig. Patch 2 has been updated by
me to not remove checks for TTM coherent pool presence. Ideally, we
should query TTM for this instead and I'll have a patch set intended for
5.1 so that we can do that. But I don't want to introduce cross-module API
additions outside of a merge window.

Original patch set description:
vmwgfx has been doing some odd checks based on DMA ops which rely
on deep DMA mapping layer internals, and I think the changes in
Linux 4.21 finally broke most of these implicit assumptions.

The real fix is in patch 3, but I think the others are important
to make it clear what is actually going on.


_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

end of thread, other threads:[~2019-01-25  8:12 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-05  8:01 fix DMA ops layering violations in vmwgfx Christoph Hellwig
2019-01-05  8:01 ` Christoph Hellwig
2019-01-05  8:01 ` [PATCH 1/4] drm/vmwgfx: remove CONFIG_X86 ifdefs Christoph Hellwig
2019-01-05  8:01   ` Christoph Hellwig
2019-01-05  8:01 ` [PATCH 2/4] drm/vmwgfx: remove CONFIG_INTEL_IOMMU ifdefs Christoph Hellwig
2019-01-05  8:01   ` Christoph Hellwig
2019-01-08 10:03   ` Thomas Hellstrom
2019-01-08 10:03     ` Thomas Hellstrom
2019-01-08 10:55   ` Thomas Hellstrom
2019-01-08 10:55     ` Thomas Hellstrom
2019-01-05  8:01 ` [PATCH 3/4] drm/vmwgfx: fix the check when to use dma_alloc_coherent Christoph Hellwig
2019-01-05  8:01   ` Christoph Hellwig
2019-01-05  8:01 ` [PATCH 4/4] drm/vmwgfx: unwind spaghetti code in vmw_dma_select_mode Christoph Hellwig
2019-01-05  8:01   ` Christoph Hellwig
2019-01-08 10:56   ` Thomas Hellstrom
2019-01-08 10:56     ` Thomas Hellstrom
2019-01-08  9:51 ` fix DMA ops layering violations in vmwgfx Thomas Hellstrom
2019-01-08 13:12   ` hch
2019-01-08 13:12     ` hch-jcswGhMUV9g
2019-01-08 18:25     ` Thomas Hellstrom
2019-01-08 18:25       ` Thomas Hellstrom
2019-01-25  8:12 [PATCH 0/4] Fix DMA ops layering violations in vmwgfx v2 Thomas Hellstrom
2019-01-25  8:12 ` [PATCH 3/4] drm/vmwgfx: fix the check when to use dma_alloc_coherent Thomas Hellstrom

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.