OSDN Git Service

drm/amdgpu: reduce the time of reading VBIOS
authorXiangliang Yu <Xiangliang.Yu@amd.com>
Fri, 9 Jun 2017 09:12:02 +0000 (17:12 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 25 Jul 2017 20:37:39 +0000 (16:37 -0400)
commitf31c94d1de618064d5212462363f570a42ab39df
tree13215b305829f774b37a59747d21307db9ddd1e8
parent89a6c2ed6566fd5185ed5aa2985f28ece495b6e1
drm/amdgpu: reduce the time of reading VBIOS

VRAM is usually marked write combined, so change ioremap mode from
noncache to write combine for reading vbios from VRAM.

This will reduce cost time of reading vbios from 188ms to 8ms.

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