diff options
author | Dave Airlie <airlied@redhat.com> | 2016-11-29 23:18:51 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2016-11-29 23:18:51 -0500 |
commit | 63207455963053ca212e61c75f43b3502ea69f0e (patch) | |
tree | 96b2bbcee059a41eb580c17a6c473a259189072a /drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c | |
parent | 7625e05286cf3f37c8a5e633379a4d014ddbe555 (diff) | |
parent | 348a4b6dd77d183ef4ea67673ecf30a09ae3f9d7 (diff) |
Merge tag 'drm-qemu-20161121' of git://git.kraxel.org/linux into drm-next
drm/virtio: fix busid in a different way, allocate more vbufs.
drm/qxl: various bugfixes and cleanups,
* tag 'drm-qemu-20161121' of git://git.kraxel.org/linux: (224 commits)
drm/virtio: allocate some extra bufs
qxl: Allow resolution which are not multiple of 8
qxl: Don't notify userspace when monitors config is unchanged
qxl: Remove qxl_bo_init() return value
qxl: Call qxl_gem_{init, fini}
qxl: Add missing '\n' to qxl_io_log() call
qxl: Remove unused prototype
qxl: Mark some internal functions as static
Revert "drm: virtio: reinstate drm_virtio_set_busid()"
drm/virtio: fix busid regression
drm: re-export drm_dev_set_unique
Linux 4.9-rc5
gp8psk: Fix DVB frontend attach
gp8psk: fix gp8psk_usb_in_op() logic
dvb-usb: move data_mutex to struct dvb_usb_device
iio: maxim_thermocouple: detect invalid storage size in read()
aoe: fix crash in page count manipulation
lightnvm: invalid offset calculation for lba_shift
Kbuild: enable -Wmaybe-uninitialized warnings by default
pcmcia: fix return value of soc_pcmcia_regulator_set
...
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c index 017556ca22e6..7ded61e6dd81 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c | |||
@@ -809,10 +809,19 @@ static int amdgpu_cgs_get_firmware_info(struct cgs_device *cgs_device, | |||
809 | if (!adev->pm.fw) { | 809 | if (!adev->pm.fw) { |
810 | switch (adev->asic_type) { | 810 | switch (adev->asic_type) { |
811 | case CHIP_TOPAZ: | 811 | case CHIP_TOPAZ: |
812 | strcpy(fw_name, "amdgpu/topaz_smc.bin"); | 812 | if (((adev->pdev->device == 0x6900) && (adev->pdev->revision == 0x81)) || |
813 | ((adev->pdev->device == 0x6900) && (adev->pdev->revision == 0x83)) || | ||
814 | ((adev->pdev->device == 0x6907) && (adev->pdev->revision == 0x87))) | ||
815 | strcpy(fw_name, "amdgpu/topaz_k_smc.bin"); | ||
816 | else | ||
817 | strcpy(fw_name, "amdgpu/topaz_smc.bin"); | ||
813 | break; | 818 | break; |
814 | case CHIP_TONGA: | 819 | case CHIP_TONGA: |
815 | strcpy(fw_name, "amdgpu/tonga_smc.bin"); | 820 | if (((adev->pdev->device == 0x6939) && (adev->pdev->revision == 0xf1)) || |
821 | ((adev->pdev->device == 0x6938) && (adev->pdev->revision == 0xf1))) | ||
822 | strcpy(fw_name, "amdgpu/tonga_k_smc.bin"); | ||
823 | else | ||
824 | strcpy(fw_name, "amdgpu/tonga_smc.bin"); | ||
816 | break; | 825 | break; |
817 | case CHIP_FIJI: | 826 | case CHIP_FIJI: |
818 | strcpy(fw_name, "amdgpu/fiji_smc.bin"); | 827 | strcpy(fw_name, "amdgpu/fiji_smc.bin"); |