瀏覽代碼

drm/imx: don't touch primary fb on pageflip

The core already does the correct replacemet if the driver
page flip function returns without an error, so there is no
need to do it here.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Lucas Stach 9 年之前
父節點
當前提交
f5dca1608b
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      drivers/gpu/drm/imx/ipuv3-crtc.c

+ 0 - 1
drivers/gpu/drm/imx/ipuv3-crtc.c

@@ -123,7 +123,6 @@ static int ipu_page_flip(struct drm_crtc *crtc,
 
 
 	ipu_crtc->newfb = fb;
 	ipu_crtc->newfb = fb;
 	ipu_crtc->page_flip_event = event;
 	ipu_crtc->page_flip_event = event;
-	crtc->primary->fb = fb;
 
 
 	return 0;
 	return 0;
 }
 }