diff options
author | Rob Clark <rob@ti.com> | 2012-04-10 10:23:50 -0500 |
---|---|---|
committer | Rob Clark <rob@ti.com> | 2012-04-11 09:41:29 -0500 |
commit | 67fd052c013a493cd644d2e3495fab8b5823b330 (patch) | |
tree | 984a79ec085b2f2582d13dbaaccbb2f6a4845f9f /tests/modetest | |
parent | 2f1e2101b4dc0a6dc1c1d1c59c5cc5fbc54b90cf (diff) |
modetest: fix typo
Reported-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Rob Clark <rob@ti.com>
Diffstat (limited to 'tests/modetest')
-rw-r--r-- | tests/modetest/modetest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/modetest/modetest.c b/tests/modetest/modetest.c index 819724ae..223adc41 100644 --- 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]); |