diff options
author | Yongqiang Sun <yongqiang.sun@amd.com> | 2021-02-19 14:50:23 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-03-02 14:07:10 -0500 |
commit | 70732504c53b2d3aae2cebc457515a304672d5bb (patch) | |
tree | 4ab85b325e0118c62913a0334743757a095557a2 /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c | |
parent | 8039bc7130ef4206a58e4dc288621bc97eba08eb (diff) | |
download | linux-70732504c53b2d3aae2cebc457515a304672d5bb.tar.bz2 |
drm/amd/display: Implement dmub trace event
[Why & How]
DMUB FW send trace event via outbox0 interrupt. Driver will handle it.
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Yongqiang Sun <yongqiang.sun@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c')
-rw-r--r-- | drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c index 5159399f8239..618c70f95573 100644 --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c @@ -663,3 +663,9 @@ void dm_helpers_free_gpu_mem( { // TODO } + +bool dm_helpes_dmub_outbox0_interrupt_control(struct dc_context *ctx, bool enable) +{ + // TODO + return true; +} |