drm/msm: enable zpos normalization
Enable drm core zpos normalization for planes. Changes in v3: - None Signed-off-by: Jeykumar Sankaran <jsanka@codeaurora.org> Reviewed-by: Sean Paul <seanpaul@chromium.org> Signed-off-by: Sean Paul <seanpaul@chromium.org> Signed-off-by: Rob Clark <robdclark@gmail.com>
This commit is contained in:
parent
bc3220be22
commit
bb676df12b
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue