amdgpu: detect if we are using atomfirmware or atombios for vbios (v2)
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 13 Feb 2017 21:01:58 +0000 (16:01 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Mar 2017 03:54:16 +0000 (23:54 -0400)
commit0cdd500560e233aef4e0749c9f014e9ee8f4d752
tree7d31e87c93c875a5d5381d4b674d715003346d26
parent1fadf42ed5b816d266d68b4e8622c33d03c968bb
amdgpu: detect if we are using atomfirmware or atombios for vbios (v2)

Supposedly atomfirmware rom header is 3.3 atombios is 1.1.

v2: rebased on newer kernel

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