projects
/
profile
/
ivi
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
854bd8f
)
No need to pin buffer anymore in modetest.c
author
Kristian Høgsberg
<krh@redhat.com>
Mon, 2 Feb 2009 20:47:09 +0000
(15:47 -0500)
committer
Kristian Høgsberg
<krh@redhat.com>
Mon, 2 Feb 2009 20:47:09 +0000
(15:47 -0500)
tests/modetest/modetest.c
patch
|
blob
|
history
diff --git
a/tests/modetest/modetest.c
b/tests/modetest/modetest.c
index
193057c
..
1706641
100644
(file)
--- 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",