[PATCH] TTM: fix the issue that user buffers are not

Austin Yuan shengquan.yuan at gmail.com
Mon Jun 28 23:15:34 PDT 2010


populuated due to the wrong state

Signed-off-by: Austin Yuan <shengquan.yuan at gmail.com>
Signed-off-by: Elaine Wang <elaine.wang at intel.com>
---
 drivers/gpu/drm/ttm/ttm_tt.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/gpu/drm/ttm/ttm_tt.c b/drivers/gpu/drm/ttm/ttm_tt.c
index a7bab87..4ea44c2 100644
--- a/drivers/gpu/drm/ttm/ttm_tt.c
+++ b/drivers/gpu/drm/ttm/ttm_tt.c
@@ -367,7 +367,7 @@ int ttm_tt_set_user(struct ttm_tt *ttm,

        ttm->tsk = tsk;
        ttm->start = start;
-       ttm->state = tt_unbound;
+       ttm->state = tt_unpopulated;

        return 0;
 }
--
1.6.0.4


More information about the dri-devel mailing list