Lei Chen 7898a8b208 disp: msm: sde: inversely allocate DSC for non built-in displays
Allocate DSC inversely for non built-in displays to avoid Quad DSC
can't be contiguous reserved as the below scenario.

Use case: Primary display with 2 DSC, and DP display can support 8K@60
with 4 DSC and 4k@60 with 2 DSC.
	--> when both display are in powered off, all DSC blocks are free.
	--> enable DP display with 4k@60.
		DSC 0/1 is allocated by DP display
	--> enable primary display.
		DSC 2/3 is allocated by primary display.
	--> switch DP display to 8K@60
		DSC 0/1 + DSC 4/5 are allocated by DP display.
But the DSC must be contiguous allocated for Quad pipe.

Change-Id: I465c115bb7ec775483dc6a984306a9aa51750b14
Signed-off-by: Lei Chen <quic_chenlei@quicinc.com>
2023-06-06 22:40:52 -07:00
2021-02-17 09:14:03 -08:00
설명
No description provided
226 MiB
Languages
C 98.7%
C++ 0.9%
Makefile 0.3%
Starlark 0.1%