From 8e9198d0698a4a748bac9a7b33ed1300cf5f3793 Mon Sep 17 00:00:00 2001 From: Alex Deucher Date: Sun, 16 Aug 2015 22:51:50 -0400 Subject: [PATCH] drm/amdgpu: move some atombios definitions to common folder (v2) the definitions can be shared by different IP components. v2: fix include path Signed-off-by: Jammy Zhou Reviewed-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/Makefile | 3 ++- drivers/gpu/drm/amd/{amdgpu => include}/atom-bits.h | 0 drivers/gpu/drm/amd/{amdgpu => include}/atom-names.h | 0 drivers/gpu/drm/amd/{amdgpu => include}/atom-types.h | 0 drivers/gpu/drm/amd/{amdgpu => include}/atombios.h | 0 drivers/gpu/drm/amd/{amdgpu => include}/pptable.h | 0 6 files changed, 2 insertions(+), 1 deletion(-) rename drivers/gpu/drm/amd/{amdgpu => include}/atom-bits.h (100%) rename drivers/gpu/drm/amd/{amdgpu => include}/atom-names.h (100%) rename drivers/gpu/drm/amd/{amdgpu => include}/atom-types.h (100%) rename drivers/gpu/drm/amd/{amdgpu => include}/atombios.h (100%) rename drivers/gpu/drm/amd/{amdgpu => include}/pptable.h (100%) diff --git a/drivers/gpu/drm/amd/amdgpu/Makefile b/drivers/gpu/drm/amd/amdgpu/Makefile index ccdbb35..733f775 100644 --- a/drivers/gpu/drm/amd/amdgpu/Makefile +++ b/drivers/gpu/drm/amd/amdgpu/Makefile @@ -3,7 +3,8 @@ # Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher. ccflags-y := -Iinclude/drm -Idrivers/gpu/drm/amd/include/asic_reg \ - -Idrivers/gpu/drm/amd/include + -Idrivers/gpu/drm/amd/include \ + -Idrivers/gpu/drm/amd/amdgpu amdgpu-y := amdgpu_drv.o diff --git a/drivers/gpu/drm/amd/amdgpu/atom-bits.h b/drivers/gpu/drm/amd/include/atom-bits.h similarity index 100% rename from drivers/gpu/drm/amd/amdgpu/atom-bits.h rename to drivers/gpu/drm/amd/include/atom-bits.h diff --git a/drivers/gpu/drm/amd/amdgpu/atom-names.h b/drivers/gpu/drm/amd/include/atom-names.h similarity index 100% rename from drivers/gpu/drm/amd/amdgpu/atom-names.h rename to drivers/gpu/drm/amd/include/atom-names.h diff --git a/drivers/gpu/drm/amd/amdgpu/atom-types.h b/drivers/gpu/drm/amd/include/atom-types.h similarity index 100% rename from drivers/gpu/drm/amd/amdgpu/atom-types.h rename to drivers/gpu/drm/amd/include/atom-types.h diff --git a/drivers/gpu/drm/amd/amdgpu/atombios.h b/drivers/gpu/drm/amd/include/atombios.h similarity index 100% rename from drivers/gpu/drm/amd/amdgpu/atombios.h rename to drivers/gpu/drm/amd/include/atombios.h diff --git a/drivers/gpu/drm/amd/amdgpu/pptable.h b/drivers/gpu/drm/amd/include/pptable.h similarity index 100% rename from drivers/gpu/drm/amd/amdgpu/pptable.h rename to drivers/gpu/drm/amd/include/pptable.h -- 2.7.4