Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp1447532rda; Mon, 23 Oct 2023 12:56:40 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHC8SB5HAhAy+A1VvOyul3Gqgx6tqE8eT7u7hqRxX1V3+43Ht3aRqXSOdyi2YmeKVk3xBHH X-Received: by 2002:a05:6358:880d:b0:166:dc89:8c9a with SMTP id hv13-20020a056358880d00b00166dc898c9amr12279201rwb.22.1698090999731; Mon, 23 Oct 2023 12:56:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698090999; cv=none; d=google.com; s=arc-20160816; b=oNtGCYrijzJaT8FXfWxO633GP+Lc0f9lV7Zkq9skFTiMXCR8ghg3QQk0Ach4cmY7pW qBXuunAundPO441/dORsVAmYdpc3Nr74w6T10P5QJt8YE/DZX5AcPWE18t/zGHoY+/6A CmUW01s9DBiAYOsOcSy+rZcYrkh5taCf6FdbF2SKPA6KWG6PFwILJmpG+Vd1uiUdF+X8 1Ru1nhXtsxR4pKy3xlLlfzQg85W2u7PRtXRp11nb8EVV90qPlsrChj/5xalTwdW5hrC+ hW9gyDlGbhMd3UrBfiZHdVg7a7KDM9PVNxdiBvIlAj1JZO4b/LDqGD4EKvqKUzR/LgI/ kg/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=mYhFOHXUbUUqAX9R5BipqQxHYfvxGQDwg7kFXGU8wT0=; fh=eIp1kZPyEVSaboaaMFlsfHwf9EdgAMyzBGQoZTsDlQU=; b=NJT4D5IOCietFNaJgPlqOzuwFZzHDl96yHQL4NNGvrOVorhiHXymPgJZCpn0NjufZs pliyZyYNL6OL2uq5csw/1padiypDOzXZYEBkZBHAWTWH6qJQRAmFphy4BTsUaYO4xR21 WjsVndkjU++hNlEBeQ96USew6BMhOCx+ZnM8+ZcTS2o1I1EAmEiwrUV9gwRcDpOfaCdo abo6Fz4T9ZCDlQeEav1RDveMMB9Ffu1Ik3mS4xD0MN7fErUHZuGVSEOhPL1v3Bdjo+sT ofZhrFr525EI5S8aHJiInTCMudfTXiP6Pe2u9g3Dc/OAcLpc08vkSZ85fAHoOnYt3dAj ODtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sdrOchpY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id k2-20020a633d02000000b0057d7cff25b8si6968725pga.198.2023.10.23.12.56.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 12:56:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sdrOchpY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (Postfix) with ESMTP id 44CED8068FF8; Mon, 23 Oct 2023 12:56:37 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229657AbjJWT42 (ORCPT + 99 others); Mon, 23 Oct 2023 15:56:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39114 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229447AbjJWT41 (ORCPT ); Mon, 23 Oct 2023 15:56:27 -0400 Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 714AF8F for ; Mon, 23 Oct 2023 12:56:22 -0700 (PDT) Received: by mail-lj1-x233.google.com with SMTP id 38308e7fff4ca-2bb9a063f26so54449971fa.2 for ; Mon, 23 Oct 2023 12:56:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1698090981; x=1698695781; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=mYhFOHXUbUUqAX9R5BipqQxHYfvxGQDwg7kFXGU8wT0=; b=sdrOchpYlCYRCOfEQUPFcKDl4U0d6kd5E4JIhdLDyk50/80977irilQO2hARSjnmb/ ZdG78+/Pgv0eY8pIxQFHhlWM75V4KE+qwMFhNg00dB8LW6EeQ+dPegwTN3cNObMxM7Wx IpdxANo1iW2JCNopyixcQGwv0H4UDCNIC2VYF2ulFGEcSHWvPqACcwHhXgPIYd8nN6Z3 BtgEdPolnJQNLkL9Tpo8Td9bjMPzsb5x4HPvlGnd+nmojAajpy+Z1UR6lKw+NQYmhpAo wa56dRlplKThCz2s92NlP09c4JL8Rvu+vvaQhbKB0SBdb5hrXTOCuAKD0P49CJ7gvSxD Jg/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698090981; x=1698695781; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=mYhFOHXUbUUqAX9R5BipqQxHYfvxGQDwg7kFXGU8wT0=; b=he6l6wuZhicIPEUmtLxNdXIGSGqNKjtHHHWhzdr4+iHcW3c4mKuBUzum8hkPn4b934 neaX+MaJi+V534MClUkD7eGLwtqGPD4NA8JXQggPJDUw9512+ALzihjRXcPENBIH8ylJ h06pB/FTkaNHDmgKZgEpQTXFTKi8FLdojWfWFuixcsxF1/owcbG2ZIpiG/AdsCVlcw/d KbCWChJTWDAIdWDbiDTZJ4NcD423qfOOh0et8p2Ypbj2m6eZt61YDVOX7sjfT9moUng1 Ei+DAf8IK2oJ6fTwv0dtefrBUc5W6PAkTlxolsDvvswrACWNUVmJ6SPCUKxJncz/y5zz 0ZQQ== X-Gm-Message-State: AOJu0YzpZdJgx8HqDdgea+8Xfgd7MU8EA2RZgt3LpkEwhcBk0bA2rh9e trds9H09kwUuYSiwaHBQbT1FBA== X-Received: by 2002:a19:6716:0:b0:500:9a29:bcb8 with SMTP id b22-20020a196716000000b005009a29bcb8mr6616129lfc.4.1698090980584; Mon, 23 Oct 2023 12:56:20 -0700 (PDT) Received: from [172.30.205.82] (UNUSED.212-182-62-129.lubman.net.pl. [212.182.62.129]) by smtp.gmail.com with ESMTPSA id a12-20020a056512200c00b005007da9f823sm1801580lfb.168.2023.10.23.12.56.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 23 Oct 2023 12:56:20 -0700 (PDT) Message-ID: <6a0398d1-22f4-4eb7-ba43-c448055be323@linaro.org> Date: Mon, 23 Oct 2023 21:56:16 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] drm/msm/adreno: Drop WARN_ON from patchid lookup for new GPUs To: Rob Clark Cc: Abhinav Kumar , Dmitry Baryshkov , Sean Paul , David Airlie , Daniel Vetter , 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 References: <20231023-topic-adreno_warn-v1-1-bb1ee9391aa2@linaro.org> Content-Language: en-US From: Konrad Dybcio In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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 groat.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 (groat.vger.email [0.0.0.0]); Mon, 23 Oct 2023 12:56:37 -0700 (PDT) On 10/23/23 21:42, Rob Clark wrote: > On Mon, Oct 23, 2023 at 7:29 AM Konrad Dybcio wrote: >> >> 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); > > Maybe just change it to ADRENO_6XX_GEN4? That also applies to 700 Konrad