]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
commitdd285c5df9523117e9941f9d3c56d7ed73c4ed4d
tree91805e6929519baf109bf57e378d17567dc11785
parent0635019412eb2db60fb1d34be8ed8225a0c70bd9
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