From patchwork Tue Jun 5 13:54:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Gaignard X-Patchwork-Id: 137744 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp990198lji; Tue, 5 Jun 2018 06:54:29 -0700 (PDT) X-Google-Smtp-Source: ADUXVKL5P6Yav7akmOKBwuyQ+N/B0eEAa6Cwu43o9UYgo6berrzzFb3vqJwl3OC1SzLlH0wSdChr X-Received: by 2002:a17:902:bb90:: with SMTP id m16-v6mr23588486pls.50.1528206869035; Tue, 05 Jun 2018 06:54:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528206869; cv=none; d=google.com; s=arc-20160816; b=TwUTOoQOPxmyy9W5WKy3BFRfDoZZgFF3a6Ic5IOxHlse8DOWcWyOvYWwjOBEPd3Oe/ 5qjP6njeKAT3kC2Eq4NE1P6S1DeNV3KBgk/qZyo/vZPltnFDWp1QvaVzCg3bH8fq+gRa ZY/59Gp3+TPltYdQhi688zVB1eD3EdYjrU8HRoJ+V82hYnt0iOGLzPqmJtTO+djBNZXj v89lqorOFcD19hTTqF9uZgHmNviFHKgqDaMjMjPGTZikAbt7XUbdy4nuQHYXRJM30wm7 n0FfcKS09bWip2gRr5sT5Z+CJe+1aEZrxz642nbI+/kkNfIB3QugWyt0VaJ1+uSLqtqA xEnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=EQ4pJGJBGWZQjGcCER5AmiohNcNl5G4/W44dW9E0zs4=; b=d+CGt75IFmrrV6DvtfSZHE4LGgKFNNVgpkT5Has6AXwqCfTlNlQ2Uj0i0C/N2lENmj MIkkYcev7BXPRmpAffeEf6IAgfc+RQiKqo2L+Y1Hz4zz0hBoy2elczXOaJsbfSww0UbR HS2UBx8Ezz4w2EDNQOh6+Yvbey0tzG6Zc2BrSwQ0P3pnAJ8M7GQ+CbZ+gduNyIVnNAsT QJ75t81umviZMg647geM6qSk1I0pKJsJF94gUdDmvk287UKA1Gp6PflmhMCVHT3cpTOr JZ7UXj6ImZcvE4x9EbKEBNniAwZC69MzxUAF2iAeSxPdldbn+lZ02xO27g5sySB9BcZb y9KA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bu77UBMK; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d11-v6si25790000pll.255.2018.06.05.06.54.28; Tue, 05 Jun 2018 06:54:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bu77UBMK; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751890AbeFENy0 (ORCPT + 30 others); Tue, 5 Jun 2018 09:54:26 -0400 Received: from mail-wr0-f195.google.com ([209.85.128.195]:37103 "EHLO mail-wr0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751870AbeFENyX (ORCPT ); Tue, 5 Jun 2018 09:54:23 -0400 Received: by mail-wr0-f195.google.com with SMTP id d8-v6so2546169wro.4 for ; Tue, 05 Jun 2018 06:54:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=EQ4pJGJBGWZQjGcCER5AmiohNcNl5G4/W44dW9E0zs4=; b=bu77UBMKECAKrk4uUQlVb37JtmjA3pg7fKfU06X86PyyLLrEsj7BNoLD4dU4i4F/Ko QHIlRm2XstO/MnPnxMdx6NBEpDakvY1Ha+kmDVgFIcsSfSwoBbIwkb0wR93BLiPFgIcM 9Xq7xmG6BLEfpbLkBZMAImSDi8zj+GLOFpUUs= 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:in-reply-to :references; bh=EQ4pJGJBGWZQjGcCER5AmiohNcNl5G4/W44dW9E0zs4=; b=Esk6XQ7STgTpoDYlfu9NvxPm6tFM/7Bv6L8nDbv+nXnFx8twM/6ite7/ImsfJWhHRF K8Fdh1Yi4a7uHPXf5UmpjPkrc8TSf14lMa3THq1ijkroCJGwEN9Nd1R6own/WEWG6ImR wswCUxV0XLuYzBXVOUOtcTn2Wkr/VbZTgrUzh/hoPoXz0BxcoCFQ16gOQwyw9hHhDQ1h jGRnfN08u8NB+dG5XYqP9oq/xQTwoOUNo+umFLIk8JaRVBItQS/dvV9g8m44na8u1P3v NKzqpIjl7fjI50wcYtJuvUgSKX+UNIYjHopRVmwa2pNb3qIG2JX1uApD/A/gvJ2t4DAN 7xrg== X-Gm-Message-State: ALKqPweGE01j8wEJ66CVD3JvErF6z/U02e6HtBlLHzt/dPQ4wS9c4pqX F8ZjTPsEnoaY3p6nL28diMHGLg== X-Received: by 2002:adf:dfc2:: with SMTP id q2-v6mr17731799wrn.113.1528206862455; Tue, 05 Jun 2018 06:54:22 -0700 (PDT) Received: from lmecxl0911.lme.st.com (bol62-h02-176-179-166-238.dsl.sta.abo.bbox.fr. [176.179.166.238]) by smtp.gmail.com with ESMTPSA id o53-v6sm76797785wrc.96.2018.06.05.06.54.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 05 Jun 2018 06:54:21 -0700 (PDT) From: Benjamin Gaignard To: gustavo@padovan.org, maarten.lankhorst@linux.intel.com, seanpaul@chromium.org, airlied@linux.ie, vincent.abriou@st.com Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Benjamin Gaignard Subject: [PATCH v1 1/7] drm: print plane state normalized zpos value Date: Tue, 5 Jun 2018 15:54:01 +0200 Message-Id: <20180605135407.20214-2-benjamin.gaignard@linaro.org> X-Mailer: git-send-email 2.15.0 In-Reply-To: <20180605135407.20214-1-benjamin.gaignard@linaro.org> References: <20180605135407.20214-1-benjamin.gaignard@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org When dumping plane state print normalized zpos value as done for the other plane state fields. Signed-off-by: Benjamin Gaignard --- drivers/gpu/drm/drm_atomic.c | 1 + 1 file changed, 1 insertion(+) -- 2.15.0 diff --git a/drivers/gpu/drm/drm_atomic.c b/drivers/gpu/drm/drm_atomic.c index 07fef42869aa..cd1d677617c8 100644 --- a/drivers/gpu/drm/drm_atomic.c +++ b/drivers/gpu/drm/drm_atomic.c @@ -988,6 +988,7 @@ static void drm_atomic_plane_print_state(struct drm_printer *p, drm_printf(p, "\tcrtc-pos=" DRM_RECT_FMT "\n", DRM_RECT_ARG(&dest)); drm_printf(p, "\tsrc-pos=" DRM_RECT_FP_FMT "\n", DRM_RECT_FP_ARG(&src)); drm_printf(p, "\trotation=%x\n", state->rotation); + drm_printf(p, "\tnormalized-zpos=%x\n", state->normalized_zpos); drm_printf(p, "\tcolor-encoding=%s\n", drm_get_color_encoding_name(state->color_encoding)); drm_printf(p, "\tcolor-range=%s\n",