]> 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)
commit4a912710781806b729406c77b9505f80759eb858
tree8d548c6c5e50345ebf9ab5389733c0180d65f584
parent39a9a5a30f543742fa7f939d4360e6ba44b17687
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