From patchwork Wed Nov 11 18:35:26 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324125 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp622743ils; Wed, 11 Nov 2020 10:35:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJzeAgDJH+rOeDQIZZRVQLqMyoSOiPBwFxYTaEFQ6sDgAF5ofI3vsl51dklF1kkcXxGnwvDB X-Received: by 2002:aa7:9a50:0:b029:18b:fa6b:f738 with SMTP id x16-20020aa79a500000b029018bfa6bf738mr16283310pfj.64.1605119752214; Wed, 11 Nov 2020 10:35:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605119752; cv=none; d=google.com; s=arc-20160816; b=L+zu+tvolAUxtDCS6qU5WkzJ+iF8457r8ZtJa+iWf0UHHjdl8Xq/94El9PWVf3U8Hj rXQcBJzdVVq7a5lTOWDJOyz82HQKfmx61ppqCMBIiy3NZj2aZ5kl6fVraoy0JdJTrHBo 3IKeteyKed25T+Yd8PU9RmMm8szikUQpircgYGeqS0LD69kGmsT5EBtv/NDJVVn9g3Mj zZofWIde7ivem5L1qBLGkA3ugbwi1m1WkNJ0ie2HjBPZJo4uHyuWCVdt7eMJ5T+a/mOR /WGO7PV43vZ+OvHaGlfNjYNYbrufS6v0L5ELnYD9hUxfozAJAIdO4imz/aPSsfAgnrh+ +T8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:message-id:date:subject:to:from :dkim-signature:delivered-to; bh=yHaq41Rayh2FZ/+imDT/86fKVp/9WzD9o0fG7DCS/zU=; b=0E2YPdd8wLHNJkeqAwc440bw/PFW3N9JZTgWB7tYkqPuSglCdww5LHBmn+qXUO3tn5 S1JtijJdd+ByPbQSPFe/hnFDJbGlIbxOIKvHKOb9jFqb2ZX42QDtayy4JXdp/ep7UEeO NbS0rqCaK1udzvMIKd7TpD8lAfdLd9kGlq5Iqm/Bj1poV6uN512nPhco6OWykJaui3Sg 02rm4yCglUFX/jDNPrh0ZTpE1W6H0Py/hghoHDQZFtLgfZ7u8yhXLsKiIrISKYuhK5+J eQuk6+9jEwO7/6Pm3uj/gMtbNgJXMNPhgp6IbVJncZm6w2KEOiMm4EUN9LPTasXRQVXq IiGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=KgAnGRoS; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 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. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id v24si2449027pjt.158.2020.11.11.10.35.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Nov 2020 10:35:52 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=KgAnGRoS; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 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 4D6156E0A6; Wed, 11 Nov 2020 18:35:51 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1B8DA6E0A8 for ; Wed, 11 Nov 2020 18:35:50 +0000 (UTC) Received: by mail-wm1-x342.google.com with SMTP id h2so3196512wmm.0 for ; Wed, 11 Nov 2020 10:35:50 -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:mime-version :content-transfer-encoding; bh=M8WfWuBVHXpKLzkSsKEOW6BSD/IfhCkoHkgxrNpz2cI=; b=KgAnGRoSC1GGHgGKylBif9BORNSvke76zr6Ku+V2dpq5zX/ppUCMXa6BZ50PLao2Su wgMZIci54WmiIRlv8BP3RviUmpLeGnDrlWpT6nIPxFotxzTAPnKotPe48UujpPlgD+j1 y1GFe4cT54dk/av5cvpir2oc4RKEJtEREIwDqO8uIAsrZA6vLqrSIwrugO7Kdxktf/1n APlL9KK3h7FFRXMHlz+ivY3DTvNGku3VsEE63RyF5f30IzuZl+NKcYSA4FkgXUhQm8Pl CSyACifcZE6IrPwhFTqwNJUSD2NAOtiS+lrdG37fTlJOeWaAa6tQWymx0POpAzKY9VAR fXpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=M8WfWuBVHXpKLzkSsKEOW6BSD/IfhCkoHkgxrNpz2cI=; b=ibscpBxCTypctbVczSNf4sbmdhMTlSV9jINafDNgLbETKfa2xVaaSxzNkvtykWTiBY NLJmm5wS8hQeU15Su1ABF0LsQf72ErmtUTOtVCkGyIWz6/g311pF4vV1C60NAhMbsu2V QM5QibuSN+WIE4vJK1DGPEpV7Fnf/l6/17KOpaxAs+dszzqRTgSbf8Ut9Myi0si6ETnM VZCRvhzRhUd9Omj2vEFv5lYbjQrzdPEf9WHKfrC55NDzN7pn7BKTyX63bek4iG+x+wNA JypHhhaHIjdUQMyod6M7xxrzlC7wONDEGSBmnXIJCtINpO9LShz9Tn3IbTRAJkj5Klsp 16Bg== X-Gm-Message-State: AOAM530h77hlMacNwaI448vNyWU1yBTafhqgaBjod5hdtiA0kq+2hVdx lu6dwZP3fNb9/UFtV6WTZAAW0w== X-Received: by 2002:a7b:cd92:: with SMTP id y18mr5624982wmj.178.1605119748648; Wed, 11 Nov 2020 10:35:48 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id k84sm3558311wmf.42.2020.11.11.10.35.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Nov 2020 10:35:47 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 00/19] [Set 5] Rid W=1 warnings from GPU Date: Wed, 11 Nov 2020 18:35:26 +0000 Message-Id: <20201111183545.1756994-1-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 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-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, Slava Grigorev , linaro-mm-sig@lists.linaro.org, dri-devel@lists.freedesktop.org, Alex Deucher , =?utf-8?q?Christian_K=C3=B6nig?= , linux-media@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" This set is part of a larger effort attempting to clean-up W=1 kernel builds, which are currently overwhelmingly riddled with niggly little warnings. This finishes cleaning up Radeon. AMD next! Lee Jones (19): drm/radeon/evergreen_dma: Move 'evergreen_gpu_check_soft_reset()'s prototype to shared header drm/radeon/r600: Move 'evergreen_rlc_resume()'s prototype to shared header drm/radeon/ni_dma: Move 'cayman_gpu_check_soft_reset()'s prototype to shared header drm/radeon/radeon_atombios: Move 'radeon_add_atom_encoder()'s prototype to shared header drm/radeon/radeon_encoders: Move 'radeon_atom_backlight_init's prototype to shared header drm/radeon/ci_dpm: Move 'ci_*()'s prototypes to shared header drm/radeon/si_dpm: Move 'si_mc_load_microcode()'s prototype to shared header drm/radeon/si_dma: Move 'si_gpu_check_soft_reset()'s prototype to shared header drm/radeon/cik: Move 'si_*()'s prototypes to shared header drm/radeon/btc_dpm: Move 'evergreen_get_pi's prototype to shared header drm/radeon/radeon_audio: Move 'dce6_*()'s prototypes to shared header drm/radeon/evergreen: Move 'si_get_csb_*()'s prototypes to shared header drm/radeon/cik_sdma: Move 'amdgpu_cik_gpu_check_soft_reset()'s prototype to shared header drm/radeon/evergreen: Move 'cik_*()'s prototypes to shared header drm/radeon/ci_dpm: Move 'si_*()'s prototypes to shared header drm/radeon/cik: Move 'Move 'cik_sdma_*()'s prototypes to shared header drm/radeon/si_dpm: Move 'vce_v1_0_enable_mgcg()'s prototype to shared header drm/radeon/cik: Move 'vce_v2_0_enable_mgcg()'s prototype to shared header drm/radeon/evergreen_cs: Move 'r600_dma_cs_next_reloc()'s prototype to shared header drivers/gpu/drm/radeon/btc_dpm.c | 3 +- drivers/gpu/drm/radeon/ci_dpm.c | 13 +----- drivers/gpu/drm/radeon/cik.c | 10 ++--- drivers/gpu/drm/radeon/cik.h | 40 ++++++++++++++++++ drivers/gpu/drm/radeon/cik_sdma.c | 3 +- drivers/gpu/drm/radeon/cypress_dpm.c | 3 +- drivers/gpu/drm/radeon/dce6_afmt.c | 1 + drivers/gpu/drm/radeon/dce6_afmt.h | 52 ++++++++++++++++++++++++ drivers/gpu/drm/radeon/evergreen.c | 8 +--- drivers/gpu/drm/radeon/evergreen.h | 4 ++ drivers/gpu/drm/radeon/evergreen_cs.c | 3 +- drivers/gpu/drm/radeon/evergreen_dma.c | 3 +- drivers/gpu/drm/radeon/ni.h | 1 + drivers/gpu/drm/radeon/ni_dma.c | 3 +- drivers/gpu/drm/radeon/ni_dpm.c | 3 +- drivers/gpu/drm/radeon/r600.c | 2 +- drivers/gpu/drm/radeon/r600.h | 4 ++ drivers/gpu/drm/radeon/r600_cs.c | 1 + drivers/gpu/drm/radeon/radeon_atombios.c | 4 -- drivers/gpu/drm/radeon/radeon_atombios.h | 8 ++++ drivers/gpu/drm/radeon/radeon_audio.c | 17 +------- drivers/gpu/drm/radeon/radeon_encoders.c | 6 +-- drivers/gpu/drm/radeon/rv770_dpm.c | 1 + drivers/gpu/drm/radeon/si.c | 1 + drivers/gpu/drm/radeon/si.h | 38 +++++++++++++++++ drivers/gpu/drm/radeon/si_dma.c | 3 +- drivers/gpu/drm/radeon/si_dpm.c | 8 ++-- drivers/gpu/drm/radeon/si_dpm.h | 5 +++ drivers/gpu/drm/radeon/trinity_dpm.c | 2 +- drivers/gpu/drm/radeon/vce.h | 35 ++++++++++++++++ drivers/gpu/drm/radeon/vce_v1_0.c | 1 + drivers/gpu/drm/radeon/vce_v2_0.c | 1 + 32 files changed, 215 insertions(+), 72 deletions(-) create mode 100644 drivers/gpu/drm/radeon/cik.h create mode 100644 drivers/gpu/drm/radeon/dce6_afmt.h create mode 100644 drivers/gpu/drm/radeon/si.h create mode 100644 drivers/gpu/drm/radeon/vce.h Cc: Alex Deucher Cc: amd-gfx@lists.freedesktop.org Cc: "Christian König" Cc: Daniel Vetter Cc: David Airlie Cc: dri-devel@lists.freedesktop.org Cc: linaro-mm-sig@lists.linaro.org Cc: linux-media@vger.kernel.org Cc: Slava Grigorev Cc: Sumit Semwal