drm/amdkfd: fix a compiling error when CONFIG_HSA_AMD disalbed

Submitted by William Lewis on March 6, 2019, 4:34 p.m.

Details

Message ID MWHPR17MB0943D3796778E3FEC71B3CE7C8730@MWHPR17MB0943.namprd17.prod.outlook.com
State New
Headers show
Series "drm/amdkfd: fix a compiling error when CONFIG_HSA_AMD disalbed" ( rev: 3 ) in AMD X.Org drivers

Not browsing as part of any series.

Commit Message

William Lewis March 6, 2019, 4:34 p.m.
Typo in patch description:  s/disalbed/disabled/


On 3/6/19 10:11 AM, Deucher, Alexander wrote:
Add a line like:

Fixes: 9032ea09e2d2ef ("drm/amdkfd: add RAS ECC event support")

With that added:
Reviewed-by: Alex Deucher <alexander.deucher@amd.com><mailto:alexander.deucher@amd.com>

Patch hide | download patch | download mbox

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c
index fe1d736..acf8ae0 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c
@@ -640,4 +640,8 @@  int kgd2kfd_post_reset(struct kfd_dev *kfd)
 void kgd2kfd_interrupt(struct kfd_dev *kfd, const void *ih_ring_entry)
 {
 }
+
+void kgd2kfd_set_sram_ecc_flag(struct kfd_dev *kfd)
+{
+}
 #endif