Commit 10a0bd89 authored by Gabriel Krisman Bertazi's avatar Gabriel Krisman Bertazi Committed by Gerd Hoffmann
parent 9ade8b98
......@@ -31,6 +31,7 @@
#include "drm_crtc_helper.h"
#include <drm/drm_plane_helper.h>
#include <drm/drm_atomic_helper.h>
#include <drm/drm_atomic.h>
static bool qxl_head_enabled(struct qxl_head *head)
{
......@@ -299,7 +300,8 @@ static int qxl_crtc_page_flip(struct drm_crtc *crtc,
int one_clip_rect = 1;
int ret = 0;
crtc->primary->fb = fb;
drm_atomic_set_fb_for_plane(crtc->primary->state, fb);
bo_old->is_primary = false;
bo->is_primary = true;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment