projects
/
platform
/
upstream
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f1e210
)
modetest: fix typo
author
Rob Clark
<rob@ti.com>
Tue, 10 Apr 2012 15:23:50 +0000
(10:23 -0500)
committer
Rob Clark
<rob@ti.com>
Wed, 11 Apr 2012 14:41:29 +0000
(09:41 -0500)
Reported-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Rob Clark <rob@ti.com>
tests/modetest/modetest.c
patch
|
blob
|
history
diff --git
a/tests/modetest/modetest.c
b/tests/modetest/modetest.c
index
819724a
..
223adc4
100644
(file)
--- a/
tests/modetest/modetest.c
+++ b/
tests/modetest/modetest.c
@@
-770,7
+770,7
@@
set_plane(struct kms_driver *kms, struct connector *c, struct plane *p)
kms_bo_get_prop(plane_bo, KMS_HANDLE, &handles[1]);
pitches[2] = p->w / 2;
offsets[2] = offsets[1] + (p->w * p->h) / 4;
- kms_bo_get_prop(plane_bo, KMS_HANDLE, &handles[
1
]);
+ kms_bo_get_prop(plane_bo, KMS_HANDLE, &handles[
2
]);
fill420(virtual, virtual+offsets[1], virtual+offsets[2],
1, 0, p->w, p->h, pitches[0]);