[PATCH 2/9] drm/amdgpu: add new member in amdgpu_mc for zfb support
Feifei Xu
Feifei.Xu at amd.com
Wed Feb 7 12:34:45 UTC 2018
Change-Id: I43ab31a68e93ef264fb8d8dd8a3dba59e2962fad
Signed-off-by: Hawking Zhang <Hawking.Zhang at amd.com>
Acked-by: John Bridgman <john.bridgman at amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h
index f4b82ef7..fd5f767 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h
@@ -107,6 +107,11 @@ struct amdgpu_gmc {
atomic_t vm_fault_info_updated;
const struct amdgpu_gmc_funcs *gmc_funcs;
+
+ /* zero frame buffer */
+ bool enable_zfb;
+ u64 zfb_phys_addr;
+ u64 zfb_size;
};
#endif
--
2.7.4
More information about the amd-gfx
mailing list