diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2014-09-29 07:39:06 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2014-09-29 07:39:06 +0100 |
commit | 4a23d24db676dd7b535f226ff9624f892a53842a (patch) | |
tree | f5dc07dd2f10bec58a5cf55754cc9eede1c7d5f9 | |
parent | d036cdedf0913384b1e45bba80aa2c816be9c350 (diff) |
sna; Markup that we are ignoring errors from early ScreenCreateResources
In the early move-to-gpu in ScreenCreateResources we purposefully ignore
any errors from the move-to-gpu as they will be fixed up later when we
try to bind to the CRTCs. Mark it as ignored for future readers.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | src/sna/sna_driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna_driver.c b/src/sna/sna_driver.c index 14b9c318..f28ca872 100644 --- a/src/sna/sna_driver.c +++ b/src/sna/sna_driver.c @@ -252,7 +252,7 @@ static Bool sna_create_screen_resources(ScreenPtr screen) * bo so that we do not unduly stall when it is time to attach * it to the CRTCs. */ - sna_pixmap_force_to_gpu(new_front, MOVE_READ | __MOVE_SCANOUT); + (void)sna_pixmap_force_to_gpu(new_front, MOVE_READ | __MOVE_SCANOUT); screen->SetScreenPixmap(new_front); assert(screen->GetScreenPixmap(screen) == new_front); |