]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/gpu/drm/nouveau/dispnv50/disp.c
drm/nouveau/kms/nv50-: attach immutable zpos property to planes
[linux.git] / drivers / gpu / drm / nouveau / dispnv50 / disp.c
index 7ce7145f82b8a582a382af13a572010c1e397e34..146e54ef672e3e97a3f47cf983238e16a8409670 100644 (file)
@@ -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,