[PATCH] drm/amdgpu/display: include slab.h in dcn21_resource.c
Alex Deucher
alexdeucher at gmail.com
Mon Sep 23 21:54:11 UTC 2019
On Mon, Sep 23, 2019 at 5:14 PM Harry Wentland <hwentlan at amd.com> wrote:
>
> On 2019-09-23 4:58 p.m., Alex Deucher wrote:
> > It's apparently needed in some configurations.
>
> Curious which config fails and what compiler errors we get... Sounds
> like our includes are messed up somewhere.
Not sure exactly:
https://lkml.org/lkml/2019/9/20/998
Alex
>
> Harry
>
> >
> > Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
> > ---
> > drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c | 2 ++
> > 1 file changed, 2 insertions(+)
> >
> > diff --git a/drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c b/drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c
> > index 3ca5139f1273..de182185fe1f 100644
> > --- a/drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c
> > +++ b/drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c
> > @@ -23,6 +23,8 @@
> > *
> > */
> >
> > +#include <linux/slab.h>
> > +
> > #include "dm_services.h"
> > #include "dc.h"
> >
> >
More information about the amd-gfx
mailing list