]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
drm/amdgpu: Use new read bios from rom callback
authormonk.liu <Monk.Liu@amd.com>
Thu, 29 Oct 2015 07:33:06 +0000 (15:33 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 2 Dec 2015 17:45:59 +0000 (12:45 -0500)
commitf930b2e8628f4e6e818ea69a426a2b732679e15b
tree1ed102e53bef2c94ce514d82a6875efe2acd8a58
parent95addb2ae06f46cd13346ed87bbda3990438a69b
drm/amdgpu: Use new read bios from rom callback

Read the vbios directly from the rom.  In some cases,
e.g., virtualization, the rom is not available via
the BAR or other means.  Access it directly.

This is an updated version of Monks original patch which
uses family specific callbacks and unifies some of the
validation checking.

Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com>
Signed-off-by: Monk Liu <Monk.Liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_bios.c