diff options
Diffstat (limited to 'src/drmmode_display.c')
-rw-r--r-- | src/drmmode_display.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/drmmode_display.c b/src/drmmode_display.c index cd13820..6495961 100644 --- a/src/drmmode_display.c +++ b/src/drmmode_display.c @@ -42,8 +42,6 @@ #include "libudev.h" #endif -#include "nouveau_glamor.h" - static Bool drmmode_xf86crtc_resize(ScrnInfoPtr scrn, int width, int height); typedef struct { int fd; @@ -107,8 +105,6 @@ static inline struct nouveau_pixmap * drmmode_pixmap(PixmapPtr ppix) { NVPtr pNv = NVPTR(xf86ScreenToScrn(ppix->drawable.pScreen)); - if (pNv->AccelMethod == GLAMOR) - return nouveau_glamor_pixmap_get(ppix); return nouveau_pixmap(ppix); } @@ -1393,9 +1389,6 @@ drmmode_xf86crtc_resize(ScrnInfoPtr scrn, int width, int height) crtc->rotation, crtc->x, crtc->y); } - if (pNv->AccelMethod == GLAMOR) - nouveau_glamor_create_screen_resources(scrn->pScreen); - if (old_fb_id) drmModeRmFB(drmmode->fd, old_fb_id); nouveau_bo_ref(NULL, &old_bo); |