[amd-staging-drm-next] compilation error with latest commit #1b006d838f78

Dieter Nützel Dieter at nuetzel-hh.de
Fri Oct 13 00:22:39 UTC 2017


Hello,

next (regression) compilation error:

drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c: In function 
‘resource_map_pool_resources’:
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c:1688:14: 
error: implicit declaration of function ‘acquire_first_split_pipe’; did 
you mean ‘acquire_first_free_pipe’? 
[-Werror=implicit-function-declaration]
    pipe_idx = acquire_first_split_pipe(&context->res_ctx, pool, stream);
               ^~~~~~~~~~~~~~~~~~~~~~~~
               acquire_first_free_pipe


It is wrongly (?) guarded behind:

#if defined(CONFIG_DRM_AMD_DC_DCN1_0)
static int acquire_first_split_pipe(
                 struct resource_context *res_ctx,
                 const struct resource_pool *pool,
                 struct dc_stream_state *stream)
[snip]

Thanks,
Dieter


More information about the amd-gfx mailing list