OSDN Git Service

msm: Clear all sw use flags for UBWC combinations
authorKristian H. Kristensen <hoegsberg@google.com>
Tue, 8 Sep 2020 03:28:23 +0000 (03:28 +0000)
committerCommit Bot <commit-bot@chromium.org>
Wed, 9 Sep 2020 21:12:09 +0000 (21:12 +0000)
commit2de95ecb065e5ba5aadc91f6c4dff4160add60e0
tree24f60208f41aeb8cd056dad1a37396b874ec0fa6
parent45aa68b553a8da1aad1df1af1b8d23e7c8860718
msm: Clear all sw use flags for UBWC combinations

Whether rarely or often, we can't support any kind of sw access if the
buffer is UBWC compressed.  We could potentially add support for
blitting in and out of the buffer, but for now just allocate linear.

BUG=b:167934919
TEST=Buffers allocated with any SW access use flag don't get UBWC

Change-Id: Ic9c1d86a124e24b7bc4aa259c62d8c4882c487b2
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/2397084
Tested-by: Kristian H. Kristensen <hoegsberg@chromium.org>
Reviewed-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
Commit-Queue: Kristian H. Kristensen <hoegsberg@chromium.org>
msm.c