drm/ttm: add a simple assign mem to bo wrapper
authorDave Airlie <airlied@redhat.com>
Thu, 17 Sep 2020 04:03:46 +0000 (14:03 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 17 Sep 2020 20:16:39 +0000 (06:16 +1000)
commit2ee476f77ffe5a7ecbd4e1e20fa0859cb541530d
treed720d49097af4b680c84833ebceb91f9bf2e63b0
parentcae515f4a5d9e17eb1f0db1eef9028601ab2decf
drm/ttm: add a simple assign mem to bo wrapper

This pattern is called in a few places, just clean it up.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200917043040.146575-6-airlied@gmail.com
drivers/gpu/drm/ttm/ttm_bo_util.c
include/drm/ttm/ttm_bo_driver.h