drm/amdgpu: add a generic fb accessing helper function(v3)
authorTianci.Yin <tianci.yin@amd.com>
Mon, 30 Sep 2019 05:33:50 +0000 (13:33 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 17 Oct 2019 20:31:13 +0000 (16:31 -0400)
commite35e2b117f4dba2761d96e378c28734f6807f227
treef633b1ab813848b208e5eab50284eb0cc1a077b7
parent45cf454e4c0fa34d33980063408095179369c5f0
drm/amdgpu: add a generic fb accessing helper function(v3)

add a generic helper function for accessing framebuffer via MMIO

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Luben Tuikov <luben.tuikov@amd.com>
Signed-off-by: Tianci.Yin <tianci.yin@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c