New: amdgpu compile failure
https://bugzilla.kernel.org/show_bug.cgi?id=205185
Bug ID: 205185
Summary: amdgpu compile failure
Product: Drivers
Version: 2.5
Kernel Version: 5.3.5 - 5.3.6
Hardware: All
OS: Linux
Tree: Mainline
Status: NEW
Severity: blocking
Priority: P1
Component: Video(DRI - non Intel)
Assignee: [email protected]
Reporter: [email protected]
Regression: No5.3.5 and 5.3.6 do not compile:
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn20/dcn20_dpp.c: In function ‘dpp2_cnv_setup’:drivers/gpu/drm/amd/amdgpu/../display/dc/dcn20/dcn20_dpp.c:94:30: note: byref variable will be forcibly initialized
struct out_csc_color_matrix tbl_entry;
^~~~~~~~~ CC [M] drivers/gpu/drm/amd/amdgpu/../display/dc/dcn20/dcn20_hubbub.odrivers/gpu/drm/amd/amdgpu/../display/dc/dcn20/dcn20_hwseq.c: In function ‘dcn20_init_hw’:drivers/gpu/drm/amd/amdgpu/../display/dc/dcn20/dcn20_hwseq.c:589:37: error:
‘const struct resource_caps’ has no member named ‘num_dsc’; did you mean ‘num_ddc’?
for (i = 0; i < res_pool->res_cap->num_dsc; i++)
^~~~~~~
num_ddcdrivers/gpu/drm/amd/amdgpu/../display/dc/dcn20/dcn20_hwseq.c:590:3: error:
implicit declaration of function ‘dcn20_dsc_pg_control’; did you mean ‘dcn20_dpp_pg_control’? [-Werror=implicit-function-declaration]
dcn20_dsc_pg_control(hws, res_pool->dscs[i]->inst, false); ^~~~~~~~~~~~~~~~~~~~
dcn20_dpp_pg_controldrivers/gpu/drm/amd/amdgpu/../display/dc/dcn20/dcn20_hwseq.c:590:39: error:
‘struct resource_pool’ has no member named ‘dscs’; did you mean ‘dpps’?
dcn20_dsc_pg_control(hws, res_pool->dscs[i]->inst, false);
^~~~
dppsSignature · 6 lines
You are receiving this mail because: You are watching the assignee of the bug. _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 205185] amdgpu compile failure
https://bugzilla.kernel.org/show_bug.cgi?id=205185
Stijn Tintel ([email protected]) changed:
What |Removed |Added
----------------------------------------------------------------------------
Kernel Version|5.3.5 - 5.3.6 |5.3.5 - 5.3.10
Signature · 6 lines
You are receiving this mail because: You are watching the assignee of the bug. _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 205185] amdgpu compile failure
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=205185
Alex Deucher ([email protected]) changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #1 from Alex Deucher ([email protected]) --- Make sure CONFIG_DRM_AMD_DC_DSC_SUPPORT=y in your config.
Signature · 6 lines
You are receiving this mail because: You are watching the assignee of the bug. _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 205185] amdgpu compile failure
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=205185
--- Comment #2 from Stijn Tintel ([email protected]) --- Thanks. Enabling that symbol fixes the compile failure. This wasn't a problem in 5.3.0 - 5.3.4, so there's a regression introduced in 5.3.5, which should still be fixed. Probably needs a dependency in some Kconfig file.
Signature · 6 lines
You are receiving this mail because: You are watching the assignee of the bug. _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 205185] amdgpu compile failure
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=205185
Stijn Tintel ([email protected]) changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |OBSOLETE--- Comment #3 from Stijn Tintel ([email protected]) --- As more recent kernels don't seem to have DRM_AMD_DC_DSC_SUPPORT anymore, I don't know how to reproduce this anymore so let's just close it.
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.