From patchwork Wed Dec 1 22:26:28 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 519739 Delivered-To: patch@linaro.org Received: by 2002:a05:6e04:2287:0:0:0:0 with SMTP id bl7csp901494imb; Wed, 1 Dec 2021 14:26:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJxNFQi2rIoAFePR9OxEQR/X1iK2kQExDG2BoLiiBlkBTiTzNwv2eWGFpiC76W3lMLfXJAD+ X-Received: by 2002:a17:90b:1b03:: with SMTP id nu3mr1275621pjb.240.1638397617181; Wed, 01 Dec 2021 14:26:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1638397617; cv=none; d=google.com; s=arc-20160816; b=VItbeUmk0KIDhiZ8UeCx5rkmd2GMmcfvgOGaOOimhP83ePDNPD9p4dfRJpn4jPS3ze UjXPnVgI1attAR5s+naQM0Rh3o4tGBHfkb62iDXoyEZ1KF8DIN0R76BmQe54oHr/MK9f 11Fj9t3VcRCzZz3dvXPLSpyAXaDm/fIkztbNJCTqZ6K0FNQvqn3xkdG+34QvUC1utYQR KZ6MT8mlnknkD7uFGfLnu5EuJVlzeWeIljn7gHtehhMnY27TZ4U3C2jAnizydhqWX5Dn p+euTA4YJhBJIXenntLkIfZa3rmUNnp3COl2a1JoIj2c0rB3+AJPsDXPosrRfpMJCzaV zM4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature:delivered-to; bh=fWCoIosLOkr8+Xp5Tky7xqwPwu8pC3ri4jt2sulhCRE=; b=MwaQJciSk1mlm6jRerl5rrn6BE+JB9ehGlbOEZefMFFPdg5ou4lAs/Q8T+e71ToB3y ieyalnqj0Pgp9cZPHyjGaRtC2aYXLju2NhVH5AX7Q2lgT/XuP0iaPqZA+JnWgeHlr+hw bhPedA3qqIrxzRMBgmC8R9Xdapo4+9AI7sWZZnkEDjToLFxHoB43dE1aeXUNZhZMvxwX HPXzGPbqhWoFpodIT4GQNxgdCdAQvZIVGwPMSd8bZGb6IHg0dqeim9tgbgQhFTy8WvGu qWno3f3dEWzJqPZ2IQQv6QEgNx3ZItOAlNZ9Ed4QCPjmSt/s2mxkVpPAt53EZ/cel2NF R03g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=Xb2SvLb1; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id d12si664482pjw.79.2021.12.01.14.26.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Dec 2021 14:26:57 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=Xb2SvLb1; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4535F6E91B; Wed, 1 Dec 2021 22:26:42 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) by gabe.freedesktop.org (Postfix) with ESMTPS id 678C56E0F8 for ; Wed, 1 Dec 2021 22:26:40 +0000 (UTC) Received: by mail-lj1-x234.google.com with SMTP id u22so51106962lju.7 for ; Wed, 01 Dec 2021 14:26:40 -0800 (PST) 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 :mime-version:content-transfer-encoding; bh=fWCoIosLOkr8+Xp5Tky7xqwPwu8pC3ri4jt2sulhCRE=; b=Xb2SvLb1ZZ9tHGymd8d9tmuvelPOGxTOoUuK6Q+FG9Z7F/abPDzE7TWHp5oaeghX1o 4An2eEl8JdsG302stGkaHUsC3nGi2P63gWMK0mpa9/nHbZcm4HAlW9xNEzAxzqurhFW2 wzRu8qBkPI0gInFNlPjNACnxkzc00sxQqGzQvDu9rt50yzoqeKmdaffo7vzjqxEkLAaG mMQ/LqlRPSlq2vFUF+EeSgwh6FkbCcptBR8jHmOd5Vz1+kPQ1aDnM/NkpN8KWoJOolxP sR+kXa31AlkkzO29iSFuo7gkIhOE/+nBlJ4zJoENqYuJDY42NuJqTUjUhOYUZ5C4Ausf fijg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=fWCoIosLOkr8+Xp5Tky7xqwPwu8pC3ri4jt2sulhCRE=; b=osIHeCdynusSYeAtSs2z9TKEcfoxw5qHSZslx87kTzykenquvUFuLWTF8o21FjydyP //mWtfF3s7IeSvo/aJ1AFuqOVcITIpD6HvEWJVpQwQ/3DS8/GsKNfCWoavqLu+rM99Mp NK41xzfyVebfnZ3RAaDeTAJJ2EjLfYbJqaqs17h5Jc18zu4wkPSnD1NgzslCvV3xELcB +82Lla5b6kPXEMYQixyfXObNlrzCyrmy9Kf/dv5VVr4R4+5B8nODuTe9TJji+MPI53E5 9uWK1SsCwcn8Nk2uUncPAMNajlRLOJ91s9YzjK6/kgojgjI90TJmi6SxL0De40+v+k/i +F8A== X-Gm-Message-State: AOAM533mfKtPO/ToY+ZbPO86DaNYhwhHRgSxEaZPgdmUpuAoOEdDu3MU wLjrhsnZkfqr1bDfhrXpF/HZ9Q== X-Received: by 2002:a2e:9dc8:: with SMTP id x8mr8170843ljj.502.1638397598784; Wed, 01 Dec 2021 14:26:38 -0800 (PST) Received: from eriador.lan ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id u7sm117004lfs.144.2021.12.01.14.26.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Dec 2021 14:26:38 -0800 (PST) From: Dmitry Baryshkov To: Bjorn Andersson , Rob Clark , Sean Paul , Abhinav Kumar Subject: [PATCH v1 3/8] drm/msm/dpu: make danger_status/safe_status readable Date: Thu, 2 Dec 2021 01:26:28 +0300 Message-Id: <20211201222633.2476780-4-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211201222633.2476780-1-dmitry.baryshkov@linaro.org> References: <20211201222633.2476780-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Stephen Boyd , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, David Airlie , freedreno@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Change \t to \n in the print format to stop putting all SSPP status in a single line. Splitting it to one SSPP per line is much more readable. Signed-off-by: Dmitry Baryshkov Reviewed-by: Abhinav Kumar --- drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c index e7f0cded2c6b..4c04982c71b2 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c @@ -82,7 +82,7 @@ static int _dpu_danger_signal_status(struct seq_file *s, seq_printf(s, "MDP : 0x%x\n", status.mdp); for (i = SSPP_VIG0; i < SSPP_MAX; i++) - seq_printf(s, "SSPP%d : 0x%x \t", i - SSPP_VIG0, + seq_printf(s, "SSPP%d : 0x%x \n", i - SSPP_VIG0, status.sspp[i]); seq_puts(s, "\n");