summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2009-02-02 15:47:09 -0500
committerKristian Høgsberg <krh@redhat.com>2009-02-02 15:47:09 -0500
commitbf46e0941fc6d342ad38057f23c8a74ac03b72f0 (patch)
tree79371d3e177c0fff99f0cb5e93d9a263e88e0ef2
parent854bd8f2cae8389d1152993a1d751687632df323 (diff)
No need to pin buffer anymore in modetest.c
-rw-r--r--tests/modetest/modetest.c6
1 files changed, 0 insertions, 6 deletions
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",