diff options
author | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2018-10-15 14:16:28 +0200 |
---|---|---|
committer | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2018-10-16 11:10:34 +0200 |
commit | 017c749c8a963c1851580203b53b407666686c1d (patch) | |
tree | 98066aa83acc787c1b3b42031bc400fd788cc531 /tests/kms_frontbuffer_tracking.c | |
parent | 9310a1265ceabeec736bdf0a76e1e0357c76c0b1 (diff) |
tests/kms_frontbuffer_tracking: Do not skip on 4k displays.
On 4k displays the horizontal resolution is 3840, which when you add
500 gives a stride of 17408 (3840 + 500 + 12 (tile alignment)).
Decrease the extra offset to 248, so we end up at exactly 16384, which
is the maximum supported stride for FBC.
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Diffstat (limited to 'tests/kms_frontbuffer_tracking.c')
-rw-r--r-- | tests/kms_frontbuffer_tracking.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/kms_frontbuffer_tracking.c b/tests/kms_frontbuffer_tracking.c index 9aecb815..bf4a68ff 100644 --- a/tests/kms_frontbuffer_tracking.c +++ b/tests/kms_frontbuffer_tracking.c @@ -246,7 +246,7 @@ struct { .show_hidden= false, .step = 0, .only_pipes = PIPE_COUNT, - .shared_fb_x_offset = 500, + .shared_fb_x_offset = 248, .shared_fb_y_offset = 500, .tiling = LOCAL_I915_FORMAT_MOD_X_TILED, }; |