]> git.baikalelectronics.ru Git - 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)
commit05f8d017d147ee7dc4b0edf5c88a4453e8c4884a
tree1ed102e53bef2c94ce514d82a6875efe2acd8a58
parent919d8b2e8816757ccc7a122334f97bc0f22b6d8f
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