From bf46e0941fc6d342ad38057f23c8a74ac03b72f0 Mon Sep 17 00:00:00 2001 From: Kristian Høgsberg Date: Mon, 2 Feb 2009 15:47:09 -0500 Subject: No need to pin buffer anymore in modetest.c --- tests/modetest/modetest.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'tests') diff --git a/tests/modetest/modetest.c b/tests/modetest/modetest.c index 193057ca..1706641c 100644 --- a/tests/modetest/modetest.c +++ b/tests/modetest/modetest.c @@ -327,12 +327,6 @@ void set_mode(int connector_id, char *mode_str) return; } - ret = drm_intel_bo_pin(bo, 4096); - if (ret) { - fprintf(stderr, "failed to pin buffer: %s\n", strerror(errno)); - return; - } - ret = drm_intel_gem_bo_map_gtt(bo); if (ret) { fprintf(stderr, "failed to GTT map buffer: %s\n", -- cgit v1.2.3