Chen Li
959f053a01
radeon: use memcpy_to/fromio for UVD fw upload
...
[ Upstream commit ab8363d3875a83f4901eb1cc00ce8afd24de6c85 ]
I met a gpu addr bug recently and the kernel log
tells me the pc is memcpy/memset and link register is
radeon_uvd_resume.
As we know, in some architectures, optimized memcpy/memset
may not work well on device memory. Trival memcpy_toio/memset_io
can fix this problem.
BTW, amdgpu has already done it in:
commit ba0b2275a678 ("drm/amdgpu: use memcpy_to/fromio for UVD fw upload"),
that's why it has no this issue on the same gpu and platform.
Signed-off-by: Chen Li <chenli@uniontech.com >
Reviewed-by: Christian König <christian.koenig@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
Signed-off-by: Sasha Levin <sashal@kernel.org >
2021-06-30 08:49:34 -04:00
..
2014-02-06 12:13:52 +10:00
2014-11-11 17:22:26 -05:00
2014-11-11 17:22:26 -05:00
2016-12-02 09:09:01 +01:00
2017-12-05 11:22:51 +01:00
2017-07-27 15:06:06 -07:00
2014-11-11 17:22:26 -05:00
2015-05-26 15:09:03 +02:00
2015-03-19 12:26:31 -04:00
2014-10-13 11:34:13 -04:00
2014-02-06 12:22:46 -05:00
2015-10-21 11:35:11 -04:00
2020-08-21 10:53:01 +02:00
2015-01-22 10:38:48 -05:00
2015-01-22 10:38:53 -05:00
2013-06-25 17:50:28 -04:00
2013-06-25 17:50:28 -04:00
2015-06-03 11:31:12 +03:00
2015-06-29 11:21:41 -04:00
2020-01-29 10:21:50 +01:00
2015-06-03 11:34:46 +03:00
2014-06-02 10:25:07 -04:00
2014-06-02 10:25:07 -04:00
2013-06-27 10:49:18 -04:00
2013-08-30 16:30:08 -04:00
2014-06-02 10:25:07 -04:00
2015-01-22 10:38:58 -05:00
2013-06-27 19:16:19 -04:00
2015-06-01 23:16:22 -04:00
2016-03-03 15:07:21 -08:00
2014-09-10 17:11:21 +10:00
2014-09-10 17:11:21 +10:00
2015-10-21 11:35:11 -04:00
2019-03-23 08:44:40 +01:00
2014-11-20 13:00:16 -05:00
2016-03-03 15:07:21 -08:00
2016-05-04 14:48:46 -07:00
2014-03-06 16:46:58 -05:00
2017-06-07 12:06:00 +02:00
2016-03-03 15:07:21 -08:00
2015-04-13 11:17:58 -04:00
2015-03-19 12:26:36 -04:00
2013-09-11 11:44:38 -04:00
2013-09-11 11:44:38 -04:00
2015-03-19 12:26:51 -04:00
2014-11-20 14:45:15 +01:00
2015-01-22 11:48:03 -05:00
2020-06-29 20:08:04 -04:00
2013-07-08 17:41:11 -04:00
2015-03-19 12:26:51 -04:00
2016-11-10 16:36:36 +01:00
2015-05-26 10:31:21 -04:00
2013-06-27 19:16:10 -04:00
2013-06-26 16:11:34 -04:00
2014-11-20 13:00:10 -05:00
2014-11-20 13:00:10 -05:00
2013-01-31 16:24:45 -05:00
2019-12-21 10:35:46 +01:00
2013-01-31 16:24:46 -05:00
2019-12-21 10:35:46 +01:00
2014-09-10 17:11:21 +10:00
2015-05-28 14:52:40 -04:00
2013-01-31 16:24:46 -05:00
2014-08-18 17:09:44 -04:00
2014-06-13 12:22:30 -04:00
2014-03-06 16:46:56 -05:00
2015-10-21 11:35:11 -04:00
2013-08-30 16:29:57 -04:00
2013-08-30 16:29:57 -04:00
2015-09-30 10:44:48 +02:00
2014-12-03 18:26:53 -05:00
2014-12-02 10:58:33 +10:00
2016-10-31 04:13:58 -06:00
2014-11-20 13:00:09 -05:00
2015-04-27 09:54:52 -04:00
2013-06-27 19:16:30 -04:00
2020-01-29 10:21:50 +01:00
2014-10-14 09:39:08 +02:00
2015-10-14 16:16:37 -04:00
2012-09-20 13:10:36 -04:00
2015-11-30 14:44:34 -05:00
2015-10-14 16:16:37 -04:00
2015-05-26 10:31:23 -04:00
2021-05-22 10:38:28 +02:00
2016-08-20 18:09:22 +02:00
2016-03-03 15:07:21 -08:00
2016-03-03 15:07:21 -08:00
2015-02-02 11:39:35 -05:00
2015-10-14 16:16:37 -04:00
2012-10-02 18:01:07 +01:00
2017-06-29 12:48:52 +02:00
2020-09-03 11:19:23 +02:00
2015-09-30 10:44:48 +02:00
2015-04-27 09:54:50 -04:00
2017-02-23 17:43:09 +01:00
2017-06-29 12:48:52 +02:00
2020-08-21 10:52:58 +02:00
2016-11-10 16:36:35 +01:00
2016-09-15 08:27:47 +02:00
2020-08-21 10:52:58 +02:00
2015-10-06 12:57:47 +02:00
2015-10-29 11:13:18 -04:00
2014-05-06 12:19:57 +02:00
2017-12-05 11:22:51 +01:00
2015-03-11 08:30:35 -04:00
2015-07-16 12:39:37 -04:00
2015-07-16 12:39:37 -04:00
2015-01-22 10:38:51 -05:00
2014-11-20 13:00:17 -05:00
2014-06-10 09:36:17 +10:00
2015-12-04 13:09:12 -05:00
2015-10-06 12:57:47 +02:00
2015-07-20 09:16:47 +03:00
2015-01-02 23:32:49 +02:00
2021-05-22 10:38:21 +02:00
2016-12-02 09:09:01 +01:00
2015-10-29 11:13:18 -04:00
2012-10-02 18:01:07 +01:00
2013-12-18 11:35:01 +10:00
2015-05-07 11:00:15 -04:00
2017-01-09 08:07:46 +01:00
2018-09-09 20:04:36 +02:00
2015-01-22 10:38:52 -05:00
2016-03-16 08:43:00 -07:00
2014-10-03 09:19:17 -04:00
2013-06-26 16:11:38 -04:00
2015-03-27 10:17:43 -04:00
2016-03-03 15:07:22 -08:00
2014-11-20 13:00:16 -05:00
2015-01-05 12:10:08 -05:00
2014-11-20 13:00:17 -05:00
2015-02-02 11:39:36 -05:00
2012-10-02 18:01:07 +01:00
2015-04-07 12:29:23 -04:00
2018-12-17 21:55:16 +01:00
2014-08-05 08:53:22 -04:00
2014-08-05 08:53:22 -04:00
2021-06-30 08:49:34 -04:00
2015-12-09 00:23:56 -05:00
2016-03-03 15:07:21 -08:00
2016-03-03 15:07:21 -08:00
2015-01-22 11:46:17 -05:00
2015-12-04 13:09:12 -05:00
2012-04-24 09:50:13 +01:00
2015-12-04 13:11:41 -05:00
2013-04-09 10:31:31 -04:00
2015-03-19 12:26:29 -04:00
2013-06-27 10:49:25 -04:00
2013-07-17 16:47:52 -04:00
2015-03-19 12:26:29 -04:00
2013-06-27 10:50:08 -04:00
2013-06-27 10:50:08 -04:00
2014-11-06 15:42:44 -05:00
2013-01-31 16:24:46 -05:00
2015-11-25 11:28:42 -05:00
2013-06-27 19:14:59 -04:00
2013-06-27 19:16:12 -04:00
2013-06-27 19:14:59 -04:00
2014-11-20 13:00:16 -05:00
2015-11-25 11:28:42 -05:00
2015-01-22 10:38:58 -05:00
2013-09-11 11:44:28 -04:00
2013-09-11 11:44:28 -04:00
2015-05-28 09:54:43 -04:00
2015-05-04 15:03:56 -04:00
2012-03-24 10:08:39 -07:00
2012-03-21 06:55:54 +00:00
2015-01-22 11:48:03 -05:00
2019-11-12 19:13:20 +01:00
2015-01-22 10:38:48 -05:00
2012-06-20 19:55:56 +01:00
2014-08-05 08:53:23 -04:00
2020-01-29 10:21:50 +01:00
2016-03-03 15:07:21 -08:00
2016-10-31 04:13:58 -06:00
2014-11-20 13:00:10 -05:00
2013-08-30 16:30:28 -04:00
2013-08-30 16:30:28 -04:00
2015-03-19 12:26:34 -04:00
2015-01-22 10:38:57 -05:00
2014-01-07 12:55:50 -05:00
2013-06-27 19:15:48 -04:00
2015-05-26 10:31:25 -04:00
2013-09-11 11:44:39 -04:00
2014-01-07 12:55:57 -05:00
2013-06-27 19:15:48 -04:00
2015-05-04 15:03:56 -04:00
2015-05-04 15:03:56 -04:00
2013-11-15 15:56:09 -05:00
2013-08-30 16:31:12 -04:00
2016-03-03 15:07:21 -08:00
2015-05-26 10:31:20 -04:00