[PATCH 1/7] drm/amdgpu: add new member in amdgpu_mc for zfb support
Alex Deucher
alexdeucher at gmail.com
Tue May 15 14:50:02 UTC 2018
From: Feifei Xu <Feifei.Xu at amd.com>
Signed-off-by: Hawking Zhang <Hawking.Zhang at amd.com>
Signed-off-by: Feifei Xu <Feifei.Xu at amd.com>
Acked-by: John Bridgman <john.bridgman at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h
index 893c2490b783..c760b9ad69d9 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h
@@ -107,6 +107,10 @@ struct amdgpu_gmc {
bool translate_further;
const struct amdgpu_gmc_funcs *gmc_funcs;
+
+ /* zero frame buffer */
+ u64 zfb_phys_addr;
+ u64 zfb_size;
};
#endif
--
2.13.6
More information about the amd-gfx
mailing list