]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
drm/nouveau/kms: Move drm_dp_cec_unset_edid() into nouveau_connector_detect()
authorLyude Paul <lyude@redhat.com>
Wed, 26 Aug 2020 18:24:47 +0000 (14:24 -0400)
committerLyude Paul <lyude@redhat.com>
Mon, 31 Aug 2020 23:10:08 +0000 (19:10 -0400)
commit02bb7fe2d3eacb5ca1cec597ad16eff93ae8d769
treebf8ad358db2d3da4db64c9ec47806f2bce69b5b3
parent8b75e83e9c94dbf619cf2499ec85656eed9d0320
drm/nouveau/kms: Move drm_dp_cec_unset_edid() into nouveau_connector_detect()

For whatever reason we currently unset the EDID for DP CEC support when
responding to the connector being unplugged, instead of just doing it in
nouveau_connector_detect() where we set the CEC EDID. This isn't really
needed and could even potentially cause us to forget to unset the EDID
if the connector is removed without a corresponding hpd event, so let's
fix that.

Signed-off-by: Lyude Paul <lyude@redhat.com>
Reviewed-by: Ben Skeggs <bskeggs@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200826182456.322681-12-lyude@redhat.com
drivers/gpu/drm/nouveau/nouveau_connector.c