From patchwork Mon Nov 9 21:18:40 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 320980 Delivered-To: patch@linaro.org Received: by 2002:a17:906:d156:0:0:0:0 with SMTP id br22csp3000263ejb; Mon, 9 Nov 2020 13:19:18 -0800 (PST) X-Google-Smtp-Source: ABdhPJx2HELRNi6OBc2r3ckpSthadXszw0zqwD/Knd7qtpS67eK8evR/Om4hXS890FcIkLP/UaQi X-Received: by 2002:aa7:9601:0:b029:18a:e777:dac1 with SMTP id q1-20020aa796010000b029018ae777dac1mr15205832pfg.4.1604956758639; Mon, 09 Nov 2020 13:19:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604956758; cv=none; d=google.com; s=arc-20160816; b=mL807LoNYULB891OT4J/MS6mSa/JNuhdw5BDPiL11roq9uSUjv0SwfjgkfAoiVdMB4 tRQdCFho4mjKN9YEb518qA/mmZRBSKbWDxWqGtLL2BxcbHBPVlaOfd8q6Y9HM5bBas+A oHOuved2m9dELT82a9ku8hN4VmwEQWB+RrDP4lPKGfIR1Hq6+EOvKKdxHwv5VYVFoe+W FmYOLo2bZgJN6QlM1tRiol+EOqGbZddgL1c0yImn6QqGfRCj7WC5qHYuVrhE+3d8uAv3 V4NsPtdaWsOACWl3/SQn/mU+fXQzM2jsWRT76SR4FeBa6umax6igeaqcoMiOa3vEv/2z mFCg== 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:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=+/zBJ3kPQ4KYOkS+1UarIRre8xwZSKf4oaOuPr7VW8c=; b=x5Ub5zEggJONDeykQMOMhxPTSg9jORbc7whiyPsMFThTrOKHDjVLcMjGYwsU/DrSuD Sd4Plb/Qrq4SisRR6j7bB+OVXo3So79baZtQ+XjPEqwDJkVxvvXhInTvkXhigDtP84/I Vg3FglyRN6OTgVXcjE8tLk2Akf1ThURtTCrUQ4eBbD51e616Yy42+KDhd2l+7Zh9Ne5m i6nKCfHbhuDyLBfRvihNTg2MGgHeUJ3HxDRKTXLcsO1yioZTbcgJjS8YzoxDt80nyZC4 2KCJ5iku13f7Ej6RU7sXhSKTyLLIZe+iJiqNYu4m8jci9lXDoHjd0t6pxb1JiHOjx0Ax QkLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=yRHbohXs; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 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. [131.252.210.177]) by mx.google.com with ESMTPS id s184si9880495pfs.248.2020.11.09.13.19.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 13:19:18 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=yRHbohXs; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 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 A187589568; Mon, 9 Nov 2020 21:19:17 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) by gabe.freedesktop.org (Postfix) with ESMTPS id EA93389598 for ; Mon, 9 Nov 2020 21:19:16 +0000 (UTC) Received: by mail-wm1-x343.google.com with SMTP id s13so905982wmh.4 for ; Mon, 09 Nov 2020 13:19:16 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=RmvaQQVqTzYJ/ca4PPIPDIzgTk17HpnAY5XhUH8w95U=; b=yRHbohXsw2QICXZKtP8ovBwjdAKlIxFQQZ0rhdvBYM4oJ5nxL/ORcz5DZJWVVZZIzN 2/DChFnHuAKzp22e7kROw5JKDyNwVhDN23V5qieSGG16WDx6KvMRGkdsZEMniuIP7nk+ Sb5HW0mH6htetyMcaUGgJnVqniObdZbyJiW3Ik/WG7Q/LVqaY071vIQevKfeYPRrQda/ h/2lcchdzqK1tzNe6NjIVVe1ICyMPAqusXyXJ/4pAYjNaiAky3LshKFGFmX1HHh2LkZ2 PSdzhquhWWOMtxj8kR90KE+YOqjwEr684dSRLXPld+Zdv6uH1lJGbb/qRzXwlwPBMggC ylAw== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=RmvaQQVqTzYJ/ca4PPIPDIzgTk17HpnAY5XhUH8w95U=; b=PC0EF2POcvmYh/00V5YmOJysF+OJP4JPnzBIalDO/uCnkvoewgVEvYCvzt+VfpcEVw /G2khAva779QbCk3LrC0BEOQXAHOrgOkeeFf4qL6opqLP+EgdMprXk1/3AKtwjmHfp8I ExT0QV+dzZS6tBRCz7aTODAJ2txzIZN2OXOtykUPNPLshbvrLGcUy28ZtifQ3V0aAdYP jQnfy8L5behvkBqZqznW4IMSVgCFkEnRgnJyjKyy0yU53WahIYprwPq/4Z7EVlVAZMBK Nm7D3LAx9RjRerGYF6jffC+/Kk9cOmsk+FGSFHywdCT+6sfu83H1YonMctyeKk3tYytl Z3Kg== X-Gm-Message-State: AOAM5329GvrYsY5PyGsH5WqH2oU/8Kc3x/0uUThnK0S71G7Z5eCEW8dQ JoSNKFDII9eQ9T1rQmK/UIzVdg== X-Received: by 2002:a1c:9e12:: with SMTP id h18mr1132707wme.11.1604956755622; Mon, 09 Nov 2020 13:19:15 -0800 (PST) Received: from dell.default ([91.110.221.139]) by smtp.gmail.com with ESMTPSA id 71sm15170630wrm.20.2020.11.09.13.19.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 13:19:14 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 05/20] drm/radeon: Move 'radeon_add_legacy_encoder's prototype to shared location Date: Mon, 9 Nov 2020 21:18:40 +0000 Message-Id: <20201109211855.3340030-6-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201109211855.3340030-1-lee.jones@linaro.org> References: <20201109211855.3340030-1-lee.jones@linaro.org> 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, =?utf-8?q?Christian_K=C3=B6nig?= , linaro-mm-sig@lists.linaro.org, dri-devel@lists.freedesktop.org, Alex Deucher , linux-media@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Sumit Semwal Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Cc: linux-media@vger.kernel.org Cc: linaro-mm-sig@lists.linaro.org Signed-off-by: Lee Jones --- drivers/gpu/drm/radeon/radeon.h | 2 ++ drivers/gpu/drm/radeon/radeon_atombios.c | 5 ----- drivers/gpu/drm/radeon/radeon_combios.c | 5 ----- 3 files changed, 2 insertions(+), 10 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h index 0cc8f081e113a..421f6b26512ed 100644 --- a/drivers/gpu/drm/radeon/radeon.h +++ b/drivers/gpu/drm/radeon/radeon.h @@ -2819,6 +2819,8 @@ extern int radeon_cs_parser_init(struct radeon_cs_parser *p, void *data); extern void radeon_legacy_set_clock_gating(struct radeon_device *rdev, int enable); extern void radeon_legacy_backlight_init(struct radeon_encoder *radeon_encoder, struct drm_connector *drm_connector); +extern void radeon_add_legacy_encoder(struct drm_device *dev, uint32_t encoder_enum, + uint32_t supported_device); extern void radeon_atom_set_clock_gating(struct radeon_device *rdev, int enable); extern void radeon_ttm_placement_from_domain(struct radeon_bo *rbo, u32 domain); extern bool radeon_ttm_bo_is_radeon_bo(struct ttm_buffer_object *bo); diff --git a/drivers/gpu/drm/radeon/radeon_atombios.c b/drivers/gpu/drm/radeon/radeon_atombios.c index 5d25917251892..557960e3b204f 100644 --- a/drivers/gpu/drm/radeon/radeon_atombios.c +++ b/drivers/gpu/drm/radeon/radeon_atombios.c @@ -39,11 +39,6 @@ extern void radeon_add_atom_encoder(struct drm_device *dev, uint32_t encoder_enum, uint32_t supported_device, u16 caps); -/* from radeon_legacy_encoder.c */ -extern void -radeon_add_legacy_encoder(struct drm_device *dev, uint32_t encoder_enum, - uint32_t supported_device); - union atom_supported_devices { struct _ATOM_SUPPORTED_DEVICES_INFO info; struct _ATOM_SUPPORTED_DEVICES_INFO_2 info_2; diff --git a/drivers/gpu/drm/radeon/radeon_combios.c b/drivers/gpu/drm/radeon/radeon_combios.c index d3c04df7e75d7..b8cd37d76d8bf 100644 --- a/drivers/gpu/drm/radeon/radeon_combios.c +++ b/drivers/gpu/drm/radeon/radeon_combios.c @@ -40,11 +40,6 @@ #include #endif /* CONFIG_PPC_PMAC */ -/* from radeon_legacy_encoder.c */ -extern void -radeon_add_legacy_encoder(struct drm_device *dev, uint32_t encoder_enum, - uint32_t supported_device); - /* old legacy ATI BIOS routines */ /* COMBIOS table offsets */