drm/msm: Add MSM_INFO_GET_FLAGS
authorRob Clark <robdclark@chromium.org>
Fri, 23 Sep 2022 17:33:07 +0000 (10:33 -0700)
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Wed, 2 Nov 2022 16:08:13 +0000 (19:08 +0300)
commit90d2c87f325ff3422995175bd92812b28d8eb2a9
tree087023803dad3ca186fb25f9c398226bd03903cb
parent92bab9142456c37d14a0de212b272cdd94846c6d
drm/msm: Add MSM_INFO_GET_FLAGS

In some cases crosvm needs a way to query the cache flags to communicate
them to the guest kernel for guest userspace mapping.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/504453/
Link: https://lore.kernel.org/r/20220923173307.2429872-1-robdclark@gmail.com
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
drivers/gpu/drm/msm/msm_drv.c
include/uapi/drm/msm_drm.h