]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/gmc: add new helper to get the FB size used by pre-OS console
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 28 Jul 2020 19:04:52 +0000 (15:04 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 4 Aug 2020 21:29:28 +0000 (17:29 -0400)
commit54249cb1dd89fd069c4d5976a51fb2a51ad863ea
tree91805e6929519baf109bf57e378d17567dc11785
parentea27d1a176a8c7cec7b4c1768970ac0702af9c6f
drm/amdgpu/gmc: add new helper to get the FB size used by pre-OS console

This adds a new gmc callback to get the size reserved by the pre-OS
console and provides a helper function for use by gmc IP drivers.

Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h