public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH] intel-gpu-tools: Change type of variable from unsigned to uint64_t in gem_stress
@ 2014-08-01  5:10 Pavel Popov
  2014-08-04  9:09 ` Daniel Vetter
  0 siblings, 1 reply; 4+ messages in thread
From: Pavel Popov @ 2014-08-01  5:10 UTC (permalink / raw)
  To: intel-gfx

To run gem_stress with the correct number of buffers even if aperture size >= 4GB.

Signed-off-by: Pavel Popov <pavel.e.popov@intel.com>
---
 tests/gem_stress.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/gem_stress.c b/tests/gem_stress.c
index 3bbe487..313a82a 100644
--- a/tests/gem_stress.c
+++ b/tests/gem_stress.c
@@ -737,7 +737,7 @@ static int parse_options(int opt, int opt_index)
 static void init(void)
 {
 	int i;
-	unsigned tmp;
+	uint64_t tmp;
 
 	if (options.num_buffers == 0) {
 		tmp = gem_aperture_size(drm_fd);
-- 
1.9.1


--------------------------------------------------------------------
Closed Joint Stock Company Intel A/O
Registered legal address: Krylatsky Hills Business Park, 
17 Krylatskaya Str., Bldg 4, Moscow 121614, 
Russian Federation

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-08-05 12:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-01  5:10 [PATCH] intel-gpu-tools: Change type of variable from unsigned to uint64_t in gem_stress Pavel Popov
2014-08-04  9:09 ` Daniel Vetter
2014-08-05 11:38   ` Popov, Pavel E
2014-08-05 12:27     ` Daniel Vetter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox