[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8CB463FC-BF27-48CD-8843-975AE600DE35@vmware.com>
Date: Wed, 30 Jun 2021 20:36:29 +0000
From: Zack Rusin <zackr@...are.com>
To: Randy Dunlap <rdunlap@...radead.org>
CC: LKML <linux-kernel@...r.kernel.org>,
Linux-graphics-maintainer <Linux-graphics-maintainer@...are.com>,
Roland Scheidegger <sroland@...are.com>,
DRI Development <dri-devel@...ts.freedesktop.org>,
Dave Airlie <airlied@...hat.com>,
Christian König <christian.koenig@....com>
Subject: Re: [PATCH -next] drm: vmwgfx: add header file for ttm_range_manager
> On Jun 30, 2021, at 16:32, Randy Dunlap <rdunlap@...radead.org> wrote:
>
> Add a header file for ttm_range_manager function prototypes to
> eliminate build errors:
>
> ../drivers/gpu/drm/vmwgfx/vmwgfx_drv.c: In function ‘vmw_vram_manager_init’:
> ../drivers/gpu/drm/vmwgfx/vmwgfx_drv.c:678:8: error: implicit declaration of function ‘ttm_range_man_init’; did you mean ‘ttm_tt_mgr_init’? [-Werror=implicit-function-declaration]
> ret = ttm_range_man_init(&dev_priv->bdev, TTM_PL_VRAM, false,
> ../drivers/gpu/drm/vmwgfx/vmwgfx_drv.c: In function ‘vmw_vram_manager_fini’:
> ../drivers/gpu/drm/vmwgfx/vmwgfx_drv.c:690:2: error: implicit declaration of function ‘ttm_range_man_fini’; did you mean ‘ttm_pool_mgr_fini’? [-Werror=implicit-function-declaration]
> ttm_range_man_fini(&dev_priv->bdev, TTM_PL_VRAM);
>
> Fixes: 9c3006a4cc1b ("drm/ttm: remove available_caching")
> Fixes: a343160235f5 ("drm/vmwgfx/ttm: fix the non-THP cleanup path.")
> Signed-off-by: Randy Dunlap <rdunlap@...radead.org>
> Cc: "VMware Graphics" <linux-graphics-maintainer@...are.com>
> Cc: Roland Scheidegger <sroland@...are.com>
> Cc: Zack Rusin <zackr@...are.com>
> Cc: dri-devel@...ts.freedesktop.org
> Cc: Dave Airlie <airlied@...hat.com>
> Cc: Christian König <christian.koenig@....com>
Thank you. That change has been part of drm-misc for a few weeks now:
https://cgit.freedesktop.org/drm/drm-misc/commit/?id=352a81b71ea0a3ce8f929aa60afe369d738a0c6a
I think it should be part of the next merge of drm-misc to linux-next. If not I’ll port it to drm-misc-fixes.
z
Powered by blists - more mailing lists