[PATCH 30/36] drm/amd/display: Avoid create MST prop after registration

Michel Dänzer michel at daenzer.net
Mon Apr 6 15:09:06 UTC 2020


On 2020-04-05 10:41 p.m., Rodrigo Siqueira wrote:
> From: "Jerry (Fangzhi) Zuo" <Jerry.Zuo at amd.com>
> 
> [Why]
> Prop are created at boot stage, and not allowed to create new prop
> after device registration.
> 
> [How]
> Reuse the connector property from SST if exist.
> 
> Signed-off-by: Jerry (Fangzhi) Zuo <Jerry.Zuo at amd.com>
> Reviewed-by: Hersen Wu <hersenxs.wu at amd.com>
> Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira at amd.com>
This patch is needed in 5.7, or one gets the WARNINGs I reported in
https://lists.freedesktop.org/archives/amd-gfx/2020-April/048017.html
when an MST display is connected.

Note that this patch doesn't fix all of those, there's also one
triggered by dm_dp_add_mst_connector => drm_encoder_init.

 git grep mst_encoders drivers/gpu/drm/i915/

shows how the i915 driver deals with this.

Can you guys take care of that for 5.7 as well?


-- 
Earthling Michel Dänzer               |               https://redhat.com
Libre software enthusiast             |             Mesa and X developer


More information about the amd-gfx mailing list