diff options
author | Grazvydas Ignotas <notasas@gmail.com> | 2015-08-23 03:57:35 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-10-02 16:08:26 -0400 |
commit | 4a985353d461951e4ed51abc281c09a780d30058 (patch) | |
tree | 7c187c3306191119faab1503eecca4fb6cf2460e /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | 1694467b96cadd1b166b3bd0365b2431a7685143 (diff) | |
download | linux-4a985353d461951e4ed51abc281c09a780d30058.tar.gz linux-4a985353d461951e4ed51abc281c09a780d30058.tar.bz2 linux-4a985353d461951e4ed51abc281c09a780d30058.zip |
drm/radeon: simplify register checker
To avoid having to distinguish between CAYMAN or older on every register
check, place a pointer in evergreen_cs_track and use it unconditionally.
Also make use of the fact that both reg_safe_bm[] arrays are of the same
length to remove another CAYMAN check.
Reviewed-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions