Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2923087rwd; Fri, 19 May 2023 12:05:26 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7yH25SwAxC25w40KwUGIyc8I/T9wMIL5UGTWuTWcpIzDGmupgPcEYuWs9ybKIFN5o322Im X-Received: by 2002:a05:6a20:8f04:b0:ff:e397:a87a with SMTP id b4-20020a056a208f0400b000ffe397a87amr3690502pzk.33.1684523126224; Fri, 19 May 2023 12:05:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684523126; cv=none; d=google.com; s=arc-20160816; b=0pi9RM/QhcdRxIV9BiAqF8hB8wkbmwPgh1veB5z5T6AsCQO3WmIV3/NjhVh95akSEp H/N7TRKKaBBlmkl9VrWcwWkpwXukTQCxZgDEiN/Q85WHZcBwLNHkI/8irZloH4Mo3lAn BQKIa5Qu5zZQndIl2XpdBdrYDVnWU+0D5OvJwl4ZBZojAP5YCqLl/3pboE/KTSYiBUHM mM5IpZM2xLUpt6fAgGuIMqVgbIsUiZrwNUOVgDJyyCMIyPOz0UhPEwAl1mDOkVKjFkpI 09ds2CGvkBZkCTlbkPR/83vrK3CynypkCsCRT6OaGpXvQAddlDt4g9bbn9jD4n0kMOBA jM5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:message-id:content-transfer-encoding :mime-version:subject:date:from:dkim-signature; bh=HTUEsS20+JWfFefGFxAlmb68/xkcFppSNirNHBfFJGA=; b=p8jcj3wErXQTtnT0wY/jeeysRfZhl9qa5ejywXJwzp4LAAqSipyca9it6jELyiPrBO 9fxpQrMjX+Ohyv+twU83LUBlFRhfW2zte1YDOf7qked/ATR1vZN5uaa/DwmIfzbTieQT DIGJBJJkCzcJ2Ug5tk2HTxokzBCiwpzjJuToMH9wETaZcTehcAhattZLTEI3bhoAP9+o rnEfJQdPQsff48TyC3/CpbpsE4l1/z4Jw8wB1ZL4mFafBO1BGRdmy29VLG54iMcSS06L DsaoFqaURtyNC7Kv8ywHKYF0YOrLD2No9m9yoadE1TJPpw2LYNY/h4nkSClez+GL5C7X ABfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UU98q5En; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u12-20020a63600c000000b005309c3a0b82si55877pgb.660.2023.05.19.12.05.07; Fri, 19 May 2023 12:05:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UU98q5En; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S229782AbjESSu1 (ORCPT + 99 others); Fri, 19 May 2023 14:50:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45772 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229610AbjESSuZ (ORCPT ); Fri, 19 May 2023 14:50:25 -0400 Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 078B4E54 for ; Fri, 19 May 2023 11:50:03 -0700 (PDT) Received: by mail-lf1-x134.google.com with SMTP id 2adb3069b0e04-4efd6e26585so4046621e87.1 for ; Fri, 19 May 2023 11:50:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1684522202; x=1687114202; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:from:to:cc:subject:date:message-id:reply-to; bh=HTUEsS20+JWfFefGFxAlmb68/xkcFppSNirNHBfFJGA=; b=UU98q5EnmW7KMZZAlzm7ITG5fh0J558Aki64lr9kuoXzScUd4PKrwzpCLp3V2J1Gs9 A0bpqkO3SdR4aoLp+dx/6fLLp9shqwZazDcKxsavE6N8TIdxPCEUvw7fYC40BIlDq9Uy 8Pstm7Bw9jt++JwvhrHH2HaRSdyQpPs3Iql6CzkqXd8ppPXj6qXa2pdGfb724U7U+LCo 2F9S706SA7Cdb5H5bcQiFK+xbnwp/7Dqe8Z6ginVbHpUlv1Rp1ZU4H1xojiJNnnKe7a4 J680SUmQHug1+O1pss2AOrdp7YHtMvDpjppSGQntWOd/5pedDLT+hzdAZsgkeo/oN5+a h/SQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684522202; x=1687114202; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=HTUEsS20+JWfFefGFxAlmb68/xkcFppSNirNHBfFJGA=; b=keXfOvncjt0l2R4KEUzUvVRjzoOuTqszFIZZl+LNeGPA9OGDRNl9BLqVsS9mmTmrkm 6Qcos9pr0aDLZ21JM8yp53YmY4TjX6iBzC8DY50gt05PCJ2TQ4xpn2Mzj5Q13Rje6Bxy LZIOiFapGK3fnWx2jiioaJETL+uSXrmTilNmvQtsOrfpl+eAoJay785/+zVmi6X3v6K9 G/IImnrPUnlTj0Mq9FB4Cd3YMTmoW3i/wkkk/nvxDylyjRYyC88bPpiUCmycy39eOuKH uOsfDwJzMyDFttUTvMDBzGlopE7Rt352fqwyUG8XFEDQehOfpBGVwNI4iJDj9l2N5O2X cpvw== X-Gm-Message-State: AC+VfDyKnGb8xEI7E6Ka/kP1VFdzELq8GbYZXnzmJxb6V4xzTWvInKPp e/KdWZPS9JAHNCN3A2hrkJQgyw== X-Received: by 2002:a05:6512:147:b0:4f3:93d4:2bc7 with SMTP id m7-20020a056512014700b004f393d42bc7mr1259838lfo.36.1684522201760; Fri, 19 May 2023 11:50:01 -0700 (PDT) Received: from [192.168.1.101] (abxi58.neoplus.adsl.tpnet.pl. [83.9.2.58]) by smtp.gmail.com with ESMTPSA id x20-20020ac25dd4000000b004f37bd02a89sm678373lfq.287.2023.05.19.11.50.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 May 2023 11:50:01 -0700 (PDT) From: Konrad Dybcio Date: Fri, 19 May 2023 20:49:59 +0200 Subject: [PATCH v2] drm/msm/dpu: Set DPU_DATA_HCTL_EN for in INTF_SC7180_MASK MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230508-topic-hctl_en-v2-1-e7bea9f1f5dd@linaro.org> X-B4-Tracking: v=1; b=H4sIANbEZ2QC/3WNQQqDMBBFryJZd0qMKKar3qNISeJoBkIiEyst4 t2buu/yPfj/7SIjE2Zxq3bBuFGmFAuoSyWcN3FGoLGwUFI1spU9rGkhB96t4YkRGmOt1tp0Tmt RNtZkBMsmOl9W8RVCkQvjRO8z8hgKe8pr4s/Z3Oqf/Xe/1VCDnHrbjlMncWzvgaLhdE08i+E4j i9bE/tdwAAAAA== To: Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , David Airlie , Daniel Vetter , Kalyan Thota , Shubhashree Dhar , Raviteja Tamatam , Krishna Manikandan Cc: Marijn Suijten , Rob Clark , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1684522200; l=1779; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=pAP/phIYSh7fnR3TZQDt1S75nNfckM/QPQMkcpx1MHk=; b=rj0I0SkomI8uK3sxTU6N+M/TsYvAYp6mC3zNbbLftt+9EDVyjRN/yxroXTIbaQbeCe5jkQQWJ V2OsjvS6+ejAyhgX0axt2BVK9sX9Fys7RbW/io9F1g9F1a+hayUXayF X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DPU5 and newer targets enable this unconditionally. Move it from the SC7280 mask to the SC7180 one. Fixes: 7e6ee55320f0 ("drm/msm/disp/dpu1: enable DATA_HCTL_EN for sc7280 target") Reviewed-by: Dmitry Baryshkov Reviewed-by: Marijn Suijten Signed-off-by: Konrad Dybcio --- Depends on: https://lore.kernel.org/linux-arm-msm/20230405-add-dsc-support-v2-0-1072c70e9786@quicinc.com/ --- Changes in v2: - Use a more fitting fixes tag - Add braces around 7280 macro definition (checkpatch) - Link to v1: https://lore.kernel.org/r/20230508-topic-hctl_en-v1-1-0f8b5df60ed5@linaro.org --- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c index 27420fc863d6..005f09fcf334 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c @@ -98,9 +98,12 @@ #define INTF_SDM845_MASK (0) #define INTF_SC7180_MASK \ - (BIT(DPU_INTF_INPUT_CTRL) | BIT(DPU_INTF_TE) | BIT(DPU_INTF_STATUS_SUPPORTED)) + (BIT(DPU_INTF_INPUT_CTRL) | \ + BIT(DPU_INTF_TE) | \ + BIT(DPU_INTF_STATUS_SUPPORTED) | \ + BIT(DPU_DATA_HCTL_EN)) -#define INTF_SC7280_MASK INTF_SC7180_MASK | BIT(DPU_DATA_HCTL_EN) | BIT(DPU_INTF_DATA_COMPRESS) +#define INTF_SC7280_MASK (INTF_SC7180_MASK | BIT(DPU_INTF_DATA_COMPRESS)) #define WB_SM8250_MASK (BIT(DPU_WB_LINE_MODE) | \ BIT(DPU_WB_UBWC) | \ --- base-commit: c47189dee0decd9ecc1e65ae376ad6d4b0b7f1f2 change-id: 20230508-topic-hctl_en-3abb999a6c99 Best regards, -- Konrad Dybcio