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: 10448349 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id D24F0600CA for ; Tue, 5 Jun 2018 13:54:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C2760294C8 for ; Tue, 5 Jun 2018 13:54:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B6D45294EC; Tue, 5 Jun 2018 13:54:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00, MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 7BA97294C8 for ; Tue, 5 Jun 2018 13:54:28 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0D4DA6EDC3; Tue, 5 Jun 2018 13:54:25 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr0-x244.google.com (mail-wr0-x244.google.com [IPv6:2a00:1450:400c:c0c::244]) by gabe.freedesktop.org (Postfix) with ESMTPS id B2C556EDC3 for ; Tue, 5 Jun 2018 13:54:23 +0000 (UTC) Received: by mail-wr0-x244.google.com with SMTP id h10-v6so2526493wrq.8 for ; Tue, 05 Jun 2018 06:54:23 -0700 (PDT) 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=HSX566AW5MsyTPA0CnsY9RpnzDh6ten+EaYHpV54Lqt8aGlXqV9n4kFjsDUSYywOPB L9JAVy4atSZe8lEV6tQlMduQlCpb0l15zgplrFc4JHIRhRijtrjSN9irnxINGKz0sjaF nVoOZUo47XcmupmH6qORfFRHcumdOEUMuSd3kjUgDAkkraCLndGjEB1Wn0XvxssEFZeE p4vCDwgBmsYy7GMntbNm4k8A+i78AXd4LwX6QQhDjWEiuY9vwQxcn1hWxXyBP5AfvhMQ xKM5BAqJ0LoZP3QWAafkwCMNTMRwCcoawvuUXlAassXO0wIhqLNgQ4O70bGI2KZPcG1m 7z4g== X-Gm-Message-State: ALKqPwdGys513tkjG6M4DL1s7Sh5jTuHXi4hPRCIYba4urltyVlh1pPp UvOi9RMYFFaoC9Al86Cu/ZdvTQ== X-Google-Smtp-Source: ADUXVKLvOnz7TLb5ByN0PMmWw0iPl+8QM7J8fCknRhKd7MLpiHd9dnwzOQD/yBzBV1XWBKknEbvD1A== 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 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> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP When dumping plane state print normalized zpos value as done for the other plane state fields. Signed-off-by: Benjamin Gaignard Reviewed-by: Philippe Cornu --- drivers/gpu/drm/drm_atomic.c | 1 + 1 file changed, 1 insertion(+) 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",