drm: add msm compressed format modifiers
authorJeykumar Sankaran <jsanka@codeaurora.org>
Wed, 6 Jun 2018 02:00:54 +0000 (19:00 -0700)
committerSean Paul <seanpaul@chromium.org>
Thu, 26 Jul 2018 14:39:21 +0000 (10:39 -0400)
commit2a8536f6e8464b8988baa7db881f30721616b0da
tree16763b292c8f1c0e7398c357079b6b96fce9fcea
parentea107a183be1d6e69448d7100121c479e24b7c1d
drm: add msm compressed format modifiers

Qualcomm Snapdragon chipsets uses compressed format
to optimize BW across multiple IP's. This change adds
needed modifier support in drm for a simple 4x4 tile
based compressed variants of base formats.

Changes in v3:
- Removed duplicate entry for DRM_FORMAT_MOD_QCOM_COMPRESSED (Rob Clark)
Changes in v4:
- Remove all modifiers aside from COMPRESSED, this includes tiled and
  10-bit

Signed-off-by: Jeykumar Sankaran <jsanka@codeaurora.org>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
include/uapi/drm/drm_fourcc.h