[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180913131829.047021981@linuxfoundation.org>
Date: Thu, 13 Sep 2018 15:31:50 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-kernel@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
stable@...r.kernel.org, James Zhu <James.Zhu@....com>,
Alex Deucher <alexander.deucher@....com>,
Huang Rui <ray.huang@....com>, Likun Gao <Likun.Gao@....com>
Subject: [PATCH 4.14 090/115] drm/amdgpu: update tmr mc address
4.14-stable review patch. If anyone has any objections, please let me know.
------------------
From: James Zhu <jzhums@...il.com>
commit 435198f33b56d7b875a8173a0227ddf0de285aa1 upstream.
Update tmr mc address with firmware loading address
which is returned from PSP firmware
Signed-off-by: James Zhu <James.Zhu@....com>
Reviewed-by: Alex Deucher <alexander.deucher@....com>
Acked-by: Huang Rui <ray.huang@....com>
Reviewed-by: Likun Gao <Likun.Gao@....com>
Signed-off-by: Likun Gao <Likun.Gao@....com>
Signed-off-by: Alex Deucher <alexander.deucher@....com>
Cc: stable@...r.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 5 +++++
1 file changed, 5 insertions(+)
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
@@ -134,6 +134,11 @@ psp_cmd_submit_buf(struct psp_context *p
msleep(1);
}
+ if (ucode) {
+ ucode->tmr_mc_addr_lo = psp->cmd_buf_mem->resp.fw_addr_lo;
+ ucode->tmr_mc_addr_hi = psp->cmd_buf_mem->resp.fw_addr_hi;
+ }
+
return ret;
}
Powered by blists - more mailing lists