== Series Details ==

Series: drm/amd: Compile fix for amdgpu_dm.c
URL   : https://patchwork.freedesktop.org/series/53948/
State : failure

== Summary ==

CALL    scripts/checksyscalls.sh
  DESCEND  objtool
  CHK     include/generated/compile.h
  CC [M]  drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.o
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c: In function 
‘amdgpu_dm_mode_config_init’:
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:1666:30: error: 
passing argument 1 of ‘drm_atomic_private_obj_init’ from incompatible pointer 
type [-Werror=incompatible-pointer-types]
  drm_atomic_private_obj_init(adev->ddev,
                              ^~~~
In file included from ./include/drm/drm_dp_mst_helper.h:27:0,
                 from drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgpu_mode.h:46,
                 from drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgpu.h:57,
                 from 
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:31:
./include/drm/drm_atomic.h:403:6: note: expected ‘struct drm_private_obj *’ but 
argument is of type ‘struct drm_device *’
 void drm_atomic_private_obj_init(struct drm_private_obj *obj,
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:1667:9: error: 
passing argument 2 of ‘drm_atomic_private_obj_init’ from incompatible pointer 
type [-Werror=incompatible-pointer-types]
         &adev->dm.atomic_obj,
         ^
In file included from ./include/drm/drm_dp_mst_helper.h:27:0,
                 from drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgpu_mode.h:46,
                 from drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgpu.h:57,
                 from 
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:31:
./include/drm/drm_atomic.h:403:6: note: expected ‘struct drm_private_state *’ 
but argument is of type ‘struct drm_private_obj *’
 void drm_atomic_private_obj_init(struct drm_private_obj *obj,
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:1668:9: error: 
passing argument 3 of ‘drm_atomic_private_obj_init’ from incompatible pointer 
type [-Werror=incompatible-pointer-types]
         &state->base,
         ^
In file included from ./include/drm/drm_dp_mst_helper.h:27:0,
                 from drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgpu_mode.h:46,
                 from drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgpu.h:57,
                 from 
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:31:
./include/drm/drm_atomic.h:403:6: note: expected ‘const struct 
drm_private_state_funcs *’ but argument is of type ‘struct drm_private_state *’
 void drm_atomic_private_obj_init(struct drm_private_obj *obj,
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:1666:2: error: too 
many arguments to function ‘drm_atomic_private_obj_init’
  drm_atomic_private_obj_init(adev->ddev,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/drm/drm_dp_mst_helper.h:27:0,
                 from drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgpu_mode.h:46,
                 from drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgpu.h:57,
                 from 
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:31:
./include/drm/drm_atomic.h:403:6: note: declared here
 void drm_atomic_private_obj_init(struct drm_private_obj *obj,
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
scripts/Makefile.build:291: recipe for target 
'drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.o' failed
make[4]: *** [drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.o] 
Error 1
scripts/Makefile.build:516: recipe for target 'drivers/gpu/drm/amd/amdgpu' 
failed
make[3]: *** [drivers/gpu/drm/amd/amdgpu] Error 2
scripts/Makefile.build:516: recipe for target 'drivers/gpu/drm' failed
make[2]: *** [drivers/gpu/drm] Error 2
scripts/Makefile.build:516: recipe for target 'drivers/gpu' failed
make[1]: *** [drivers/gpu] Error 2
Makefile:1060: recipe for target 'drivers' failed
make: *** [drivers] Error 2

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to