From patchwork Tue Feb 22 06:22:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 545037 Delivered-To: patch@linaro.org Received: by 2002:ac0:e142:0:0:0:0:0 with SMTP id r2csp134631imn; Mon, 21 Feb 2022 22:23:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJzSNeXdD7IZvYWH4SRjjXSBXmu75gmKLE7iCabUN7+pUCw74pkvBZvfg+rSCePRD8YPzxTQ X-Received: by 2002:a17:90a:aa91:b0:1b9:19d6:95b6 with SMTP id l17-20020a17090aaa9100b001b919d695b6mr2640021pjq.106.1645510981043; Mon, 21 Feb 2022 22:23:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645510981; cv=none; d=google.com; s=arc-20160816; b=ZkCC0wGJDYhcH6bo8/S+UFaTEygUKDOf/Y0keUeGG7pp5VLILDNO5W6cjV6b7NgkG0 zxcFPXfunzKajrxCsM52LPMbOT8kNF2tFUopqq1FbqVSK7nTuFtmnGMGiv3devubocVu SknIBNi4xvNlgJkuo8f6EJD1VEjLdJfD/jeESU/KonLzlDvCuO4dUVCVYqsAm7t4SpG3 cUugyZ69hRLJGnEst233u0Jy80NLsJlA9+nZb2v7OrpyCT1LyOb2hZVk6woZvLqYsTOK bJaqR1BEnRwviuwJ8LQj/fy4mFgDgW1ax2xWiy8Papj13bZUOY9ZcSlaPWj7bHMPNpiX ozDQ== 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=I+FUp1ylyZlTVPkOMx/YuQtPRcxSfUwrG3pZ+XT0maY=; b=nsnw3fNpwvikS4WVHbH5mmXCFsW+c+MqUXPTAi+vSO1afr2I3YnRjJ4Iu45q9d1Kfi qdNhQPc2JkXYVC586m3LpgpbBERDaBCHObflScC34mLSaUPpEWOKHd4vaGono7MFdgRW 2YBt4+ylH+mnu7bXTPMTfhyrEc7trHvHHuD+lt/mCTyQuUDT38mDfXxcOhJhm+g9b5lx cRIwTbsFec/IEs5Oa0uRa169VNHm9BxREu0LhPnXf4m+7L7vMy9cJl6GD1dCxwdUUc9I wXCMXNjI/sfPpcuPb6p/97hD9G59rNrdbUaIwnPyASP1sBhWD/FYwbYz/6C8BfMN9DFh cT2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=zQeIan6s; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 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. [131.252.210.177]) by mx.google.com with ESMTPS id s64si18403916pgs.339.2022.02.21.22.23.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Feb 2022 22:23:01 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=zQeIan6s; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 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 EEC8E10EF4F; Tue, 22 Feb 2022 06:22:56 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2BC3C10EF3D for ; Tue, 22 Feb 2022 06:22:53 +0000 (UTC) Received: by mail-lj1-x229.google.com with SMTP id t14so17852234ljh.8 for ; Mon, 21 Feb 2022 22:22:53 -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=I+FUp1ylyZlTVPkOMx/YuQtPRcxSfUwrG3pZ+XT0maY=; b=zQeIan6symQMv3r+UD42j3SgZ2JFsvBjw1DG0LvEciJ5Z1K+pGe3OqhD0A/kM8RYVr EdVQTW2GwHmSOVRFhctzRn4/akdowswU0dGitnRCv2+KjJ/Kbo1EbDsgdGcaTidcMrPK NMQd5N0H6iljAsJLwnPD1Hnx+MqL0smsxuXS1/0K8yO54U7dGJbs4IM/QR8rNW+a949P 5juysvL4ZCh4uz9KCF8ViLBZp5tw2H3RCTmX7AxkuW0Hlab464jwlsIMW1P9a2SCwwX2 7hfnwVCk3EsxjszAnWrSC2kvfIEBkS5AzWgPN04wP99IW3uRKYRzcqeb2KsIQLZS4ZL4 72Gg== 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=I+FUp1ylyZlTVPkOMx/YuQtPRcxSfUwrG3pZ+XT0maY=; b=kzleF1E9jnT6R19VtOMNQwbiw8Q6MrrH02hkRM+5nisoak+eQa8njLwDozR2ogOlLM P4C7j0aqjJgEKTB1SzHjSO0Io9cSNDR0GU3rAdPYjDXxfkTulJMOdGlmMpowubCpazbJ 7TrkMUL0AK3bg0mh85fi0TA4J2BJH0RJ859zYsHRSlsCl9UGxZ77C1d8RdlKQRcQqmMa wDrd9cQzUZmHyVxamUnt5pzdX8cCi4A8oNqS9UG1Z4PMuWRh6kr1gIlqVpQMGtx3gfux Od+Z1IXPhCEFkOuD+yCmSDal6A1ssyX+A+LRuKux7yTguGhhIBd/nwq/dAk3gEr4o2gs I0Fg== X-Gm-Message-State: AOAM532XHaLn3Ked23QmGFCzNPDs9+5s+kqRgLJDQSvzB5UbrXTv0wQe ctxEypb9BaXmDY65WxRPExp/DA== X-Received: by 2002:a2e:9cd5:0:b0:246:3ec0:7505 with SMTP id g21-20020a2e9cd5000000b002463ec07505mr6092017ljj.434.1645510971535; Mon, 21 Feb 2022 22:22:51 -0800 (PST) Received: from eriador.lumag.spb.ru ([188.162.65.160]) by smtp.gmail.com with ESMTPSA id j24sm1216245lfb.59.2022.02.21.22.22.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Feb 2022 22:22:51 -0800 (PST) From: Dmitry Baryshkov To: Bjorn Andersson , Rob Clark , Sean Paul , Abhinav Kumar Subject: [PATCH 3/4] drm/msm/dpu: drop obsolete INTF_EDP comment Date: Tue, 22 Feb 2022 09:22:45 +0300 Message-Id: <20220222062246.242577-4-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220222062246.242577-1-dmitry.baryshkov@linaro.org> References: <20220222062246.242577-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: David Airlie , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, Stephen Boyd , freedreno@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" DPU driver never supported INTF_EDP, so let's drop the obsolete comment. If at some point 8x74/8x84's INTF_EDP is ported to DPU driver, corresponding handling will have to be ported too. Until that time, the comment serves no purpose. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_vid.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_vid.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_vid.c index f49f42e70b29..478a608ba7f2 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_vid.c +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_vid.c @@ -91,17 +91,6 @@ static void drm_mode_to_intf_timing_params( timing->vsync_polarity = 0; } - /* - * For edp only: - * DISPLAY_V_START = (VBP * HCYCLE) + HBP - * DISPLAY_V_END = (VBP + VACTIVE) * HCYCLE - 1 - HFP - */ - /* - * if (vid_enc->hw->cap->type == INTF_EDP) { - * display_v_start += mode->htotal - mode->hsync_start; - * display_v_end -= mode->hsync_start - mode->hdisplay; - * } - */ /* for DP/EDP, Shift timings to align it to bottom right */ if ((phys_enc->hw_intf->cap->type == INTF_DP) || (phys_enc->hw_intf->cap->type == INTF_EDP)) {