[PATCH] drm/vmwgfx: switch from ioremap_cache to memremap

2015-10-28 Thread Thomas Hellstrom
Dan, On 10/19/2015 11:34 PM, Williams, Dan J wrote: > On Tue, 2015-10-13 at 20:52 +0200, Thomas Hellstrom wrote: >>> Ok, I'll make local read_fifo() and write_fifo() macros to make this >>> explicit. Are these names ok with you? >> Sure. >> > So I ended up just leaving the __iomem annotation on m

[PATCH] drm/vmwgfx: switch from ioremap_cache to memremap

2015-10-19 Thread Williams, Dan J
On Tue, 2015-10-13 at 20:52 +0200, Thomas Hellstrom wrote: > > Ok, I'll make local read_fifo() and write_fifo() macros to make this > > explicit. Are these names ok with you? > > Sure. > So I ended up just leaving the __iomem annotation on mmio_virt for now until the implementation can be conve

[PATCH] drm/vmwgfx: switch from ioremap_cache to memremap

2015-10-13 Thread Thomas Hellstrom
On 10/13/2015 08:48 PM, Dan Williams wrote: > On Tue, Oct 13, 2015 at 11:37 AM, Thomas Hellstrom > wrote: >> On 10/13/2015 06:35 PM, Dan Williams wrote: >>> On Mon, Oct 12, 2015 at 10:18 PM, Thomas Hellstrom >>> wrote: Hi! On 10/13/2015 12:35 AM, Dan Williams wrote: > Per commi

[PATCH] drm/vmwgfx: switch from ioremap_cache to memremap

2015-10-13 Thread Thomas Hellstrom
On 10/13/2015 06:35 PM, Dan Williams wrote: > On Mon, Oct 12, 2015 at 10:18 PM, Thomas Hellstrom > wrote: >> Hi! >> >> On 10/13/2015 12:35 AM, Dan Williams wrote: >>> Per commit 2e586a7e017a "drm/vmwgfx: Map the fifo as cached" the driver >>> expects the fifo registers to be cacheable. In prepara

[PATCH] drm/vmwgfx: switch from ioremap_cache to memremap

2015-10-13 Thread Dan Williams
On Tue, Oct 13, 2015 at 11:37 AM, Thomas Hellstrom wrote: > On 10/13/2015 06:35 PM, Dan Williams wrote: >> On Mon, Oct 12, 2015 at 10:18 PM, Thomas Hellstrom >> wrote: >>> Hi! >>> >>> On 10/13/2015 12:35 AM, Dan Williams wrote: Per commit 2e586a7e017a "drm/vmwgfx: Map the fifo as cached" the

[PATCH] drm/vmwgfx: switch from ioremap_cache to memremap

2015-10-13 Thread Dan Williams
On Mon, Oct 12, 2015 at 10:18 PM, Thomas Hellstrom wrote: > Hi! > > On 10/13/2015 12:35 AM, Dan Williams wrote: >> Per commit 2e586a7e017a "drm/vmwgfx: Map the fifo as cached" the driver >> expects the fifo registers to be cacheable. In preparation for >> deprecating ioremap_cache() convert its u

[PATCH] drm/vmwgfx: switch from ioremap_cache to memremap

2015-10-13 Thread Thomas Hellstrom
Hi! On 10/13/2015 12:35 AM, Dan Williams wrote: > Per commit 2e586a7e017a "drm/vmwgfx: Map the fifo as cached" the driver > expects the fifo registers to be cacheable. In preparation for > deprecating ioremap_cache() convert its usage in vmwgfx to memremap(). > > Cc: David Airlie > Cc: Thomas He

[PATCH] drm/vmwgfx: switch from ioremap_cache to memremap

2015-10-12 Thread Dan Williams
Per commit 2e586a7e017a "drm/vmwgfx: Map the fifo as cached" the driver expects the fifo registers to be cacheable. In preparation for deprecating ioremap_cache() convert its usage in vmwgfx to memremap(). Cc: David Airlie Cc: Thomas Hellstrom Cc: Sinclair Yeh Cc: dri-devel at lists.freedeskto