]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Add and use seperate reg headers for dcn302
authorBhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Thu, 5 Nov 2020 18:37:35 +0000 (13:37 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 10 Nov 2020 19:15:08 +0000 (14:15 -0500)
commitd949d40cbac3d907886c77a908df8e71b74938ff
treedb667d5b8e48a5cb9328c69468a0d0a747b32d99
parent4473636372d9610bef9ec9fab1dbad65468ab0a9
drm/amdgpu: Add and use seperate reg headers for dcn302

Currently we are using dcn3 reg headers for dcn302. The offsets are
different between the two so they need seperate headers.

Add dcn302 header files and use these instead of dcn3 header

Signed-off-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn302/dcn302_resource.c
drivers/gpu/drm/amd/include/asic_reg/dcn/dcn_3_0_2_offset.h [new file with mode: 0644]
drivers/gpu/drm/amd/include/asic_reg/dcn/dcn_3_0_2_sh_mask.h [new file with mode: 0644]