[PATCH] drm/amdgpu: fix the build error if disable CONFIG_DEBUG_FS

Huang Rui ray.huang at amd.com
Tue Jul 4 01:07:53 UTC 2017


On Mon, Jul 03, 2017 at 11:08:19PM +0800, Deucher, Alexander wrote:
> > -----Original Message-----
> > From: Huang Rui [mailto:ray.huang at amd.com]
> > Sent: Sunday, July 02, 2017 8:53 AM
> > To: amd-gfx at lists.freedesktop.org; Deucher, Alexander; Koenig, Christian
> > Cc: kbuild test robot; Huang, Ray
> > Subject: [PATCH] drm/amdgpu: fix the build error if disable
> > CONFIG_DEBUG_FS
> >
> > This patch fixes the build error if CONFIG_DEBUG_FS is not enabled.
> > Otherwise, below error will be triggered.
> >
> > tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
> > master
> > head:   89a39f3c7086301342175c461c4db43c68d34cc7
> > commit: 4f0955fcc052b556446f6f041ad8c83d70c3b253 [6871/9973]
> > drm/amdgpu: export
> > test ib debugfs interface
> > config: x86_64-randconfig-s1-06281413 (attached as .config)
> > compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
> > reproduce:
> >         git checkout 4f0955fcc052b556446f6f041ad8c83d70c3b253
> >         # save the attached .config to linux build tree
> >         make ARCH=x86_64
> >
> > All errors (new ones prefixed by >>):
> >
> > >> ERROR: "amdgpu_debugfs_test_ib_ring_init"
> > [drivers/gpu/drm/amd/amdgpu/
> > amdgpu.ko] undefined!
> >
> > Reported-by: kbuild test robot <fengguang.wu at intel.com>
> > Signed-off-by: Huang Rui <ray.huang at amd.com>
> 
> I already applied a patch from Arnd to fix this I think.
> 

Yep, I see. So I didn't push it to staging.

Thanks,
Rui


More information about the amd-gfx mailing list