diff options
author | Paulo Zanoni <paulo.r.zanoni@intel.com> | 2015-09-17 15:58:54 -0300 |
---|---|---|
committer | Paulo Zanoni <paulo.r.zanoni@intel.com> | 2015-10-08 15:01:20 -0300 |
commit | 68cb0de70c76b15d47b8fb2c25acf6f855554858 (patch) | |
tree | dc6adeaaf6e5e12d3ca3d37ea25d6bbd5ad1a315 /tests/kms_frontbuffer_tracking.c | |
parent | f974422c21ebcc3de2c0a3c530321ba652992ba2 (diff) |
kms_frontbuffer_tracking: change pattern 1's last rect to 1x1
Make sure the tracking mechanism is able to track a write in the very
last pixel.
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Diffstat (limited to 'tests/kms_frontbuffer_tracking.c')
-rw-r--r-- | tests/kms_frontbuffer_tracking.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/kms_frontbuffer_tracking.c b/tests/kms_frontbuffer_tracking.c index 971e3e9f..88a7384d 100644 --- a/tests/kms_frontbuffer_tracking.c +++ b/tests/kms_frontbuffer_tracking.c @@ -903,10 +903,10 @@ static struct rect pat1_get_rect(struct fb_region *fb, int r) rect.color = pick_color(fb->fb, COLOR_MAGENTA); break; case 3: - rect.x = fb->w - 64; - rect.y = fb->h - 64; - rect.w = 64; - rect.h = 64; + rect.x = fb->w - 1; + rect.y = fb->h - 1; + rect.w = 1; + rect.h = 1; rect.color = pick_color(fb->fb, COLOR_CYAN); break; default: |