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 2c684b9 commit 5d978e7Copy full SHA for 5d978e7
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
@@ -6653,7 +6653,7 @@ static void amdgpu_dm_connector_funcs_force(struct drm_connector *connector)
6653
struct edid *edid;
6654
struct i2c_adapter *ddc;
6655
6656
- if (dc_link->aux_mode)
+ if (dc_link && dc_link->aux_mode)
6657
ddc = &aconnector->dm_dp_aux.aux.ddc;
6658
else
6659
ddc = &aconnector->i2c->base;
0 commit comments