[PATCH] drm/amdgpu/display: include slab.h in dcn21_resource.c
Harry Wentland
hwentlan at amd.com
Tue Sep 24 15:15:18 UTC 2019
On 2019-09-23 5:54 p.m., Alex Deucher wrote:
> 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
>
Just noticed the other dcnXY_resource.c files have that as well.
Reviewed-by: Harry Wentland <harry.wentland at amd.com>
Harry
> 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