minigbm: msm: Add modifier for tiled buffer allocation

Allow ubwc buffer allocation and calculate its layout
for XBGR8888, ABGR8888 and NV12 formats

BUG=b:120118851
TEST=null_platform_test -f XB24 -m DRM_FORMAT_MOD_QCOM_COMPRESSED

For above test case display might be corrupted if UBWC content is not passed
to input buffer. But using crtc status, modifier information can be verified.

Change-Id: If040754d0cd52200feef56e40e931da0c4d2508d
Signed-off-by: Tanmay Shah <tanmay@codeaurora.org>
Reviewed-on: https://chromium-review.googlesource.com/1363690
Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
Reviewed-by: Kristian H. Kristensen <hoegsberg@chromium.org>
1 file changed