Alan Liu
6880ed280e
drm/amd/display: Add HDMI_ACP_SEND register
...
Define HDMI_ACP_SEND register shift/mask.
Signed-off-by: Alan Liu <[email protected] >
Reviewed-by: Harry Wentland <[email protected] >
Signed-off-by: Alex Deucher <[email protected] >
2022-05-26 14:56:32 -04:00
Mohammad Zafar Ziya
0ae99221f3
drm/amdgpu/vcn: Add vcn ras poison consumption event handling
...
Add vcn ras poison consumption event handling
V2: Removed default poison consumption handling function cb
Signed-off-by: Mohammad Zafar Ziya <[email protected] >
Reviewed-by: Lijo Lazar <[email protected] >
Reviewed-by: Tao Zhou <[email protected] >
Reviewed-by: Hawking Zhang <[email protected] >
Signed-off-by: Alex Deucher <[email protected] >
2022-05-10 17:53:13 -04:00
Mohammad Zafar Ziya
7e0357fcf8
drm/amdgpu/jpeg: add jpeg ras poison consumption handling
...
Add jpeg ras poison event callback and consumption handling
V2: Removed the default poison consumption cb handle
Signed-off-by: Mohammad Zafar Ziya <[email protected] >
Reviewed-by: Lijo Lazar <[email protected] >
Reviewed-by: Tao Zhou <[email protected] >
Reviewed-by: Hawking Zhang <[email protected] >
Signed-off-by: Alex Deucher <[email protected] >
2022-05-10 17:53:13 -04:00
Likun Gao
1b49133042
drm/amdgpu: add lsdma block
...
Add Light SDMA (LSDMA) block and related function. LSDMA
is a small instance of SDMA mainly for kernel driver use.
Signed-off-by: Likun Gao <[email protected] >
Reviewed-by: Hawking Zhang <[email protected] >
Signed-off-by: Alex Deucher <[email protected] >
2022-05-10 17:53:11 -04:00
Hawking Zhang
81570d6dc2
drm/amdgpu: add lsdma v6_0_0 ip headers
...
Add lsdma v6_0_0 register offset and shift masks
header files
v2: squash in updates (Alex)
Signed-off-by: Hawking Zhang <[email protected] >
Reviewed-by: Likun Gao <[email protected] >
Signed-off-by: Alex Deucher <[email protected] >
2022-05-10 17:53:11 -04:00
Andrey Grodzovsky
bce04f216d
drm/amd/psp: Add C2P registers to mp_13_0_2 header
...
Add additional registers.
Signed-off-by: Andrey Grodzovsky <[email protected] >
Reviewed-by: Hawking Zhang <[email protected] >
Signed-off-by: Alex Deucher <[email protected] >
2022-05-06 16:58:10 -04:00
Huang Rui
c4d1c905ba
drm/amdgpu: add hdp v5_2_1 ip headers
...
Add hdp v5.2.1 offset and shift mask ip header files.
v2: squash in updates (Alex)
Signed-off-by: Huang Rui <[email protected] >
Reviewed-by: Aaron Liu <[email protected] >
Signed-off-by: Alex Deucher <[email protected] >
2022-05-06 10:36:13 -04:00
Huang Rui
4debe75395
drm/amdgpu: add nbio v7_7_0 ip headers
...
Add nbio v7.7.0 offset and shift mask ip header files.
v2: squash in updates (Alex)
Signed-off-by: Huang Rui <[email protected] >
Reviewed-by: Aaron Liu <[email protected] >
Signed-off-by: Alex Deucher <[email protected] >
2022-05-06 10:36:13 -04:00
Kenneth Feng
334682ae81
drm/amd/pm: enable workload type change on smu_v13_0_7
...
enable workload type change on smu_v13_0_7
v2: squash in out of bounds fix (Alex)
Signed-off-by: Kenneth Feng <[email protected] >
Reviewed-by: Yang Wang <[email protected] >
Signed-off-by: Alex Deucher <[email protected] >
2022-05-06 10:36:12 -04:00
Hawking Zhang
fd1e77d915
drm/amdgpu: add mmhub v3_0_2 ip headers
...
Add mmhub v3_0_2 register offset and shift masks
v2: update to latest headers
Signed-off-by: Hawking Zhang <[email protected] >
Reviewed-by: Likun Gao <[email protected] >
Signed-off-by: Alex Deucher <[email protected] >
2022-05-05 16:51:45 -04:00
Evan Quan
915b5ce774
drm/amdgpu: enable more GFX clockgating features for GC 11.0.0
...
Support more GFX clockgating features(3D_CGCG, 3D_CGLS, MGCG,
FGCG and PERF_CLK).
Signed-off-by: Evan Quan <[email protected] >
Reviewed-by: Likun Gao <[email protected] >
Signed-off-by: Alex Deucher <[email protected] >
2022-05-05 16:50:58 -04:00
James Zhu
19dc81b401
drm/amdgpu: add irq sources for vcn v4_0
...
Add the interrupt source packet definitions for VCN4.
Signed-off-by: James Zhu <[email protected] >
Reviewed-by: Leo Liu <[email protected] >
Signed-off-by: Alex Deucher <[email protected] >
2022-05-04 10:43:56 -04:00
Leo Liu
ed1db32e33
drm/amdgpu: add vcn 4_0_0 header files v7
...
Add VCN 4.0.0 registers
Signed-off-by: Leo Liu <[email protected] >
Signed-off-by: Alex Deucher <[email protected] >
Reviewed-by: James Zhu <[email protected] >
Acked-by: Christian König <[email protected] >
Signed-off-by: Alex Deucher <[email protected] >
2022-05-04 10:43:55 -04:00
Mukul Joshi
cc009e613d
drm/amdkfd: Add KFD support for soc21 v3
...
Add initial support for soc21 in KFD compute
driver (Mukul)
- Add new definition for soc21 device.
- Add new file for amdgpu-kfd interface for GFX11 family.
- Add new file for queue management, interrupt handling,
mqd management for GFX11 family in KFD driver.
- Related changes/updates for soc21 device in
KFD driver.
- Repurpose last 2 entries of SDMA MQD for driver use.
v2: Add an optional argument into update queue operation (Mukul)
v3: Switch to ip version check, replace kgd_dev with
amdgpu_device (Hawking)
Signed-off-by: Mukul Joshi <[email protected] >
Signed-off-by: Hawking Zhang <[email protected] >
Reviewed-by: Oak Zeng <[email protected] >
Signed-off-by: Alex Deucher <[email protected] >
2022-05-04 10:43:54 -04:00
Jack Xiao
028c3fb37e
drm/amdgpu/mes11: initiate mes v11 support
...
Initiate mes v11 code base from mes v10, rename function
and register names.
Signed-off-by: Jack Xiao <[email protected] >
Reviewed-by: Hawking Zhang <[email protected] >
Signed-off-by: Alex Deucher <[email protected] >
2022-05-04 10:43:54 -04:00
Jack Xiao
18ee4ce63e
drm/amdgpu: add mes unmap legacy queue routine
...
For mes kiq has been taken over by mes sched, drv can't directly
use mes kiq to unmap queues. drv has to use mes sched api to
unmap legacy queue.
Signed-off-by: Jack Xiao <[email protected] >
Reviewed-by: Hawking Zhang <[email protected] >
Signed-off-by: Alex Deucher <[email protected] >
2022-05-04 10:43:54 -04:00
Evan Quan
d6b9a91f5d
drm/amdgpu: add FGCG support
...
Add the CG flag for Fine Grained Clock Gating.
Reviewed-by: Hawking Zhang <[email protected] >
Signed-off-by: Evan Quan <[email protected] >
Signed-off-by: Alex Deucher <[email protected] >
2022-05-04 10:02:56 -04:00
Wenhui Sheng
e6b5855555
drm/amdgpu: add irq src id for GFX11
...
Signed-off-by: Wenhui Sheng <[email protected] >
Reviewed-by: Hawking Zhang <[email protected] >
Signed-off-by: Alex Deucher <[email protected] >
2022-05-04 10:02:30 -04:00
Hawking Zhang
86a65c566e
drm/amdgpu: add gfx11 mqd structures
...
memory queue descriptors for gfx11.
Signed-off-by: Hawking Zhang <[email protected] >
Reviewed-by: Likun Gao <[email protected] >
Signed-off-by: Alex Deucher <[email protected] >
2022-05-04 10:02:27 -04:00
Hawking Zhang
0eb1df055a
drm/amdgpu: add soc21 chip enum header v8
...
add soc21 enum definitions (Hawking)
Signed-off-by: Hawking Zhang <[email protected] >
Signed-off-by: Likun Gao <[email protected] >
Signed-off-by: Alex Deucher <[email protected] >
Reviewed-by: Likun Gao <[email protected] >
Signed-off-by: Alex Deucher <[email protected] >
2022-05-04 10:02:18 -04:00
Hawking Zhang
21c8685b06
drm/amdgpu: add updated smu_info structures
...
To match with smu v13_0_0
Signed-off-by: Hawking Zhang <[email protected] >
Reviewed-by: Likun Gao <[email protected] >
Signed-off-by: Alex Deucher <[email protected] >
2022-05-04 09:57:33 -04:00
Hawking Zhang
9f99d98305
drm/amdgpu: add mmhub v3_0_0 ip headers v6
...
Add mmhub v3_0_0 register offset and shift masks
header files (Hawking)
Signed-off-by: Hawking Zhang <[email protected] >
Signed-off-by: Likun Gao <[email protected] >
Signed-off-by: Alex Deucher <[email protected] >
Reviewed-by: Likun Gao <[email protected] >
Signed-off-by: Alex Deucher <[email protected] >
2022-05-04 09:57:16 -04:00
Hawking Zhang
f41c963972
drm/amdgpu: add athub v3_0_0 ip headers v6
...
Add athub v3_0_0 register offset and shift masks
header files (Hawking)
Signed-off-by: Hawking Zhang <[email protected] >
Signed-off-by: Likun Gao <[email protected] >
Signed-off-by: Alex Deucher <[email protected] >
Reviewed-by: Likun Gao <[email protected] >
Signed-off-by: Alex Deucher <[email protected] >
2022-05-04 09:57:06 -04:00
Hawking Zhang
55437d3bf4
drm/amdgpu: add smuio v13_0_6 ip headers v4
...
Add smuio v13_0_6 register offset and shift masks
header files (Hawking)
Signed-off-by: Hawking Zhang <[email protected] >
Signed-off-by: Likun Gao <[email protected] >
Signed-off-by: Alex Deucher <[email protected] >
Reviewed-by: Likun Gao <[email protected] >
Signed-off-by: Alex Deucher <[email protected] >
2022-05-04 09:54:35 -04:00
Hawking Zhang
11c4328a82
drm/amdgpu: add hdp v6_0_0 ip headers v4
...
Add hdp v6_0_0 register offset and shift masks
header files (Hawking)
Signed-off-by: Hawking Zhang <[email protected] >
Signed-off-by: Likun Gao <[email protected] >
Signed-off-by: Alex Deucher <[email protected] >
Reviewed-by: Likun Gao <[email protected] >
Signed-off-by: Alex Deucher <[email protected] >
2022-05-04 09:53:34 -04:00
Stanley.Yang
6e02c0ed4b
drm/amdgpu: add ih v6_0 ip block v2
...
This adds ih v6_0 ip block support. IH is the
interrupt handler.
Signed-off-by: Stanley.Yang <[email protected] >
Reviewed-by: Hawking Zhang <[email protected] >
Signed-off-by: Alex Deucher <[email protected] >
2022-05-04 09:53:12 -04:00
Stanley Yang
db56aebd81
drm/amdgpu: add soc21 ih clientid definition
...
Define soc21 ih clientid
Signed-off-by: Stanley Yang <[email protected] >
Reviewed-by: Hawking Zhang <[email protected] >
Signed-off-by: Hawking Zhang <[email protected] >
Signed-off-by: Alex Deucher <[email protected] >
2022-05-04 09:52:59 -04:00
Hawking Zhang
d71093aa15
drm/amdgpu: add osssys v6_0_0 ip headers v4
...
Add osssys v6_0_0 register offset and shift masks
header files (Hawking)
Signed-off-by: Hawking Zhang <[email protected] >
Signed-off-by: Likun Gao <[email protected] >
Signed-off-by: Alex Deucher <[email protected] >
Reviewed-by: Likun Gao <[email protected] >
Signed-off-by: Alex Deucher <[email protected] >
2022-05-04 09:52:56 -04:00
Hawking Zhang
e19920c6a0
drm/amdgpu: add nbio v4_3_0 ip headers v6
...
Add nbio v4_3_0 register offset and shift masks
header files (Hawking)
Signed-off-by: Hawking Zhang <[email protected] >
Signed-off-by: Likun Gao <[email protected] >
Signed-off-by: Alex Deucher <[email protected] >
Reviewed-by: Likun Gao <[email protected] >
Signed-off-by: Alex Deucher <[email protected] >
2022-05-04 09:52:41 -04:00
Hawking Zhang
f33ac92f9c
drm/amdgpu: add gc v11_0_0 ip headers v11
...
Add gc v11_0_0 register offset and shift masks
header files (Hawking)
Acked-by: Christian König <[email protected] >
Signed-off-by: Hawking Zhang <[email protected] >
Signed-off-by: Likun Gao <[email protected] >
Reviewed-by: Likun Gao <[email protected] >
Signed-off-by: Alex Deucher <[email protected] >
2022-04-28 17:48:28 -04:00
Hawking Zhang
85a41b429d
drm/amdgpu: add mp v13_0_0 ip headers v7
...
Add mp v13_0_0 register offset and shift masks
header files (Hawking)
Acked-by: Christian König <[email protected] >
Signed-off-by: Hawking Zhang <[email protected] >
Signed-off-by: Likun Gao <[email protected] >
Reviewed-by: Likun Gao <[email protected] >
Signed-off-by: Alex Deucher <[email protected] >
2022-04-28 17:48:25 -04:00
Hawking Zhang
083e5ff641
drm/amdgpu: add atom_gfx_info_v3_0 structure
...
atomfirmware table used for newer gfx IPs.
Signed-off-by: Hawking Zhang <[email protected] >
Reviewed-by: Likun Gao <[email protected] >
Signed-off-by: Alex Deucher <[email protected] >
2022-04-28 17:48:13 -04:00
Hawking Zhang
1a4824488b
drm/amdgpu: add vram_info v3_0 structure
...
To support query vram_width, vram_type, vram_vendor
information
Signed-off-by: Hawking Zhang <[email protected] >
Reviewed-by: Likun Gao <[email protected] >
Signed-off-by: Alex Deucher <[email protected] >
2022-04-28 17:48:06 -04:00
Alex Deucher
005835233a
drm/amdgpu: update latest IP discovery table structures
...
Add new tables.
Acked-by: Christian König <[email protected] >
Signed-off-by: Alex Deucher <[email protected] >
2022-04-28 17:46:31 -04:00
oushixiong
322687d596
drm/amd: Fix spelling typo in comment
...
Signed-off-by: oushixiong <[email protected] >
Signed-off-by: Alex Deucher <[email protected] >
2022-04-26 11:53:07 -04:00
Rongguang Wei
2530dc3cd3
drm/amdgpu: fix typo
...
Fix spelling mistake:
"differnt" -> "different"
"commond" -> "common"
Signed-off-by: Rongguang Wei <[email protected] >
Signed-off-by: Alex Deucher <[email protected] >
2022-04-26 11:53:03 -04:00
David Zhang
5533347dbb
drm/amd: add dc feature mask flags for PSR allow smu and multi-display optimizations
...
[Why]
Allow for PSR SMU optimization and PSR multiple display optimization.
[How]
Add feature flags of PSR smu optimization and PSR multiple display
optimiztaion, and set them during init sequence. By default, flags
are disabled.
Signed-off-by: David Zhang <[email protected] >
Reviewed-by: Harry Wentland <[email protected] >
Reviewed-by: Roman Li <[email protected] >
Signed-off-by: Alex Deucher <[email protected] >
2022-04-26 11:51:36 -04:00
Lijo Lazar
73bce7a423
drm/amdgpu: Use flexible array member
...
Use flexible array member in ip discovery struct as recommended[1].
[1] https://www.kernel.org/doc/html/latest/process/deprecated.html#zero-length-and-one-element-arrays
v2: squash in struct_size fixes
Signed-off-by: Lijo Lazar <[email protected] >
Reviewed-by: Christian König <[email protected] >
Signed-off-by: Alex Deucher <[email protected] >
2022-04-11 13:50:35 -04:00
Evan Quan
25faeddcf3
drm/amdgpu: expand cg_flags from u32 to u64
...
With this, we can support more CG flags.
Signed-off-by: Evan Quan <[email protected] >
Acked-by: Alex Deucher <[email protected] >
Reviewed-by: Hawking Zhang <[email protected] >
Signed-off-by: Alex Deucher <[email protected] >
2022-04-08 17:24:24 -04:00
Mohammad Zafar Ziya
f0a339a8c0
drm/amdgpu/vcn: Add vcn and jpeg ver 2.6 ras register definition
...
Adding vcn and jpeg ver 2.6 ras register definition
Signed-off-by: Mohammad Zafar Ziya <[email protected] >
Reviewed-by: Hawking Zhang <[email protected] >
Reviewed-by: Tao Zhou <[email protected] >
Signed-off-by: Alex Deucher <[email protected] >
2022-03-28 12:54:39 -04:00
Xiaogang Chen
45f0ff404c
drm/amdgpu: config HDP_MISC_CNTL.READ_BUFFER_WATERMARK
...
To fix applications running across multiple GPU config hang.
Signed-off-by: Xiaogang Chen <[email protected] >
Reviewed-by: Alex Deucher <[email protected] >
Signed-off-by: Alex Deucher <[email protected] >
2022-02-24 17:24:43 -05:00
Qingqing Zhuo
5b723b1230
drm/amd/include: add DCN 3.1.5 registers
...
Add DCN 3.1.5 and DPCS 4.2.2 register headers.
Signed-off-by: Qingqing Zhuo <[email protected] >
Change-Id: I5588a1c422ae384cc76aa42380545dfc1aad1948
Signed-off-by: Alex Deucher <[email protected] >
2022-02-18 14:07:00 -05:00
Yifan Zhang
62640f251f
drm/amdgpu: add mp 13.0.5 header files
...
This patch is to add mp 13.0.5 header files.
v2: update headers
Signed-off-by: Yifan Zhang <[email protected] >
Reviewed-by: Alex Deucher <[email protected] >
Reviewed-by: Huang Rui <[email protected] >
Signed-off-by: Alex Deucher <[email protected] >
2022-02-18 14:07:00 -05:00
Leo Li
f3f6eff85f
drm/amd/include: Add MP 13.0.8 register headers
...
Reviewed-by: Prike Liang <[email protected] >
Signed-off-by: Leo Li <[email protected] >
Signed-off-by: Alex Deucher <[email protected] >
2022-02-17 15:45:07 -05:00
Leo Li
64b14a184e
drm/amd/include: Add register headers for DCN 3.1.6
...
Add register headers for the following IPs:
- DCN 3.1.6
- DPCS 4.2.3
Acked-by: Harry Wentland <[email protected] >
Signed-off-by: Leo Li <[email protected] >
Signed-off-by: Alex Deucher <[email protected] >
2022-02-17 15:44:45 -05:00
Stanley.Yang
1ec1944eb5
drm/amdgpu: print more error info
...
print more error info when deferred uncorrectable ras error
changed from V1:
move Defferred error msg into query uncorrectable error
count function.
Signed-off-by: Stanley.Yang <[email protected] >
Reviewed-by: Hawking Zhang <[email protected] >
Signed-off-by: Alex Deucher <[email protected] >
2022-02-14 15:08:41 -05:00
Mukul Joshi
5bdd3eb253
drm/amdkfd: Remove unused old debugger implementation
...
Cleanup the kfd code by removing the unused old debugger
implementation.
The address watch was only ever implemented in the upstream
driver for GFXv7 (Kaveri). The user mode tools runtime using
this API was never open-sourced. Work on the old debugger
prototype that used this API has been discontinued years ago.
Only a small piece of resetting wavefronts is kept and
is moved to kfd_device_queue_manager.c.
Signed-off-by: Mukul Joshi <[email protected] >
Reviewed-by: Felix Kuehling <[email protected] >
Signed-off-by: Alex Deucher <[email protected] >
2022-02-09 16:57:51 -05:00
Alex Deucher
4a5dc6c73d
drm/amdgpu: move dpcs_3_0_3 headers from dcn to dpcs
...
To align with other headers.
Reviewed-by: Harry Wentland <[email protected] >
Signed-off-by: Alex Deucher <[email protected] >
2022-02-07 18:03:50 -05:00
Alex Deucher
68550cbc61
drm/amdgpu: move dpcs_3_0_0 headers from dcn to dpcs
...
To align with other headers.
Reviewed-by: Harry Wentland <[email protected] >
Signed-off-by: Alex Deucher <[email protected] >
2022-02-07 18:03:50 -05:00
Alex Deucher
120cc6e67a
drm/amdgpu: add missing license to dpcs_3_0_0 headers
...
MIT.
Reviewed-by: Harry Wentland <[email protected] >
Signed-off-by: Alex Deucher <[email protected] >
2022-02-07 18:03:50 -05:00