commit | 3704d56e1a64bb0e951815f91149ae7bb726aa76 | [log] [tgz] |
---|---|---|
author | Felix Kuehling <Felix.Kuehling@amd.com> | Tue Nov 20 20:52:37 2018 -0500 |
committer | Alex Deucher <alexander.deucher@amd.com> | Fri Dec 07 18:13:48 2018 -0500 |
tree | 2adc25a157b1bab7c9984b94dbeef11c9d40fc72 | |
parent | 611736d8447c0c48a172db0b968dddae60696a72 [diff] |
drm/amdkfd: Add NULL-pointer check top_dev->gpu is NULL for CPUs. Avoid dereferencing it if NULL. Acked-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>