nouveau: nouveau_set_bo_placement takes TTM flags
Subsystems (3)
Dave Airlie
maintainerPATCH 1/1 nouveau: nouveau_set_bo_placement takes TTM flags
From: Dave Airlie <[email protected]>
This seems to be wrong to me, spotted while thinking about dma-buf.
Signed-off-by Dave Airlie <[email protected]>
--- drivers/gpu/drm/nouveau/nouveau_bo.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/gpu/drm/nouveau/nouveau_bo.c +1 -1
@@ -1030,7 +1030,7 @@ nouveau_ttm_fault_reserve_notify(struct ttm_buffer_object *bo) nvbo->placement.fpfn =0 ; nvbo->placement.lpfn = dev_priv->fb_mappable_pages; -nouveau_bo_placement_set (nvbo,TTM_PL_VRAM ,0 ); +nouveau_bo_placement_set (nvbo,TTM_PL_FLAG_VRAM ,0 );return nouveau_bo_validate (nvbo, false, true, false); }
Signature · 1 line
1.7.7.6
Quoted 5 lines · Dave Airlie
From: Dave Airlie <[email protected]>
This seems to be wrong to me, spotted while thinking about dma-buf.
Signed-off-by Dave Airlie <[email protected]>
Reviewed-by Ben Skeggs <[email protected]>
Quoted 24 lines
--- drivers/gpu/drm/nouveau/nouveau_bo.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)drivers/gpu/drm/nouveau/nouveau_bo.c +1
-1@@ -1030,7 +1030,7 @@ nouveau_ttm_fault_reserve_notify(struct ttm_buffer_object *bo) nvbo->placement.fpfn =0 ; nvbo->placement.lpfn = dev_priv->fb_mappable_pages; -nouveau_bo_placement_set (nvbo,TTM_PL_VRAM ,0 ); +nouveau_bo_placement_set (nvbo,TTM_PL_FLAG_VRAM ,0 );return nouveau_bo_validate (nvbo, false, true, false); }Signature · 6 lines
1.7.7.6 _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel