diff options
author | Felix Kuehling <Felix.Kuehling@amd.com> | 2021-08-31 17:42:15 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-09-14 15:56:50 -0400 |
commit | e312af6c2a920b8df2adee1ae31f5c364a4091fb (patch) | |
tree | f5347c9832823e28553417df73b4cb6a1e154231 /drivers/gpu/drm/amd/display/dc/dc_dsc.h | |
parent | a7496559e4d101eaaff99ccfd93298e557cc8505 (diff) | |
download | linux-stable-e312af6c2a920b8df2adee1ae31f5c364a4091fb.tar.gz linux-stable-e312af6c2a920b8df2adee1ae31f5c364a4091fb.tar.bz2 linux-stable-e312af6c2a920b8df2adee1ae31f5c364a4091fb.zip |
drm/amdkfd: make needs_pcie_atomics FW-version dependent
On some GPUs the PCIe atomic requirement for KFD depends on the MEC
firmware version. Add a firmware version check for this. The minimum
firmware version that works without atomics can be updated in the
device_info structure for each GPU type.
Move PCIe atomic detection from kgd2kfd_probe into kgd2kfd_device_init
because the MEC firmware is not loaded yet at the probe stage.
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Guchun Chen <guchun.chen@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dc_dsc.h')
0 files changed, 0 insertions, 0 deletions