lkml.org 
[lkml]   [2013]   [Sep]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[181/251] drm/ast: invalidate page tables when pinning a BO
    3.6.11.9-rc1 stable review patch.
    If anyone has any objections, please let me know.

    ------------------

    From: Dave Airlie <airlied@redhat.com>

    [ Upstream commit 3ac65259328324de323dc006b52ff7c1a5b18d19 ]

    same fix as cirrus and mgag200.

    Cc: stable@vger.kernel.org
    Signed-off-by: Dave Airlie <airlied@redhat.com>
    Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
    ---
    drivers/gpu/drm/ast/ast_ttm.c | 1 +
    1 file changed, 1 insertion(+)

    diff --git a/drivers/gpu/drm/ast/ast_ttm.c b/drivers/gpu/drm/ast/ast_ttm.c
    index 2a6027c..566934c 100644
    --- a/drivers/gpu/drm/ast/ast_ttm.c
    +++ b/drivers/gpu/drm/ast/ast_ttm.c
    @@ -348,6 +348,7 @@ int ast_bo_create(struct drm_device *dev, int size, int align,

    astbo->gem.driver_private = NULL;
    astbo->bo.bdev = &ast->ttm.bdev;
    + astbo->bo.bdev->dev_mapping = dev->dev_mapping;

    ast_ttm_placement(astbo, TTM_PL_FLAG_VRAM | TTM_PL_FLAG_SYSTEM);

    --
    1.7.10.4



    \
     
     \ /
      Last update: 2013-09-11 07:41    [W:4.647 / U:0.192 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site