linux/drivers/gpu/drm/amd/display
Samson Tam 235fef6c7f 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 <Nevenko.Stupar@amd.com>
Acked-by: Alan Liu <HaoPing.Liu@amd.com>
Signed-off-by: Samson Tam <Samson.Tam@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2023-01-24 13:26:25 -05:00
..
amdgpu_dm drm/amd/display: create accessories, hwss and protocols sub folders in link 2023-01-24 13:26:25 -05:00
dc drm/amd/display: adjust MALL size available for DCN32 and DCN321 2023-01-24 13:26:25 -05:00
dmub drm/amd/display: [FW Promotion] Release 0.0.150.0 2023-01-24 13:26:24 -05:00
include drm/amd/display: move dp link training logic to link_dp_training 2023-01-17 15:38:28 -05:00
modules drm/amd/display: set active bit for desktop with VSDBv3 2023-01-17 15:39:58 -05:00
Kconfig drm/amd/display: add DCN support for ARM64 2022-11-04 16:05:54 -04:00
Makefile
TODO