]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/discovery: stop taking psp header into account
authorXiaojie Yuan <xiaojie.yuan@amd.com>
Wed, 27 Mar 2019 04:21:40 +0000 (12:21 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Jun 2019 23:58:21 +0000 (18:58 -0500)
commitfd9a3e044a2d199f5b4b41a05f4583ef53ba30d2
tree33006702f33f3d373e4ede210d4a1f01840f7a3c
parent84e048babce97e8ddadeb333dbd49424698f9603
drm/amdgpu/discovery: stop taking psp header into account

psp will write a header to vram, but the value exposed in
RCC_CONFIG_MEMSIZE does not include the memory that this header is
written to. Therefore, the interpretation of the table does not need to
take the psp header into account.

Signed-off-by: Xiaojie Yuan <xiaojie.yuan@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c