]> Gentwo Git Trees - linux/.git/commit
drm/amd/display: Add Component To Handle Bounding Box Values and IP Caps
authorAustin Zheng <Austin.Zheng@amd.com>
Thu, 14 Aug 2025 13:54:45 +0000 (09:54 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 29 Aug 2025 14:14:02 +0000 (10:14 -0400)
commitcf49a454e16675fad59c1080f909a7e51192a494
tree4f7990cb018694cfc0e1d569d6723a0d88479bb0
parentde63b05593573cb0106875452c706ebaf6faa8f7
drm/amd/display: Add Component To Handle Bounding Box Values and IP Caps

[Why]
Bounding box values can be stored in multiple locations. (e.g. PMFW, VBIOS, DMUB).
The source and interpretation of these values can vary with DCN revision
so there should be a component that can gather these values and translate
them accordingly

[How]
Have component start with the statically defined values as a base.
Then update them as needed with DCN-specific logic
Guard this component with FPU flags since values need to be in float point.

Reviewed-by: Jun Lei <jun.lei@amd.com>
Signed-off-by: Austin Zheng <Austin.Zheng@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Tested-by: Dan Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
13 files changed:
drivers/gpu/drm/amd/display/Makefile
drivers/gpu/drm/amd/display/dc/Makefile
drivers/gpu/drm/amd/display/dc/core/dc.c
drivers/gpu/drm/amd/display/dc/dc.h
drivers/gpu/drm/amd/display/dc/dml2/dml21/dml21_translation_helper.c
drivers/gpu/drm/amd/display/dc/dml2/dml21/dml21_wrapper.c
drivers/gpu/drm/amd/display/dc/inc/soc_and_ip_translator.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/soc_and_ip_translator/Makefile [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/soc_and_ip_translator/dcn401/dcn401_soc_and_ip_translator.c [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/soc_and_ip_translator/dcn401/dcn401_soc_and_ip_translator.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/soc_and_ip_translator/dcn42/dcn42_soc_and_ip_translator.c [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/soc_and_ip_translator/dcn42/dcn42_soc_and_ip_translator.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/soc_and_ip_translator/soc_and_ip_translator.c [new file with mode: 0644]