From: Jeykumar Sankaran Date: Mon, 11 Jun 2018 21:13:20 +0000 (-0700) Subject: drm/msm: enable zpos normalization X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=bb676df12b5e81cab57d1a212a6e9cfc343875a7;p=openwrt%2Fstaging%2Fblogic.git drm/msm: enable zpos normalization Enable drm core zpos normalization for planes. Changes in v3: - None Signed-off-by: Jeykumar Sankaran Reviewed-by: Sean Paul Signed-off-by: Sean Paul Signed-off-by: Rob Clark --- diff --git a/drivers/gpu/drm/msm/msm_drv.c b/drivers/gpu/drm/msm/msm_drv.c index 2608d3f77956..9c760cee5156 100644 --- a/drivers/gpu/drm/msm/msm_drv.c +++ b/drivers/gpu/drm/msm/msm_drv.c @@ -439,6 +439,9 @@ static int msm_drm_init(struct device *dev, struct drm_driver *drv) goto fail; } + /* Enable normalization of plane zpos */ + ddev->mode_config.normalize_zpos = true; + if (kms) { ret = kms->funcs->hw_init(kms); if (ret) {