diff options
author | Jeykumar Sankaran <jsanka@codeaurora.org> | 2018-02-13 20:42:44 +0300 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2018-04-19 17:08:31 +0300 |
commit | f2f3df0aa8522b5641110bbabe54c79922601476 (patch) | |
tree | fa60599feb28a494558f9766e13f36a43157b8f1 /drivers/gpu/drm/msm/disp/mdp_format.c | |
parent | 78b32d49c49f7162f9ab5884a1b7228f6bfa2632 (diff) | |
download | linux-f2f3df0aa8522b5641110bbabe54c79922601476.tar.xz |
drm/msm: Add modifier to mdp_get_format arguments
This change plumbs the new fb modifier through the various mdp/disp
get_format hooks.
Signed-off-by: Jeykumar Sankaran <jsanka@codeaurora.org>
[seanpaul pimped out commit message a bit]
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/msm/disp/mdp_format.c')
-rw-r--r-- | drivers/gpu/drm/msm/disp/mdp_format.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/msm/disp/mdp_format.c b/drivers/gpu/drm/msm/disp/mdp_format.c index b4a8aa4490ee..005760bee708 100644 --- a/drivers/gpu/drm/msm/disp/mdp_format.c +++ b/drivers/gpu/drm/msm/disp/mdp_format.c @@ -171,7 +171,8 @@ uint32_t mdp_get_formats(uint32_t *pixel_formats, uint32_t max_formats, return i; } -const struct msm_format *mdp_get_format(struct msm_kms *kms, uint32_t format) +const struct msm_format *mdp_get_format(struct msm_kms *kms, uint32_t format, + uint64_t modifier) { int i; for (i = 0; i < ARRAY_SIZE(formats); i++) { |