We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b353e4 commit 17bdb4aCopy full SHA for 17bdb4a
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
@@ -1389,9 +1389,14 @@ static int dm_late_init(void *handle)
1389
struct dmcu_iram_parameters params;
1390
unsigned int linear_lut[16];
1391
int i;
1392
- struct dmcu *dmcu = adev->dm.dc->res_pool->dmcu;
+ struct dmcu *dmcu = NULL;
1393
bool ret = false;
1394
1395
+ if (!adev->dm.fw_dmcu)
1396
+ return detect_mst_link_for_all_connectors(adev->ddev);
1397
+
1398
+ dmcu = adev->dm.dc->res_pool->dmcu;
1399
1400
for (i = 0; i < 16; i++)
1401
linear_lut[i] = 0xFFFF * i / 15;
1402
0 commit comments