drm/msm/gpu: add per-process pagetables param
authorRob Clark <robdclark@chromium.org>
Mon, 15 Apr 2019 23:55:45 +0000 (16:55 -0700)
committerRob Clark <robdclark@chromium.org>
Fri, 19 Apr 2019 18:49:42 +0000 (11:49 -0700)
commitd674c963af7470b6394b4b7f98cf2716b3a757d7
tree5c0a4c4b01f594a92c08db80efa1bf7c63cbb4ef
parent6cd5235c3135ea84b32469ea51b2aae384eda8af
drm/msm/gpu: add per-process pagetables param

For now it always returns '0' (false), but once the iommu work is in
place to enable per-process pagetables we can update the value returned.

Userspace needs to know this to make an informed decision about exposing
KHR_robustness.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Jordan Crouse <jcrouse@codeaurora.org>
drivers/gpu/drm/msm/adreno/adreno_gpu.c
include/uapi/drm/msm_drm.h