Commit bb676df1 authored by Jeykumar Sankaran's avatar Jeykumar Sankaran Committed by Sean Paul

drm/msm: enable zpos normalization

Enable drm core zpos normalization for planes.

Changes in v3:
- None
Signed-off-by: default avatarJeykumar Sankaran <jsanka@codeaurora.org>
Reviewed-by: default avatarSean Paul <seanpaul@chromium.org>
Signed-off-by: default avatarSean Paul <seanpaul@chromium.org>
Signed-off-by: default avatarRob Clark <robdclark@gmail.com>
parent bc3220be
...@@ -439,6 +439,9 @@ static int msm_drm_init(struct device *dev, struct drm_driver *drv) ...@@ -439,6 +439,9 @@ static int msm_drm_init(struct device *dev, struct drm_driver *drv)
goto fail; goto fail;
} }
/* Enable normalization of plane zpos */
ddev->mode_config.normalize_zpos = true;
if (kms) { if (kms) {
ret = kms->funcs->hw_init(kms); ret = kms->funcs->hw_init(kms);
if (ret) { if (ret) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment