[PATCH 2/2] drm/amdgpu: move MMU notifier related defines to amdgpu_mn.h
Michel Dänzer
michel at daenzer.net
Mon Sep 11 00:55:24 UTC 2017
On 09/09/17 12:52 AM, Christian König wrote:
> From: Christian König <christian.koenig at amd.com>
>
> Just some cleanup.
>
> Signed-off-by: Christian König <christian.koenig at amd.com>
> ---
> drivers/gpu/drm/amd/amdgpu/amdgpu.h | 25 +---------------
> drivers/gpu/drm/amd/amdgpu/amdgpu_mn.h | 52 ++++++++++++++++++++++++++++++++++
> 2 files changed, 53 insertions(+), 24 deletions(-)
> create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_mn.h
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
> index 2bde315..a34c4cb 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
> @@ -66,6 +66,7 @@
> #include "amdgpu_vce.h"
> #include "amdgpu_vcn.h"
> #include "amdgpu_dm.h"
> +#include "amdgpu_mn.h"
It would be better to add this line in other files which actually
reference amdgpu_mn* instead of here. With that, and for patch 1 either way,
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
--
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Mesa and X developer
More information about the amd-gfx
mailing list