Forget my question, I just saw your other patches. ;) Alexandre Demers On 2016-07-22 02:32, Alexandre Demers wrote: > Hi Flora. I suppose this addition preceeds > AMDGPU_GEM_CREATE_VRAM_CLEARED's usage that will be introduced in > upcoming patches? > > Could you fix the commit message VARM -> VRAM? > > With that fixed, you can add my Reviewed-by: Alexandre Demers > <alexandre.f.demers at gmail.com> > > Alexandre Demers > > On 2016-07-22 00:02, Flora Cui wrote: >> With this flag specified, VARM buffer will be cleared at >> allocation time. >> >> Change-Id: Ic587ed7e524a3bfc3862a57b42aa95ff458fe880 >> Signed-off-by: Flora Cui <Flora.Cui at amd.com> >> --- >> include/drm/amdgpu_drm.h | 2 ++ >> 1 file changed, 2 insertions(+) >> >> diff --git a/include/drm/amdgpu_drm.h b/include/drm/amdgpu_drm.h >> index fbdd118..d43895e 100644 >> --- a/include/drm/amdgpu_drm.h >> +++ b/include/drm/amdgpu_drm.h >> @@ -73,6 +73,8 @@ >> #define AMDGPU_GEM_CREATE_NO_CPU_ACCESS (1 << 1) >> /* Flag that USWC attributes should be used for GTT */ >> #define AMDGPU_GEM_CREATE_CPU_GTT_USWC (1 << 2) >> +/* Flag that the memory should be in VRAM and cleared */ >> +#define AMDGPU_GEM_CREATE_VRAM_CLEARED (1 << 3) >> struct drm_amdgpu_gem_create_in { >> /** the requested memory size */ >