From patchwork Fri Nov 24 16:31:55 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?QW7DrWJhbCBMaW3Ds24=?= X-Patchwork-Id: 119619 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp2449013qgn; Fri, 24 Nov 2017 08:32:04 -0800 (PST) X-Google-Smtp-Source: AGs4zMZy59nZmCMRND+0dRQJYm5Y8Tw21gPTspGvqAY2ewC2avJvc7ZHFAyYSo+vE/t1UtMcclmd X-Received: by 10.98.211.153 with SMTP id z25mr27611444pfk.61.1511541124526; Fri, 24 Nov 2017 08:32:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511541124; cv=none; d=google.com; s=arc-20160816; b=zqAl9x4Lci0O8idhf3jDaV2+aFkXeaKSlVVypUSwmkWMph4iET7y1dLWM2dXu4zkRQ SYriIYgXJQFyUYpV8WuWCICyOowP0gVbpcOWOPpgofjavphW3JE1j8GI8AdWJIz3kK0z x9IvAcFg3dqaLoniR5QF5BAZR4Rishv6H0UbKuAamWO1OW4U/2JWxM68w91AZzB8RJKJ oKgSdD13NK2f+REPJuX1wI6Rwsns00tmfGKZWZvXWU+qJp3Wa132l3R9Qdab+9LQmeMS v6NuPcZCXEVr6JDNMxofGYJzKYCjz6fOwLlx9CN2eTqLctXv3TJKCtUV2cId5bssb63L w5KQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :cc:mime-version:message-id:date:to:from:dkim-signature:delivered-to :arc-authentication-results; bh=tSBT8Uk/35U9SGkKU3rPCEAkZNtvJghDpZu3hHbnx9Y=; b=vBQYsBdwOJnaq0gHTQ0dUjLwb1tfmmyHKIsSfUISlJTFx3PsPsXdUs5Bgykul8MExt 4TJI4CVjxrkscQGXyHozxEJb3KhU9Smo19PBTUSZnoQKen/SL6Jn6oFeUAdlochORsSE GHMslnkFvyhSgmUzieT5VLFpvjgGOW2uUDtx2b4zaQaiNbjXKcopW/D/XWQEm3stGQJA 1ir1c5ZU8vOwr+hNTZpDFT/JBOWlFXCoL9rSAPZYC7EwRE6Q+T+uxTxligdoPRGAhUm8 YV3rIMHXoRuxVC+xLL+MptuYPV3a7IykDr5FXHfgygUMyxJ7T0z2GBfMZMS5cm7LF+9e Lcvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=WSQb9dbX; spf=pass (google.com: best guess record for domain of piglit-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=piglit-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id a15si13508168pls.704.2017.11.24.08.32.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 24 Nov 2017 08:32:04 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of piglit-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=WSQb9dbX; spf=pass (google.com: best guess record for domain of piglit-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=piglit-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0D21E6E99D; Fri, 24 Nov 2017 16:32:04 +0000 (UTC) X-Original-To: piglit@lists.freedesktop.org Delivered-To: piglit@lists.freedesktop.org Received: from mail-ot0-x241.google.com (mail-ot0-x241.google.com [IPv6:2607:f8b0:4003:c0f::241]) by gabe.freedesktop.org (Postfix) with ESMTPS id EF12F6E99D for ; Fri, 24 Nov 2017 16:32:01 +0000 (UTC) Received: by mail-ot0-x241.google.com with SMTP id t79so19185689ota.3 for ; Fri, 24 Nov 2017 08:32:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=wcEbNuHz3w8Qa9ICri4O+UIbNnG4f3nRdNmapcnjqnM=; b=WSQb9dbXIxaCFVLcNStmn2FQWUZ1wNDL5eTv4hrhaV054rJ5LNrybUmR738VuQ/GaV Yav0+mbT+EsgVtU5oWn7dM1F6gh8SVx3dymqS0Xc2vI4MGl3MAawlDdTenenFZiBzVu2 AjlZ1GlXP2fwrNlT2fVvzzHRSYSVQKAE6QpQNi5oB+Uj+4XrnNwXaxzBCb5+b7e9sdz6 SejTVuiFfI0PAZwNilqoVkSLYRgZL5kl7LeOdRv3Htd/HGebhrlJHJnyE1NY+Cb07fyn ardnjuhFy+qSUNIMV71/PUYq5ROBxB/rRvucCeHOxy7D64pu7YulzhNxqAIeyz++g6Wp h4cA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=wcEbNuHz3w8Qa9ICri4O+UIbNnG4f3nRdNmapcnjqnM=; b=iQpU+GnYH+Fn/Fdoovp/FulmxBxZIEpKCx5FNPrD2MJsaMewWxDlnJSm3E/Hw2PEut 4YoDSLkdGwQS2/ra9SEi0BbqHtqwuI1r8EKuUszv8XXPQQN8AF1VBK694e8FV3ZlpBMD HqZSGnlt/5kU/09w9nTOSv/UMlkbuHVQsIG7K5VXSbrlJaa9jGWZP2L+C2a7iAAtURmM C8uwcN8C85P176swmCja5KDRxU7y/H1U3P0ZvjEkok9DRRtQYOkitXMx4CLR3DTyGSsw eXnvK2CRKBjQfqUSuLIH9rl8h+9o/Rn6pFB8J26k7HLYQpGWfGdVzYEoclH6JoPDf2XJ fjkg== X-Gm-Message-State: AJaThX6TpIDrjsCwbTLI/wq8smnNoUGwCcDpc6hGMt3dPqeYE4GJLxER QEiWrjn7CyTPEpDkDiGMDXjyMUuN X-Received: by 10.157.61.133 with SMTP id l5mr4536774otc.336.1511541120828; Fri, 24 Nov 2017 08:32:00 -0800 (PST) Received: from blackbox.Home (187-177-61-29.dynamic.axtel.net. [187.177.61.29]) by smtp.gmail.com with ESMTPSA id p13sm9441179ota.18.2017.11.24.08.31.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 24 Nov 2017 08:31:59 -0800 (PST) From: =?utf-8?b?QW7DrWJhbCBMaW3Ds24=?= To: piglit@lists.freedesktop.org Date: Fri, 24 Nov 2017 10:31:55 -0600 Message-Id: <20171124163155.5449-1-limon.anibal@gmail.com> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 Cc: fathi.boudra@linaro.org, =?utf-8?q?Daniel_D=C3=ADaz?= , =?utf-8?b?QW7DrWJhbCBMaW3Ds24=?= Subject: [Piglit] [PATCH] tests/egl/egl-context-priority.c: Use piglit_egl_get_default_display X-BeenThere: piglit@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: piglit-bounces@lists.freedesktop.org Sender: "Piglit" From: Aníbal Limón Some EGL implementations do not actually ship all Khronos-extensions. As it turns out, the Mali 450 driver does not include eglGetPlatformDisplay symbol so there is not grauntee to exists use piglit_egl_get_default_display wrapper instead. See rev 45095dc08b. Signed-off-by: Aníbal Limón Signed-off-by: Daniel Díaz Reviewed-by: Tapani Pälli Reviewed-by: Emil Velikov --- tests/egl/egl-context-priority.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/egl/egl-context-priority.c b/tests/egl/egl-context-priority.c index 7f26fc614..9590ccae3 100644 --- a/tests/egl/egl-context-priority.c +++ b/tests/egl/egl-context-priority.c @@ -99,8 +99,7 @@ piglit_init(int argc, char **argv) if (!strstr(exts, "EGL_MESA_platform_surfaceless")) piglit_report_result(PIGLIT_SKIP); - dpy = eglGetPlatformDisplay(EGL_PLATFORM_SURFACELESS_MESA, - EGL_DEFAULT_DISPLAY, NULL); + dpy = piglit_egl_get_default_display(EGL_PLATFORM_SURFACELESS_MESA); ok = eglInitialize(dpy, &major, &minor); if (!ok) {