diff options
author | Samson Tam <[email protected]> | 2023-01-11 13:31:31 -0500 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2023-01-24 13:26:25 -0500 |
commit | 235fef6c7fd341026eee90cc546e6e8ff8b2c315 (patch) | |
tree | 99aff8dff7857ef742b90bc40e0f82c162f5fd3a /drivers/usb/cdns3/cdns3-imx.c | |
parent | 01ecd870ce2f06fe9ef5ef67b449e3f24289c575 (diff) |
drm/amd/display: adjust MALL size available for DCN32 and DCN321
[Why]
MALL size available can vary for different SKUs.
Use num_chans read from VBIOS to determine the available MALL size we can use
[How]
Define max_chans for DCN32 and DCN321.
If num_chans is max_chans, then return max_chans as we can access the
entire MALL space.
Otherwise, define avail_chans as the number of available channels we are
allowed instead.
Return corresponding number of channels back and use this to calculate
available MALL size.
Reviewed-by: Nevenko Stupar <[email protected]>
Acked-by: Alan Liu <[email protected]>
Signed-off-by: Samson Tam <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions