mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/
synced 2026-04-18 06:33:43 -04:00
drm/amd/display: Deprecate Loading Bounding Box From DMUB On DCN4
[WHY] dml2_soc_bb struct can continuously receive updates for future ASICs. Alignment issues may arise since VBIOS DMCUB contains an older version of the SOC BB. Populating the bounding box with values from DMCUB is no longer necessary since values such as UCLK will be overridden by values acquired by PMFW anyways. [HOW] Use bb_from_dmub to store DCN specific bounding box parameters in DMCUB. Add helpers to translate DCN specific struct to the corresponding dml2_soc_bb field. To avoid alignment issues: Deprecate applying DMCUB SoC BB for DCN4 For future projects: Create a flattened struct containing all sensitive parameters in the bounding box. New parameters can be added to the bottom of the new struct as needed. Reviewed-by: Dillon Varone <dillon.varone@amd.com> Signed-off-by: Austin Zheng <Austin.Zheng@amd.com> Signed-off-by: Alex Hung <alex.hung@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
9fe914b090
commit
f948770387
@@ -636,8 +636,9 @@ struct amdgpu_display_manager {
|
||||
* @bb_from_dmub:
|
||||
*
|
||||
* Bounding box data read from dmub during early initialization for DCN4+
|
||||
* Data is stored as a byte array that should be casted to the appropriate bb struct
|
||||
*/
|
||||
struct dml2_soc_bb *bb_from_dmub;
|
||||
void *bb_from_dmub;
|
||||
|
||||
/**
|
||||
* @oem_i2c:
|
||||
|
||||
Reference in New Issue
Block a user