Received: by 2002:a05:6a10:87d6:0:0:0:0 with SMTP id g22csp451960pxr; Sun, 10 Apr 2022 20:51:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwztObZgN8gn3OoDMfyzKpq97HZ6AL1spG4zagNNrdywuDSzeaa994IKJ82e8Xh9LCNE/2/ X-Received: by 2002:a17:907:2da3:b0:6e8:702e:cc94 with SMTP id gt35-20020a1709072da300b006e8702ecc94mr7948626ejc.557.1649649083203; Sun, 10 Apr 2022 20:51:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649649083; cv=none; d=google.com; s=arc-20160816; b=NG1UfcuR/X5K+3y2Y2vPue+vRzBEde1889boelPFy3/aWk85tnmEVkXJ99Odyh+kdT gpMZLLoVr/S3ArZs46L4Mp+YGnUqNcussrAQATD6zwPUo4J8VIp2/MhODef2dPeQJMfV 14nqeekKpdOt/s1q26jb81hC7xXMiVEfLVPOQbpva13wSQH2rX/ZIlPnlSI8Zhi5g9ED 0g685WBAKNxFwdsyAgPywrmxY9+PtBmg8FGZ718jhHPwtjz/mVRhdMfyRd5t3/CXQe1E jm8cREckIachDd6VOaqLCqyf2LvDcTzsZTj1GpXxZsSA2CKxDDQf3W8+XjTUhbs40WZa sdtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=E+nJ+IeQiG4mgvH4yV2XbF3SFHYdv7cMYexwmastyTY=; b=yU9YeAxXBe0f5I4nAqfhKisxzKymjff03xhzNTASTarLFZrA29IfaVMk9IqO5rqHbk MFZS0X2cgPJyN62PdHd7tgbhQZXG/j5BKEQyWR/5cJcuCNx2q3gfOBvAnffelAQvlGKP sTzHL0qi2fyva9jTs+Pxvj5XGplDQ9YJSOtPdInNI/uPL5UhZOYrMCgQX6ehdPAdFk/N orPt+Uorjx0PIvRha7uGH+mccNZ2G45YJ7x4WrJXEn8t3/ogPGcG9VXpoQ3o97AAxze6 DJiYD1by5nA0xrHRJoJd/TsqUxW4MfIfuB19nDJnyisuFjcjAbDCAWDf9Zs180Jpg7Q8 EOUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=UWj9T0Sg; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n16-20020a17090625d000b006dfdad12757si5820892ejb.391.2022.04.10.20.50.57; Sun, 10 Apr 2022 20:51:23 -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=@gmail.com header.s=20210112 header.b=UWj9T0Sg; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236752AbiDHUuo (ORCPT + 99 others); Fri, 8 Apr 2022 16:50:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58020 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229607AbiDHUum (ORCPT ); Fri, 8 Apr 2022 16:50:42 -0400 Received: from mail-oa1-x33.google.com (mail-oa1-x33.google.com [IPv6:2001:4860:4864:20::33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 734281DE6D0 for ; Fri, 8 Apr 2022 13:48:38 -0700 (PDT) Received: by mail-oa1-x33.google.com with SMTP id 586e51a60fabf-df22f50e0cso10995452fac.3 for ; Fri, 08 Apr 2022 13:48:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=E+nJ+IeQiG4mgvH4yV2XbF3SFHYdv7cMYexwmastyTY=; b=UWj9T0SgeOOrrMmgaYoiY5YEbtQ8lCvdCT1Zd/qLCvtxBpRlVuy0ODEQr6LU82RUx+ wluGV7lYtv10KzBMhz5JCRgWTfRYVMkQCFecNeJvaCrFgnzHLcZtCJtWRp+Xv964J9R0 YzZ/7shXdsoyiF/TSSXygZWWgFV+n6eoOycubsbu05zVCPVBIjG89VKFmykHzHmm8ifN 1wKjUtsIYPQY+gWuBHhBGkCuKyzhpGXkfA0l7d1MJcrhinlCWa90UD/gysKZAB2Gu5LI ib4+VX0E8IX2dacXcBrPyRd3hD6M9KGcvo/lq2Q29shlbJZ910amW/jtqzZ//qiJd/rE y0Lg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=E+nJ+IeQiG4mgvH4yV2XbF3SFHYdv7cMYexwmastyTY=; b=JVJ7ZCFQ7cO9yhIpxkJIwbQ8ljXfO0RJGwiwEYtiru9+nBEkOiGDNg8EARzQQVDxeh JLlyyatYlKL5drI1qwI/8dhPnKn30mQNQdzErU2Xs3qt5QsjbQFRrer1sl/IAl+feMvd 6Akjoe+5uf80rhRS3t5xNHws7cI00LNQ6jEQNnFP6FCInJCh+rqpzRBak7DEpgnfKJD7 CRnKzjfKGGY7rep9M76Q++zM08SuEZqbP3H8YrqDB9Hn9vh5HD8IV1rSOXxOmwW6xGjJ 7WNhugZG5V68zSLH/DLAn3by20pccxRbK6dEKqaTBJTRV5syxOdWbWXWJMYqroWm7EaU Hx/Q== X-Gm-Message-State: AOAM530nAgaaxp+0r3h8EBm6AqMcgAOqM64xs15OnW5RcEankrhRzlge l17SiWk4h5eoyR6IXG9Jq4Qw++HsEA4Cv4pRoKI= X-Received: by 2002:a05:6870:311d:b0:de:9b6c:362b with SMTP id v29-20020a056870311d00b000de9b6c362bmr8928237oaa.200.1649450917768; Fri, 08 Apr 2022 13:48:37 -0700 (PDT) MIME-Version: 1.0 References: <20220407214659.2519967-1-trix@redhat.com> In-Reply-To: <20220407214659.2519967-1-trix@redhat.com> From: Alex Deucher Date: Fri, 8 Apr 2022 16:48:26 -0400 Message-ID: Subject: Re: [PATCH] drm/radeon: change cayman_default_state table from global to static To: Tom Rix Cc: "Deucher, Alexander" , Christian Koenig , xinhui pan , Dave Airlie , Daniel Vetter , Maling list - DRI developers , LKML , amd-gfx list Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 On Thu, Apr 7, 2022 at 5:47 PM Tom Rix wrote: > > cayman_default_state and cayman_default_size are only > used in ni.c. Single file symbols should be static. > So move their definitions to cayman_blit_shaders.h > and change their storage-class-specifier to static. > > Remove unneeded cayman_blit_shader.c > > cayman_ps/vs definitions were removed with > commit 4f8629675800 ("drm/radeon/kms: remove r6xx+ blit copy routines") > So their declarations in cayman_blit_shader.h > are not needed, so remove them. > > Signed-off-by: Tom Rix Applied. Thanks! Alex