projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a881af
)
drm/amdgpu/cik: implement asic need_full_reset callback
author
Alex Deucher
<
[email protected]
>
Thu, 29 Mar 2018 19:39:10 +0000
(14:39 -0500)
committer
Alex Deucher
<
[email protected]
>
Wed, 11 Apr 2018 18:07:58 +0000
(13:07 -0500)
Used to check on a per SoC basis whether the SoC needs
a full reset of a per IP soft reset.
Reviewed-by: Christian König <
[email protected]
>
Reviewed-by: Huang Rui <
[email protected]
>
Signed-off-by: Alex Deucher <
[email protected]
>
drivers/gpu/drm/amd/amdgpu/cik.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/cik.c
b/drivers/gpu/drm/amd/amdgpu/cik.c
index 0df22030e71372b33a487cbff28f5d23df9d2a22..8ff4c60d1b59599bfd6cee31e3cee1ede9d6a51c 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/cik.c
+++ b/
drivers/gpu/drm/amd/amdgpu/cik.c
@@
-1735,6
+1735,12
@@
static void cik_invalidate_hdp(struct amdgpu_device *adev,
}
}
+static bool cik_need_full_reset(struct amdgpu_device *adev)
+{
+ /* change this when we support soft reset */
+ return true;
+}
+
static const struct amdgpu_asic_funcs cik_asic_funcs =
{
.read_disabled_bios = &cik_read_disabled_bios,
@@
-1748,6
+1754,7
@@
static const struct amdgpu_asic_funcs cik_asic_funcs =
.get_config_memsize = &cik_get_config_memsize,
.flush_hdp = &cik_flush_hdp,
.invalidate_hdp = &cik_invalidate_hdp,
+ .need_full_reset = &cik_need_full_reset,
};
static int cik_common_early_init(void *handle)