From patchwork Tue Nov 12 18:34:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Patchwork-Id: 13872824 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D1E2DD32D81 for ; Tue, 12 Nov 2024 18:34:23 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 9FCF410E623; Tue, 12 Nov 2024 18:34:19 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (1024-bit key; unprotected) header.d=weissschuh.net header.i=@weissschuh.net header.b="RDGPOH3d"; dkim-atps=neutral Received: from todd.t-8ch.de (todd.t-8ch.de [159.69.126.157]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2478010E624; Tue, 12 Nov 2024 18:34:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=weissschuh.net; s=mail; t=1731436454; bh=ny7+lW1QmUhgPG79p69Qw+n9y/fGzw7D/iIT7aahRTg=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=RDGPOH3d7vcDKwgeYK2zkr8uPra5EsGDEpTxI9MqTfgAruNJ/p65p+DUUZBmhUOa9 c+oTa1j++EnYxPQTKbE/vJqqSbHG7EtU3AnjQ2bNPAAS3XngD2mNmy5UkhRCi33rYg 631EDRfWSdt1UR3QWZd7yLsLj6tiJAYMQ/rlRto4= From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= Date: Tue, 12 Nov 2024 19:34:10 +0100 Subject: [PATCH v2 1/7] drm/amd/display: Remove spurious declaration of dm_helpers_get_sbios_edid() MIME-Version: 1.0 Message-Id: <20241112-amdgpu-drm_edid-v2-1-1399dc0f0469@weissschuh.net> References: <20241112-amdgpu-drm_edid-v2-0-1399dc0f0469@weissschuh.net> In-Reply-To: <20241112-amdgpu-drm_edid-v2-0-1399dc0f0469@weissschuh.net> To: Harry Wentland , Leo Li , Rodrigo Siqueira , Alex Deucher , =?utf-8?q?Christian_K=C3=B6nig?= , Xinhui Pan , David Airlie , jinzh , Aric Cyr , Alan Liu , Tony Cheng , Andrey Grodzovsky , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Simona Vetter Cc: amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Harry Wentland , Melissa Wen , =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1731436454; l=1175; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=ny7+lW1QmUhgPG79p69Qw+n9y/fGzw7D/iIT7aahRTg=; b=3ar7M6gLBobRg5ww5czn+dI7lh1If/niMN9gX0UCr2oUTL0FjYA/4uZApdSJmiawvXuIOk5eV dBVAsiCboDaCX80Ebm5yTo3QSF/ZFuYzu8yjj8l11+9ghjYQowgzBJn X-Developer-Key: i=linux@weissschuh.net; a=ed25519; pk=KcycQgFPX2wGR5azS7RhpBqedglOZVgRPfdFSPB1LNw= 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: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" The prototype is the whole content of commit 575d0df6dae4 ("drm/amd/display: refine the EDID override"). Apparently the definition was never added. Fixes: 575d0df6dae4 ("drm/amd/display: refine the EDID override") Signed-off-by: Thomas Weißschuh --- drivers/gpu/drm/amd/display/dc/dm_helpers.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/amd/display/dc/dm_helpers.h b/drivers/gpu/drm/amd/display/dc/dm_helpers.h index 2e4a46f1b499d1dc990ef92a00fddf50287f3e05..483d8c29261814a608895abe1a195225514f78e6 100644 --- a/drivers/gpu/drm/amd/display/dc/dm_helpers.h +++ b/drivers/gpu/drm/amd/display/dc/dm_helpers.h @@ -208,8 +208,6 @@ int dm_helpers_dmub_set_config_sync(struct dc_context *ctx, enum set_config_status *operation_result); enum adaptive_sync_type dm_get_adaptive_sync_support_type(struct dc_link *link); -enum dc_edid_status dm_helpers_get_sbios_edid(struct dc_link *link, struct dc_edid *edid); - bool dm_helpers_is_fullscreen(struct dc_context *ctx, struct dc_stream_state *stream); bool dm_helpers_is_hdr_on(struct dc_context *ctx, struct dc_stream_state *stream);