commit | 4a985353d461951e4ed51abc281c09a780d30058 | [log] [tgz] |
---|---|---|
author | Grazvydas Ignotas <notasas@gmail.com> | Sun Aug 23 03:57:35 2015 +0300 |
committer | Alex Deucher <alexander.deucher@amd.com> | Fri Oct 02 16:08:26 2015 -0400 |
tree | 7c187c3306191119faab1503eecca4fb6cf2460e | |
parent | 1694467b96cadd1b166b3bd0365b2431a7685143 [diff] |
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>