diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2019-06-11 16:40:31 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2019-08-23 12:55:33 +1000 |
commit | 7a962f2b7276ccfb844583f0db5680e763d6f6da (patch) | |
tree | 193fb43ad9405b66dca754b960af9e014a382aaf /drivers/gpu/drm/nouveau/dispnv50/disp.c | |
parent | 6f78991fbcfe44c762fe783812f08500a8411ea9 (diff) | |
download | lwn-7a962f2b7276ccfb844583f0db5680e763d6f6da.tar.gz lwn-7a962f2b7276ccfb844583f0db5680e763d6f6da.zip |
drm/nouveau/kms/nv50-: attach immutable zpos property to planes
Defaulting to the fixed layout enforced in HW by EVO, and that we
currently use by default on NVD.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/dispnv50/disp.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/dispnv50/disp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/dispnv50/disp.c b/drivers/gpu/drm/nouveau/dispnv50/disp.c index 7ce7145f82b8..146e54ef672e 100644 --- a/drivers/gpu/drm/nouveau/dispnv50/disp.c +++ b/drivers/gpu/drm/nouveau/dispnv50/disp.c @@ -2316,6 +2316,7 @@ nv50_display_create(struct drm_device *dev) disp->disp = &nouveau_display(dev)->disp; dev->mode_config.funcs = &nv50_disp_func; dev->mode_config.quirk_addfb_prefer_xbgr_30bpp = true; + dev->mode_config.normalize_zpos = true; /* small shared memory area we use for notifiers and semaphores */ ret = nouveau_bo_new(&drm->client, 4096, 0x1000, TTM_PL_FLAG_VRAM, |