]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: add defines for DF and TCP Hashing
authorJoseph Greathouse <Joseph.Greathouse@amd.com>
Thu, 9 Jan 2020 23:07:12 +0000 (17:07 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 14 Jan 2020 15:18:41 +0000 (10:18 -0500)
commit99dabf2887c9b0bbea235d6358fa7ece6d88d314
tree8d548c6c5e50345ebf9ab5389733c0180d65f584
parenta386e5d4c27fd3bf61d0718e339d3fd0831dc22c
drm/amdgpu: add defines for DF and TCP Hashing

On Arcturus, we need TC channel hashing, which is set by the
driver, to match DF hashing, which is set by VBIOS. To match
these, we plan to query the DF information and then properly
set the TC configuration bits to match them.

This patch adds the required fields to register definitions
in preparation for a future patch which will use them.

Signed-off-by: Joseph Greathouse <Joseph.Greathouse@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/include/asic_reg/df/df_3_6_offset.h
drivers/gpu/drm/amd/include/asic_reg/df/df_3_6_sh_mask.h
drivers/gpu/drm/amd/include/asic_reg/gc/gc_9_0_sh_mask.h