Make sure the tracking mechanism is able to track a write in the very
last pixel.

Signed-off-by: Paulo Zanoni <[email protected]>
---
 tests/kms_frontbuffer_tracking.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/tests/kms_frontbuffer_tracking.c b/tests/kms_frontbuffer_tracking.c
index 971e3e9..88a7384 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:
-- 
2.5.3

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to