Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp1262905rda; Mon, 23 Oct 2023 07:29:55 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHfPYLMpoDtDhIfUPjk8uXVw5gV9i4S7QViPWHiJPYHgU1byMKOhRPywFHq0p7pREMXD936 X-Received: by 2002:a05:6871:806:b0:1ea:2c8b:e18b with SMTP id q6-20020a056871080600b001ea2c8be18bmr12306803oap.35.1698071395490; Mon, 23 Oct 2023 07:29:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698071395; cv=none; d=google.com; s=arc-20160816; b=C1CghjodQgyBL/LqskF4kvEGqElGMMrq0AlEFtO5HMtTVWeRtivRNrgoyCPdbQEl1q s2n3yDncdVE4XuvcT9kJ4eORrmC6Kc5qU8IU8fAgDermr6c7OOwZHZ1L+qD7B4KUM4Cp QLlvWbyzgS6mjdQ7oAzRR9bxnMqR1VCgCrX0KGYFqpHCDST13tTE/4x725FyHTeBb/nq JZD4mtv458T2I6gFnlknX6KYr21WzjvMZgqaeNyi7Q/Uw662olNjmjgMSGgcUwk5R8Gv ufN/AI5M2wxYiUF+Fe/O++7oPQIdYaL+2Kr0mjZJHLJSMyYE6HNMEQZVscDiMhLQq4+p y3hQ== 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=59STP8IG3xhkl1R+OwWbm4nT/u7IRLl4iyf5Y7WczEY=; fh=Xo9JBRsad2AMR1fk1Cs0JLV07/S8kv+XhFeve6hBo0w=; b=QdZ6vI7KHFSajxjV0GiXloTMFfuMXA/F5xno3hnJ1h05nr+sYAdzqqe4DnOwnPZJKa 3EGrxTPKtFpfvUUG/Q3I2sBhGREZEa311XEguEPM0olI9S3IQEVFI4z+8YUWG51P87fm ig7rNOenwxqOaa43HQfaTAUo3JWO2XA78+dUG7NcGjioPP/I12txfuHFa/F6wIfasd6C Y9VSz0IcSiNdf2DFoYo6NAP0Vs/rzpd+W1KPlnpto+MD69riIuJnjrqVRknD31fHHX5W 4KTHtG9z0QpYgUNqDMtrx88+H6XCWs/V0BOEmdHrQ5NUwO1x8yFxViKzBRihx+iSoOlw O3dA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aV0lQEgN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id bs10-20020a63280a000000b00578dfa34d95si6638693pgb.574.2023.10.23.07.29.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 07:29:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aV0lQEgN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 86CB7809C64F; Mon, 23 Oct 2023 07:29:52 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229686AbjJWO3o (ORCPT + 99 others); Mon, 23 Oct 2023 10:29:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48076 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230274AbjJWO3m (ORCPT ); Mon, 23 Oct 2023 10:29:42 -0400 Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 76829DD for ; Mon, 23 Oct 2023 07:29:40 -0700 (PDT) Received: by mail-lj1-x22e.google.com with SMTP id 38308e7fff4ca-2c503da4fd6so49029131fa.1 for ; Mon, 23 Oct 2023 07:29:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1698071379; x=1698676179; darn=vger.kernel.org; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:from:to:cc:subject:date:message-id:reply-to; bh=59STP8IG3xhkl1R+OwWbm4nT/u7IRLl4iyf5Y7WczEY=; b=aV0lQEgNe6nzRLj3kLeArWz6mRwwpsfCl3CEcohtUfp13PW43qH15/GLwPHrI1mEqc WSQBtuEdiw1WwfisryebMepzGcMKdic94zTaOIKbqeUzVrYF0dWI8I61JSV3t7zeluSw 4bShazqB5AtdEO9JU0Plo9EQ8BTwAsXuwUZXAw58BsaMKTmIGQp+uCkTn5n/3aBnA4A3 xRledW4M+q3LU+n0iav6YSEArFDOPDmey7Sn8WJAmBfa2YUDPaoPUI1ADpgll1NiOS1C VxbRzlAbHS6osSS6AryQKicMHszh2C+WvpMKc+IjxSFaSNOMS1/Zsabo3ocqj/3R5z0p l6mg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698071379; x=1698676179; 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=59STP8IG3xhkl1R+OwWbm4nT/u7IRLl4iyf5Y7WczEY=; b=YDqN+zNPLIn/q1+NBwCRICzhEMSp7LaHpJdR20TT2rdcEj7MgjwuaqwVL/hOGeDMPg o+L6XDAJFwN/nhe1bpARo4f54Fuu9tWH6gmBUdzy2Y5kClDBWaEmSqp53EBxK+Vk8uNh wdNDyuEQ3tC63VacrK+cQ6ljyGMR9ZYFrLjmx/6W0wCi0J++3z11tJM658fys7/HnHPg Mk/tnA1UvYvM9xuG1EhUqf6Lrmjset1lFtY7rUqmkHWDNz8SwQzzC6PfDCKpgJkuALo8 opKxhuUdD0+hnKRVSXMBwWDkXujW/uwEJanLFh6Y/XdrB12E3OPcpvmtLgodTiZwX+1u ZKBg== X-Gm-Message-State: AOJu0YzDWEK/TQQ1YbwKLzDq/u1KvPB2LeqPMDSl41imHIkcj+TzTPAt jaNxZSFIRh9CBmo27dZI2vT8rw== X-Received: by 2002:a2e:a7c7:0:b0:2c1:5645:a2c0 with SMTP id x7-20020a2ea7c7000000b002c15645a2c0mr5768343ljp.35.1698071378607; Mon, 23 Oct 2023 07:29:38 -0700 (PDT) Received: from [10.167.154.1] (178235177080.dynamic-4-waw-k-1-1-0.vectranet.pl. [178.235.177.80]) by smtp.gmail.com with ESMTPSA id t13-20020a2e8e6d000000b002c4faf47378sm1616655ljk.28.2023.10.23.07.29.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 07:29:38 -0700 (PDT) From: Konrad Dybcio Date: Mon, 23 Oct 2023 16:29:31 +0200 Subject: [PATCH] drm/msm/adreno: Drop WARN_ON from patchid lookup for new GPUs MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20231023-topic-adreno_warn-v1-1-bb1ee9391aa2@linaro.org> X-B4-Tracking: v=1; b=H4sIAEqDNmUC/x2NywrCQAxFf6VkbaAdB0F/RUSSaWoDJVMyvqD03 w0u7uJcOJwNmrhKg0u3gctbm1YLGA4dlJnsIahjMKQ+HYcYPuuqBWl0sXr/kBvmRP2ZOfN0yhA eUxNkJytzmPZaljhXl0m//9D1tu8/hqsr1XgAAAA= To: Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , David Airlie , Daniel Vetter 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, Abel Vesa , Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1698071376; l=1189; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=CI9uW4HFCd+sT4l3B8ani/4HRFmQfbbgjJhTrM3t/ig=; b=SCcIvz1UzYt8XexR/pBOz+V+i46dV2cDA1630eMo2ve5CMi9C6GzQ58HdfRNOoV17ffhl+axh GqYKdlDyyY/DwK9zWKbyUnlzLfk2p9kjX0+mVT5IVcj8WRb7GEdWRi7 X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Mon, 23 Oct 2023 07:29:52 -0700 (PDT) New GPUs still use the lower 2 bytes of the chip id (in whatever form it comes) to signify silicon revision. Drop the warning that makes it sound as if that was unintended. Fixes: 90b593ce1c9e ("drm/msm/adreno: Switch to chip-id for identifying GPU") Signed-off-by: Konrad Dybcio --- drivers/gpu/drm/msm/adreno/adreno_gpu.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/gpu/drm/msm/adreno/adreno_gpu.h b/drivers/gpu/drm/msm/adreno/adreno_gpu.h index 80b3f6312116..9a1ec42155fd 100644 --- a/drivers/gpu/drm/msm/adreno/adreno_gpu.h +++ b/drivers/gpu/drm/msm/adreno/adreno_gpu.h @@ -203,11 +203,6 @@ struct adreno_platform_config { static inline uint8_t adreno_patchid(const struct adreno_gpu *gpu) { - /* It is probably ok to assume legacy "adreno_rev" format - * for all a6xx devices, but probably best to limit this - * to older things. - */ - WARN_ON_ONCE(gpu->info->family >= ADRENO_6XX_GEN1); return gpu->chip_id & 0xff; } --- base-commit: e8361b005d7c92997d12f2b85a9e4a525738bd9d change-id: 20231023-topic-adreno_warn-42a09bb4bf64 Best regards, -- Konrad Dybcio