commit | f7a9ee81a88b83915e7c15895c507abede44b0c5 | [log] [tgz] |
---|---|---|
author | Andrey Grodzovsky <andrey.grodzovsky@amd.com> | Thu Mar 29 09:09:39 2018 -0400 |
committer | Alex Deucher <alexander.deucher@amd.com> | Tue Apr 03 13:08:44 2018 -0500 |
tree | 61903e2fc7a93c70bdbd895cf12fda708cba7b31 | |
parent | 073997ccd9dd8eb8015f5371ff0ea85a48814bb4 [diff] |
drm/amdgpu: Add support for SRBM selection v3 Also remove code duplication in write and read regs functions. This also fixes potential missing unlock in amdgpu_debugfs_regs_write in case get_user would fail. v2: Add SRBM mutex locking. v3: Fix TO counter and fix comment location. Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>