mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-27 11:58:32 -04:00
drm/amdkfd: fix trap handling work around for debugging
Update the list of devices that require the cwsr trap handling workaround for debugging use cases. Signed-off-by: Jonathan Kim <jonathan.kim@amd.com> Acked-by: Ruili Ji <ruili.ji@amd.com> Reviewed-by: Felix Kuehling <felix.kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
6f7cd0371e
commit
cef600e1fd
@@ -101,6 +101,12 @@ static inline bool kfd_dbg_is_rlc_restore_supported(struct kfd_node *dev)
|
||||
KFD_GC_VERSION(dev) == IP_VERSION(10, 1, 1));
|
||||
}
|
||||
|
||||
static inline bool kfd_dbg_has_cwsr_workaround(struct kfd_node *dev)
|
||||
{
|
||||
return KFD_GC_VERSION(dev) >= IP_VERSION(11, 0, 0) &&
|
||||
KFD_GC_VERSION(dev) <= IP_VERSION(11, 0, 3);
|
||||
}
|
||||
|
||||
static inline bool kfd_dbg_has_gws_support(struct kfd_node *dev)
|
||||
{
|
||||
if ((KFD_GC_VERSION(dev) == IP_VERSION(9, 0, 1)
|
||||
|
||||
Reference in New Issue
Block a user