Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp118863ybg; Mon, 8 Jun 2020 18:08:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyiN58XXeKr/u1G3UDhhudQhiSS3KbDObmS/FpDRn0wO5NuWjjCyicFUZ2nz5DwP1ObGM2r X-Received: by 2002:a17:906:7848:: with SMTP id p8mr24316028ejm.244.1591664889056; Mon, 08 Jun 2020 18:08:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591664889; cv=none; d=google.com; s=arc-20160816; b=WP80Bi2fHwfnxqhj9NftWB+1/u7IlVViUzXnYZO88mHlXAbrP4rIxcujw+AzoDZ/FN DNuxhzqV7gOo//ymKb+apZFWsKdjj158txe2pjiKK35LCodSzRh71NJZVmktvWhqYSTC OxNOiXcT2yJ8w6mfNumliLN7BN5tWHMUhl00dOi8zHybttSsBOqSmaX6qICoZvbFXrXV fNZoVAKvsbnTgXMJ5mY/FcsGxZoapdSSDs7HyX0CHkdg2gWCLGdViuTQHSrJfJmocgcD Xzna2KQbhhrH6W4+CpK2yzu7ofv2377VOa++U30QGQMF7PD4DbrxGAlb3fe43cyzrEOB jW+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=g8xvdbdXREI/UH+q6/2EMOG7Vn/DZ6RQajD2DbVxHw8=; b=vXbqPomm3dRanHnlGoyt2v/eiV+BrmMVc+dUco3gl7+JeYm9FogerNdZCAPlHkfX7G 6C8H6E5vA+oJIoxqCFD+rUDrmw0XopgpSHl68cd7fqEJRopRJkpqZo55aE5muG4dYDrR OSM3jcBeBS2znLgZAv3ccR32iz0pSr6BawwzZw9Y9cWetjZqmDkS/h21btqwG4ZKxIN5 D+PDlbiGIm+/ukq2OUhhfRlZUz8hx+1c2ZYfn/DUA5Y1ET3Zhr88lm6+570C62w1ULFc UF2MNcZ9z5NqdFJdnyinvWJfcCy81SiwSaUC3CzwY/9ar4Fxp7pD146jhKJTixDR9lpg HvUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=bxB2fj6A; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f18si10039647ejf.617.2020.06.08.18.07.44; Mon, 08 Jun 2020 18:08:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=bxB2fj6A; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388113AbgFIBGB (ORCPT + 99 others); Mon, 8 Jun 2020 21:06:01 -0400 Received: from mail.kernel.org ([198.145.29.99]:51128 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727820AbgFHXHN (ORCPT ); Mon, 8 Jun 2020 19:07:13 -0400 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id F2B7320842; Mon, 8 Jun 2020 23:07:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1591657632; bh=asHvb1M4yJnWpzR6XeynGk7s5pr0sNh85tnSYRIZyVE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bxB2fj6AmupA8MqEdRE5Um4Jq+W7F/sgw1z6t++Dgbx1Gr3sTo9yIp6QoHf0Alsel ryuEUlm2PHJyGpZ7KI3QZ1E+dtDJfTw5XFqhfJKo1HuxQfD2szANLFql7vpgjNxJxY abes/FiBRDQAvZMMSqo+8CWvvmxDNvw8BO7NfITs= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Tiezhu Yang , Thomas Bogendoerfer , Sasha Levin , linux-mips@vger.kernel.org Subject: [PATCH AUTOSEL 5.7 051/274] MIPS: Loongson: Build ATI Radeon GPU driver as module Date: Mon, 8 Jun 2020 19:02:24 -0400 Message-Id: <20200608230607.3361041-51-sashal@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200608230607.3361041-1-sashal@kernel.org> References: <20200608230607.3361041-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Tiezhu Yang [ Upstream commit a44de7497f91834df0b8b6d459e259788ba66794 ] When ATI Radeon GPU driver has been compiled directly into the kernel instead of as a module, we should make sure the firmware for the model (check available ones in /lib/firmware/radeon) is built-in to the kernel as well, otherwise there exists the following fatal error during GPU init, change CONFIG_DRM_RADEON=y to CONFIG_DRM_RADEON=m to fix it. [ 1.900997] [drm] Loading RS780 Microcode [ 1.905077] radeon 0000:01:05.0: Direct firmware load for radeon/RS780_pfp.bin failed with error -2 [ 1.914140] r600_cp: Failed to load firmware "radeon/RS780_pfp.bin" [ 1.920405] [drm:r600_init] *ERROR* Failed to load firmware! [ 1.926069] radeon 0000:01:05.0: Fatal error during GPU init [ 1.931729] [drm] radeon: finishing device. Fixes: 024e6a8b5bb1 ("MIPS: Loongson: Add a Loongson-3 default config file") Signed-off-by: Tiezhu Yang Signed-off-by: Thomas Bogendoerfer Signed-off-by: Sasha Levin --- arch/mips/configs/loongson3_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/configs/loongson3_defconfig b/arch/mips/configs/loongson3_defconfig index 51675f5000d6..b0c24bd292b2 100644 --- a/arch/mips/configs/loongson3_defconfig +++ b/arch/mips/configs/loongson3_defconfig @@ -229,7 +229,7 @@ CONFIG_MEDIA_CAMERA_SUPPORT=y CONFIG_MEDIA_USB_SUPPORT=y CONFIG_USB_VIDEO_CLASS=m CONFIG_DRM=y -CONFIG_DRM_RADEON=y +CONFIG_DRM_RADEON=m CONFIG_FB_RADEON=y CONFIG_LCD_CLASS_DEVICE=y CONFIG_LCD_PLATFORM=m -- 2.25.1