Commit Graph

36 Commits

Author SHA1 Message Date
Alex Deucher 0ff2f37095
Revert "radeon: update oland rlc microcode from amdgpu"
This reverts commit f1c9e7b675.

This breaks UVD on some boards.

bug: https://gitlab.freedesktop.org/drm/amd/issues/1038
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
2020-02-04 12:23:05 -05:00
Alex Deucher f1c9e7b675
radeon: update oland rlc microcode from amdgpu
Fixes clocking issues at 4k

Bug: https://gitlab.freedesktop.org/drm/amd/issues/994
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
2020-01-07 09:07:22 -05:00
Alex Deucher e8fe3bfd30 radeon: add new firmware for SI chips
Adds new si58 mc firmware and new hainan smc firmware.

From internal git commit:
69ce13393d0b733544d1ea0ed5e2d08cf626998f

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Kyle McMartin <kyle@kernel.org>
2017-02-17 09:40:03 -08:00
Alex Deucher 10782a0014 radeon: update SMC firmware for CI parts
From internal commit:
c7c36e204eda9715ae70f8c5b1a7bec636ef7f56

Fixes version number.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Kyle McMartin <kyle@kernel.org>
2016-10-05 10:30:09 -07:00
Alex Deucher bd43d6f58d radeon: update SMC firmware for SI parts
From internal commit:
c7c36e204eda9715ae70f8c5b1a7bec636ef7f56

Fixes version number.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Kyle McMartin <kyle@kernel.org>
2016-10-05 10:30:06 -07:00
Alex Deucher 9693ff6d74 radeon: add new SI smc firmware
This adds new smc firmware for certain SI
hw revisions.  Pulled from internal perforce on
20151210

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Kyle McMartin <kyle@kernel.org>
2016-06-08 08:01:02 -04:00
Alex Deucher 4069643008 radeon: add new CI smc firmware
This adds new CI smc firmware for certain Hawaii and Bonaire
hw revisions.  From internal git commit:
427ac679fea41d6e7ab34128ed45f5623b54b808

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Kyle McMartin <kyle@kernel.org>
2016-06-08 08:00:58 -04:00
Alex Deucher 5e6165a870 radeon: update CIK UVD firmware
internal git commit:
a8f33640d489e33da73216771cad691bd3501dc9

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Kyle McMartin <kyle@kernel.org>
2016-04-28 08:07:37 -07:00
Alex Deucher 4a82017de7 radeon: revert last kaveri mec ucode update
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Kyle McMartin <kyle@kernel.org>
2016-03-30 18:16:11 -07:00
Alex Deucher 6e767c2b85 Update radeon ucode images
from internal git:
cb9190dbe1c0072f1653fa7d125fcfe830abe589

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Kyle McMartin <kyle@kernel.org>
2016-03-30 18:15:57 -07:00
Alex Deucher 90d3de6378 radeon/amdgpu: update to latest firmware
Internal commit:
89eb0443c30a5fb06291f922e2f784c01213da2f

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Kyle McMartin <kyle@kernel.org>
2015-11-06 14:15:49 -08:00
Alex Deucher 6f7e8cce17 radeon: add firmware for VCE1.0 hardware
This is the firmware for the VCE (video encoding engine)
block in SI and TN/RL asics.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Kyle McMartin <kyle@kernel.org>
2015-07-14 16:37:45 -04:00
Oded Gabbay f10b97abda radeon: Update Kaveri MEC firmware to #396
This patch updates the Kaveri MEC firmware to #396 (from #391).
The MEC firmware is mainly used for amdkfd - AMD's HSA Linux kernel driver.

Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Kyle McMartin <kyle@kernel.org>
2015-03-18 13:22:46 -04:00
Oded Gabbay 78535e88bf radeon: add updated firmware for kaveri (radeon GPU)
This firmware update is required for the correct functionality of AMD's HSA
Linux kernel driver, called amdkfd.

amdkfd is a new driver that was merged by Linus last week and is present in
3.19-rc1.

Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Kyle McMartin <kyle@kernel.org>
2014-12-25 12:01:25 -05:00
Alex Deucher 365e80cce1 radeon: add new firmware for the UVD block on older asics
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2014-08-28 10:51:42 -04:00
Alex Deucher f333bd435c radeon: add updated firmware for radeon GPUs
This firmware images use the new header format
which makes it easier to update the firmware
more regularly.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2014-08-27 10:17:22 -04:00
Alex Deucher 4d1151d3f9 radeon: add firmware for Mullins/Beema GPUs
Add new ucode for Mullins/Beema GPUs and update
WHENCE entry.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2014-06-03 20:26:14 +01:00
Alex Deucher 4848a1e059 radeon: add mc2 firmware for SI/CI GPUs
Add new MC ucode for SI/CI GPUs and update
WHENCE entry.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2014-06-03 20:24:54 +01:00
Alex Deucher 4a050f5524 radeon: add vce ucode for CIK GPUs
Add new ucode file and update the WHENCE entry.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2014-05-27 22:00:03 +01:00
Alex Deucher 418320bd8b radeon: add ucode for HAWAII GPUs
Add new ucode files and update the WHENCE entry, also
bump the copyright date on the license.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2014-01-19 23:35:48 +00:00
Alex Deucher 1461bed130 radeon: add ucode for KAVERI GPUs
Add new ucode files and update the WHENCE entry.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2013-09-30 04:26:01 +01:00
Alex Deucher 66f87a2261 radeon: add smc ucode for BONAIRE
Add new ucode file and update the WHENCE entry. The
smc ucode is used by the power management controller
on the gpu.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2013-09-30 04:26:01 +01:00
Alex Deucher 931e4469dc radeon: add ucode for KABINI GPUs
Add new ucode files and update the WHENCE entry.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2013-07-28 22:39:47 +01:00
Alex Deucher 79fb9b9c06 radeon: add ucode for BONAIRE GPUs
Add new ucode files and update the WHENCE entry.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2013-07-28 22:39:40 +01:00
Alex Deucher e2b52bb025 radeon: add smc ucode for radeon GPUs
Add new ucode files and update WHENCE entry.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2013-07-28 22:39:30 +01:00
Alex Deucher d583cfea5c radeon: add ucode for SUN/HAINAN GPUs
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2013-05-27 17:17:47 +01:00
Alex Deucher efe904b801 radeon: add updated ucode for UVD
This adds the firmware required for video decode using
the UVD hardware on modern radeon chip.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2013-04-21 19:33:39 +01:00
Alex Deucher 305bc66f19 radeon: add ucode for OLAND GPUs
Add new ucode files and update the copyright
dates and WHENCE entry.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2013-04-21 19:33:34 +01:00
Alex Deucher 375e9548bf radeon: add new firmware for SI and TN
This add firmware for the HD7xxx asics code-
named Southern Islands and the trinity APU code-
named Aruba.

It also updates the dates on the license info.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2012-05-02 21:12:00 +01:00
Dave Airlie be09d5d92b firmware: add SUMO + SUMO2 firmwares for llano APUs.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2011-06-01 01:04:18 +01:00
Dave Airlie c2e530abf5 linux-firmware: add cayman firmwares.
These are firmware for the latest RadeonHD 69xx family of GPUs.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2011-03-03 08:37:22 +00:00
Dave Airlie bce93b43e6 radeon: add new NI firmwares.
This adds the firmware for the HD6xxx series of cards codenamed
Nothern Islands.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2011-01-09 01:26:37 +00:00
Dave Airlie ea30bee8b7 radeon: add support for PALM/SUMO firmwares.
These are the firmwares for the upcoming Fusion APUs.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2010-12-08 13:47:59 +00:00
Dave Airlie c4fc1f5b2c radeon: add evergreen family microcode.
This is for the radeon HD5000 family of cards.

also update year in license file.

Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-04-09 09:13:35 +10:00
Dave Airlie d9076a54d7 radeon: add RLC firmwares from AMD.
License is redistributable but no RE or modification.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2010-02-10 14:10:50 +00:00
Ben Hutchings 9715b36e04 radeon: Use request_firmware()
Loosely based on a patch by
Jaswinder Singh Rajput <jaswinderlinux@gmail.com>.

KMS support by Dave Airlie <airlied@redhat.com>.

For Radeon 100- to 500-series, firmware blobs look like:
    struct {
        __be32 datah;
        __be32 datal;
    } cp_ucode[256];

For Radeon 600-series, there are two separate firmware blobs:
    __be32 me_ucode[PM4_UCODE_SIZE * 3];
    __be32 pfp_ucode[PFP_UCODE_SIZE];

For Radeon 700-series, likewise:
    __be32 me_ucode[R700_PM4_UCODE_SIZE];
    __be32 pfp_ucode[R700_PFP_UCODE_SIZE];

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2009-08-31 09:09:30 +10:00