File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
drivers/gpu/drm/amd/display/dc Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -200,6 +200,9 @@ void dcn401_init_hw(struct dc *dc)
200200 */
201201 struct dc_link * link = dc -> links [i ];
202202
203+ if (link -> ep_type != DISPLAY_ENDPOINT_PHY )
204+ continue ;
205+
203206 link -> link_enc -> funcs -> hw_init (link -> link_enc );
204207
205208 /* Check for enabled DIG to identify enabled display */
Original file line number Diff line number Diff line change 4444 */
4545#define MAX_PIPES 6
4646#define MAX_PHANTOM_PIPES (MAX_PIPES / 2)
47- #define MAX_LINKS (MAX_PIPES * 2 +2)
47+
48+ #define MAX_DPIA 6
49+ #define MAX_CONNECTOR 6
50+ #define MAX_VIRTUAL_LINKS 4
51+
52+ #define MAX_LINKS (MAX_DPIA + MAX_CONNECTOR + MAX_VIRTUAL_LINKS)
53+
4854#define MAX_DIG_LINK_ENCODERS 7
4955#define MAX_DWB_PIPES 1
5056#define MAX_HPO_DP2_ENCODERS 4
You can’t perform that action at this time.
0 commit comments