diff options
author | Jonathan Marek <jonathan@marek.ca> | 2020-04-23 17:09:14 -0400 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2020-05-18 09:26:33 -0700 |
commit | 0b462d7a71c07e96b8f02cbc2d134fdc6e80ef34 (patch) | |
tree | 62517af5262e2ede94498c19b6c38642897f1cc5 /drivers/gpu/drm/msm/msm_gem.h | |
parent | d3b8877e57247c628966b155c02b4ed2e61b88f2 (diff) | |
download | lwn-0b462d7a71c07e96b8f02cbc2d134fdc6e80ef34.tar.gz lwn-0b462d7a71c07e96b8f02cbc2d134fdc6e80ef34.zip |
drm/msm: add internal MSM_BO_MAP_PRIV flag
This flag sets IOMMU_PRIV, which is required for some a6xx GMU objects.
Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Jordan Crouse <jcrouse@codeauorora.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'drivers/gpu/drm/msm/msm_gem.h')
-rw-r--r-- | drivers/gpu/drm/msm/msm_gem.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/msm/msm_gem.h b/drivers/gpu/drm/msm/msm_gem.h index 30584eaf8cc8..972490b14ba5 100644 --- a/drivers/gpu/drm/msm/msm_gem.h +++ b/drivers/gpu/drm/msm/msm_gem.h @@ -13,6 +13,7 @@ /* Additional internal-use only BO flags: */ #define MSM_BO_STOLEN 0x10000000 /* try to use stolen/splash memory */ +#define MSM_BO_MAP_PRIV 0x20000000 /* use IOMMU_PRIV when mapping */ struct msm_gem_address_space { const char *name; |