From: Pavel Popov Subject: [PATCH] intel-gpu-tools: Change type of variable from unsigned to uint64_t in gem_stress Date: Fri, 1 Aug 2014 12:10:44 +0700 Message-ID: <1406869844-6825-1-git-send-email-pavel.e.popov@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by gabe.freedesktop.org (Postfix) with ESMTP id B3EC689FC3 for ; Thu, 31 Jul 2014 22:10:48 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org To run gem_stress with the correct number of buffers even if aperture size >= 4GB. Signed-off-by: Pavel Popov --- 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.