drm: tegra: stolen commit
https://patchwork.ozlabs.org/project/linux-tegra/patch/20251103-diogo-smaug_ec_typec-v1-1-be656ccda391@tecnico.ulisboa.pt/ Do a real fix later
This commit is contained in:
@@ -932,15 +932,6 @@ static void tegra_dsi_encoder_enable(struct drm_encoder *encoder)
|
||||
u32 value;
|
||||
int err;
|
||||
|
||||
/* If the bootloader enabled DSI it needs to be disabled
|
||||
* in order for the panel initialization commands to be
|
||||
* properly sent.
|
||||
*/
|
||||
value = tegra_dsi_readl(dsi, DSI_POWER_CONTROL);
|
||||
|
||||
if (value & DSI_POWER_CONTROL_ENABLE)
|
||||
tegra_dsi_disable(dsi);
|
||||
|
||||
err = tegra_dsi_prepare(dsi);
|
||||
if (err < 0) {
|
||||
dev_err(dsi->dev, "failed to prepare: %d\n", err);
|
||||
|
||||
Reference in New Issue
Block a user