diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2019-09-16 15:04:36 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2019-09-16 15:04:36 +0000 |
commit | f7b16f64e851161ba9923562a552260eda6da3cf (patch) | |
tree | 49bf2a94dd7efc30ce3c06c33ec49d1d8af535f6 /sys/dev/pci/drm/i915 | |
parent | 99b4b1e5fd4d7bf4d8d784e9b113461c078203ad (diff) |
drm/i915: Fix intel_dp_mst_best_encoder()
From Lyude Paul
4b2dfc0e2d44e7fdd8fd5d6b1d25eef0c10cf3f7 in linux 4.19.y/4.19.73
a9f9ca33d1fe9325f414914be526c0fc4ba5281c in mainline linux
Diffstat (limited to 'sys/dev/pci/drm/i915')
-rw-r--r-- | sys/dev/pci/drm/i915/intel_dp_mst.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/pci/drm/i915/intel_dp_mst.c b/sys/dev/pci/drm/i915/intel_dp_mst.c index 1fec0c71b4d..58ba14966d4 100644 --- a/sys/dev/pci/drm/i915/intel_dp_mst.c +++ b/sys/dev/pci/drm/i915/intel_dp_mst.c @@ -408,8 +408,6 @@ static struct drm_encoder *intel_mst_atomic_best_encoder(struct drm_connector *c struct intel_dp *intel_dp = intel_connector->mst_port; struct intel_crtc *crtc = to_intel_crtc(state->crtc); - if (!READ_ONCE(connector->registered)) - return NULL; return &intel_dp->mst_encoders[crtc->pipe]->base.base; } |