drm/hisilicon/hibmc: Add video memory management
authorRongrong Zou <zourongrong@gmail.com>
Wed, 16 Nov 2016 13:31:51 +0000 (21:31 +0800)
committerRongrong Zou <zourongrong@gmail.com>
Thu, 17 Nov 2016 07:26:24 +0000 (15:26 +0800)
commite4daebc77e7b34fc7442ff78a3c3410376f1bcba
tree5bccb1f9492c439f1e4d8b589f5754bdd011e5b5
parent5e0df3a08f3d17485a5081634902424c6834e001
drm/hisilicon/hibmc: Add video memory management

Hibmc have 32m video memory which can be accessed through PCIe by host,
we use ttm to manage these memory.

Signed-off-by: Rongrong Zou <zourongrong@gmail.com>
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Reviewed-by: Xinliang Liu <xinliang.liu@linaro.org>
Acked-by: Sean Paul <seanpaul@chromium.org>
drivers/gpu/drm/hisilicon/hibmc/Makefile
drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c
drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h
drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c [new file with mode: 0644]