* Re: [radeon-alex:drm-next-4.11-wip 131/131] drivers/gpu/drm/amd/amdgpu/amdgpu_object.c:380:48: error: expected ')' before ';' token
[not found] ` <201701240656.PoIVchhM%fengguang.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
@ 2017-01-24 0:30 ` Nils Holland
[not found] ` <20170124003039.GA17304-iI9p2NPcQ/rYtjvyW6yDsg@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Nils Holland @ 2017-01-24 0:30 UTC (permalink / raw)
To: kbuild test robot
Cc: Alex Deucher, Michel Dänzer, kbuild-all-JC7UmRfGjtg,
amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW, Christian König
On Tue, Jan 24, 2017 at 06:37:58AM +0800, kbuild test robot wrote:
>
> drivers/gpu/drm/amd/amdgpu/amdgpu_object.c: In function 'amdgpu_bo_create_restricted':
> >> drivers/gpu/drm/amd/amdgpu/amdgpu_object.c:377:2: warning: #warning Please enable CONFIG_MTRR and CONFIG_X86_PAT for better performance thanks to write-combining [-Wcpp]
> #warning Please enable CONFIG_MTRR and CONFIG_X86_PAT for better performance \
> ^~~~~~~
> >> drivers/gpu/drm/amd/amdgpu/amdgpu_object.c:380:48: error: expected ')' before ';' token
> if (bo->flags & AMDGPU_GEM_CREATE_CPU_GTT_USWC;)
> ^
>
> vim +380 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
>
> 371 #elif defined(CONFIG_X86) && !defined(CONFIG_X86_PAT)
> 372 /* Don't try to enable write-combining when it can't work, or things
> 373 * may be slow
> 374 * See https://bugs.freedesktop.org/show_bug.cgi?id=88758
> 375 */
> 376
> > 377 #warning Please enable CONFIG_MTRR and CONFIG_X86_PAT for better performance \
> 378 thanks to write-combining
> 379
> > 380 if (bo->flags & AMDGPU_GEM_CREATE_CPU_GTT_USWC;)
> 381 DRM_INFO_ONCE("Please enable CONFIG_MTRR and CONFIG_X86_PAT for "
> 382 "better performance thanks to write-combining\n");
> 383 bo->flags &= ~AMDGPU_GEM_CREATE_CPU_GTT_USWC;
Whoops, the robot is certainly right, there's a ; that doesn't belong
in line 380. Shame on me! :-(
Michel, now that you've already commited this patch, what do I do?
Should I submit another patch that just fixes this one issue, or
should I re-submit the whole patch, in fixed state, as a v2?
Sorry for the hassle! :-/
Greetings
Nils
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply [flat|nested] 2+ messages in thread
* RE: [radeon-alex:drm-next-4.11-wip 131/131] drivers/gpu/drm/amd/amdgpu/amdgpu_object.c:380:48: error: expected ')' before ';' token
[not found] ` <20170124003039.GA17304-iI9p2NPcQ/rYtjvyW6yDsg@public.gmane.org>
@ 2017-01-24 14:41 ` Deucher, Alexander
0 siblings, 0 replies; 2+ messages in thread
From: Deucher, Alexander @ 2017-01-24 14:41 UTC (permalink / raw)
To: 'Nils Holland', kbuild test robot
Cc: Daenzer, Michel, kbuild-all-JC7UmRfGjtg@public.gmane.org,
amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org,
Koenig, Christian
> -----Original Message-----
> From: Nils Holland [mailto:nholland@tisys.org]
> Sent: Monday, January 23, 2017 7:31 PM
> To: kbuild test robot
> Cc: kbuild-all@01.org; amd-gfx@lists.freedesktop.org; Deucher, Alexander;
> Daenzer, Michel; Koenig, Christian
> Subject: Re: [radeon-alex:drm-next-4.11-wip 131/131]
> drivers/gpu/drm/amd/amdgpu/amdgpu_object.c:380:48: error: expected ')'
> before ';' token
>
> On Tue, Jan 24, 2017 at 06:37:58AM +0800, kbuild test robot wrote:
> >
> > drivers/gpu/drm/amd/amdgpu/amdgpu_object.c: In function
> 'amdgpu_bo_create_restricted':
> > >> drivers/gpu/drm/amd/amdgpu/amdgpu_object.c:377:2: warning:
> #warning Please enable CONFIG_MTRR and CONFIG_X86_PAT for better
> performance thanks to write-combining [-Wcpp]
> > #warning Please enable CONFIG_MTRR and CONFIG_X86_PAT for better
> performance \
> > ^~~~~~~
> > >> drivers/gpu/drm/amd/amdgpu/amdgpu_object.c:380:48: error:
> expected ')' before ';' token
> > if (bo->flags & AMDGPU_GEM_CREATE_CPU_GTT_USWC;)
> > ^
> >
> > vim +380 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
> >
> > 371 #elif defined(CONFIG_X86) && !defined(CONFIG_X86_PAT)
> > 372 /* Don't try to enable write-combining when it can't work, or
> things
> > 373 * may be slow
> > 374 * See https://bugs.freedesktop.org/show_bug.cgi?id=88758
> > 375 */
> > 376
> > > 377 #warning Please enable CONFIG_MTRR and CONFIG_X86_PAT for
> better performance \
> > 378 thanks to write-combining
> > 379
> > > 380 if (bo->flags & AMDGPU_GEM_CREATE_CPU_GTT_USWC;)
> > 381 DRM_INFO_ONCE("Please enable CONFIG_MTRR
> and CONFIG_X86_PAT for "
> > 382 "better performance thanks to write-
> combining\n");
> > 383 bo->flags &= ~AMDGPU_GEM_CREATE_CPU_GTT_USWC;
>
> Whoops, the robot is certainly right, there's a ; that doesn't belong
> in line 380. Shame on me! :-(
>
> Michel, now that you've already commited this patch, what do I do?
> Should I submit another patch that just fixes this one issue, or
> should I re-submit the whole patch, in fixed state, as a v2?
>
> Sorry for the hassle! :-/
I fixed this up locally when I committed it. It's already taken care of.
Alex
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-01-24 14:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <201701240656.PoIVchhM%fengguang.wu@intel.com>
[not found] ` <201701240656.PoIVchhM%fengguang.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2017-01-24 0:30 ` [radeon-alex:drm-next-4.11-wip 131/131] drivers/gpu/drm/amd/amdgpu/amdgpu_object.c:380:48: error: expected ')' before ';' token Nils Holland
[not found] ` <20170124003039.GA17304-iI9p2NPcQ/rYtjvyW6yDsg@public.gmane.org>
2017-01-24 14:41 ` Deucher, Alexander
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox