… > Free the logger before discarding dc_ctx and clear dc->dml.logger to avoid > leaving a dangling alias after the failed construction.
Would there be a need to complete the exception handling also after a failed link_create_link_service() call in the implementation of the function “dc_construct_ctx”? https://elixir.bootlin.com/linux/v7.4-rc1/source/drivers/gpu/drm/amd/display/dc/core/dc.c#L990-L1037 How do you think about to avoid duplicate source code another bit? Regards, Markus
