Re: [PATCH 2/2] drm/vmwgfx: Use ttm_dma_page_alloc_enabled

2019-01-30 Thread Thomas Hellstrom
Hi, Sam, On 01/25/2019 07:22 PM, Sam Ravnborg wrote: Hi Thomas. One little nit, and an improvment proposal (for another patch/day). On Fri, Jan 25, 2019 at 02:05:48PM +0100, Thomas Hellstrom wrote: Instead of guessing whether TTM has the dma page allocator enabled, ask TTM. Signed-off-by: Th

Re: [PATCH 2/2] drm/vmwgfx: Use ttm_dma_page_alloc_enabled

2019-01-25 Thread Sam Ravnborg
Hi Thomas. One little nit, and an improvment proposal (for another patch/day). On Fri, Jan 25, 2019 at 02:05:48PM +0100, Thomas Hellstrom wrote: > Instead of guessing whether TTM has the dma page allocator enabled, > ask TTM. > > Signed-off-by: Thomas Hellstrom > --- > drivers/gpu/drm/vmwgfx/v

[PATCH 2/2] drm/vmwgfx: Use ttm_dma_page_alloc_enabled

2019-01-25 Thread Thomas Hellstrom
Instead of guessing whether TTM has the dma page allocator enabled, ask TTM. Signed-off-by: Thomas Hellstrom --- drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c