From 086c0e25cac1d3dd0a37def8b5cb82c1c6279edf Mon Sep 17 00:00:00 2001 From: Daniel Vetter Date: Tue, 2 Mar 2010 09:22:37 +0100 Subject: i830_memory: rename i830_bind_all_memory to reflect code reality It doesn't bind anything anymore, but does a few random things. Give it a hopefully vague enough name to cover all cases ;) Signed-off-by: Daniel Vetter Reviewed-by: Eric Anholt --- src/i830_memory.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'src/i830_memory.c') diff --git a/src/i830_memory.c b/src/i830_memory.c index 0d7ae438..2c00d436 100644 --- a/src/i830_memory.c +++ b/src/i830_memory.c @@ -439,13 +439,10 @@ Bool i830_allocate_2d_memory(ScrnInfoPtr scrn) } /** - * Called at EnterVT to grab the AGP GART and bind our allocations. - * - * In zaphod mode, this will walk the list trying to bind twice, since each - * intel points to the same allocation list, but the bind_memory will just - * no-op then. + * Called at EnterVT to reinit memory related stuff. Also reinits the drmmode + * cursors. */ -Bool i830_bind_all_memory(ScrnInfoPtr scrn) +Bool i830_reinit_memory(ScrnInfoPtr scrn) { intel_screen_private *intel = intel_get_screen_private(scrn); xf86CrtcConfigPtr xf86_config = XF86_CRTC_CONFIG_PTR(scrn); -- cgit v1.2.3