diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-03-16 02:28:02 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-03-16 02:28:02 -0300 |
commit | ec5d88179c392f54e24de29b1f9a392db68419a4 (patch) | |
tree | 14ba522b0d10dc6433d056e28425b1f317037d48 /libre-testing/linux-libre/0001-drm-radeon-Make-the-driver-load-without-the-firmwares.patch | |
parent | 0e64a3667863413e4e087c298b0c729804509e1f (diff) | |
download | abslibre-ec5d88179c392f54e24de29b1f9a392db68419a4.tar.gz abslibre-ec5d88179c392f54e24de29b1f9a392db68419a4.tar.bz2 abslibre-ec5d88179c392f54e24de29b1f9a392db68419a4.zip |
linux-libre-4.5_gnu-1: updating version
Diffstat (limited to 'libre-testing/linux-libre/0001-drm-radeon-Make-the-driver-load-without-the-firmwares.patch')
-rw-r--r-- | libre-testing/linux-libre/0001-drm-radeon-Make-the-driver-load-without-the-firmwares.patch | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/libre-testing/linux-libre/0001-drm-radeon-Make-the-driver-load-without-the-firmwares.patch b/libre-testing/linux-libre/0001-drm-radeon-Make-the-driver-load-without-the-firmwares.patch new file mode 100644 index 000000000..15aee35c0 --- /dev/null +++ b/libre-testing/linux-libre/0001-drm-radeon-Make-the-driver-load-without-the-firmwares.patch @@ -0,0 +1,50 @@ +From e479cd018fcd7f32714e5172265f8d1e7c4d9f0d Mon Sep 17 00:00:00 2001 +From: Jason Self <j@jxself.org> +Date: Sun, 30 Aug 2015 14:27:44 -0700 +Subject: [PATCH 1/1] [PATCH] drm/radeon: Make the driver load without the + firmwares. + +--- + drivers/gpu/drm/radeon/r600.c | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +diff --git a/drivers/gpu/drm/radeon/r600.c b/drivers/gpu/drm/radeon/r600.c +index ca4c01f..2062228 100644 +--- a/drivers/gpu/drm/radeon/r600.c ++++ b/drivers/gpu/drm/radeon/r600.c +@@ -2489,7 +2489,7 @@ int r600_init_microcode(struct radeon_device *rdev) + } + + DRM_INFO("Loading %s Microcode\n", chip_name); +- ++#if 0 + snprintf(fw_name, sizeof(fw_name), "/*(DEBLOBBED)*/", chip_name); + err = reject_firmware(&rdev->pfp_fw, fw_name, rdev->dev); + if (err) +@@ -2541,7 +2541,7 @@ int r600_init_microcode(struct radeon_device *rdev) + err = -EINVAL; + } + } +- ++#endif + out: + if (err) { + if (err != -EINVAL) +@@ -3201,7 +3201,7 @@ int r600_init(struct radeon_device *rdev) + r = radeon_bo_init(rdev); + if (r) + return r; +- ++#if 0 + if (!rdev->me_fw || !rdev->pfp_fw || !rdev->rlc_fw) { + r = r600_init_microcode(rdev); + if (r) { +@@ -3209,7 +3209,7 @@ int r600_init(struct radeon_device *rdev) + return r; + } + } +- ++#endif + /* Initialize power management */ + radeon_pm_init(rdev); + |