Commit 59de751
drm/amd/display: add ODM case when looking for first split pipe
[Why]
When going from ODM 2:1 single display case to max displays, second
odm pipe needs to be repurposed for one of the new single displays.
However, acquire_first_split_pipe() only handles MPC case and not
ODM case
[How]
Add ODM conditions in acquire_first_split_pipe()
Add commit_minimal_transition_state() in commit_streams() to handle
odm 2:1 exit first, and then process new streams
Handle ODM condition in commit_minimal_transition_state()
Cc: Mario Limonciello <mario.limonciello@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Acked-by: Stylon Wang <stylon.wang@amd.com>
Signed-off-by: Samson Tam <samson.tam@amd.com>
Reviewed-by: Alvin Lee <Alvin.Lee2@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>1 parent 99b3886 commit 59de751
2 files changed
Lines changed: 55 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1981 | 1981 | | |
1982 | 1982 | | |
1983 | 1983 | | |
| 1984 | + | |
| 1985 | + | |
| 1986 | + | |
1984 | 1987 | | |
1985 | 1988 | | |
1986 | 1989 | | |
| |||
2002 | 2005 | | |
2003 | 2006 | | |
2004 | 2007 | | |
| 2008 | + | |
| 2009 | + | |
2005 | 2010 | | |
2006 | 2011 | | |
2007 | 2012 | | |
| |||
2026 | 2031 | | |
2027 | 2032 | | |
2028 | 2033 | | |
| 2034 | + | |
| 2035 | + | |
| 2036 | + | |
| 2037 | + | |
| 2038 | + | |
| 2039 | + | |
| 2040 | + | |
| 2041 | + | |
| 2042 | + | |
| 2043 | + | |
| 2044 | + | |
| 2045 | + | |
| 2046 | + | |
| 2047 | + | |
| 2048 | + | |
| 2049 | + | |
2029 | 2050 | | |
2030 | 2051 | | |
2031 | 2052 | | |
| |||
3872 | 3893 | | |
3873 | 3894 | | |
3874 | 3895 | | |
| 3896 | + | |
3875 | 3897 | | |
3876 | 3898 | | |
3877 | 3899 | | |
| |||
3900 | 3922 | | |
3901 | 3923 | | |
3902 | 3924 | | |
| 3925 | + | |
| 3926 | + | |
| 3927 | + | |
| 3928 | + | |
| 3929 | + | |
| 3930 | + | |
| 3931 | + | |
| 3932 | + | |
| 3933 | + | |
| 3934 | + | |
| 3935 | + | |
| 3936 | + | |
3903 | 3937 | | |
3904 | 3938 | | |
3905 | 3939 | | |
| |||
3908 | 3942 | | |
3909 | 3943 | | |
3910 | 3944 | | |
3911 | | - | |
| 3945 | + | |
3912 | 3946 | | |
3913 | 3947 | | |
3914 | 3948 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1444 | 1444 | | |
1445 | 1445 | | |
1446 | 1446 | | |
| 1447 | + | |
| 1448 | + | |
| 1449 | + | |
| 1450 | + | |
| 1451 | + | |
| 1452 | + | |
| 1453 | + | |
| 1454 | + | |
| 1455 | + | |
| 1456 | + | |
| 1457 | + | |
| 1458 | + | |
| 1459 | + | |
| 1460 | + | |
| 1461 | + | |
| 1462 | + | |
| 1463 | + | |
| 1464 | + | |
| 1465 | + | |
| 1466 | + | |
1447 | 1467 | | |
1448 | 1468 | | |
1449 | 1469 | | |
| |||
0 commit comments