Hans,
I still have trouble getting the HDMI monitor to come out of suspend
running linaro on CT.
Removing the lines that switch the clock off and back on again seems to
sort the problem. There is probably a deeper underlying issue tho.
Interested if you have any thoughts.
Kind regards,
Phil
diff --git a/drivers/video/sunxi/disp/dev_disp.c
b/drivers/video/sunxi/disp/dev_disp.c
index 9b59810..7463318 100644
--- a/drivers/video/sunxi/disp/dev_disp.c
+++ b/drivers/video/sunxi/disp/dev_disp.c
@@ -548,7 +548,9 @@ int disp_suspend(int clk, int status)
else if (suspend_output_type[i] == DISP_OUTPUT_TYPE_HDMI)
BSP_disp_hdmi_close(i);
}
- BSP_disp_clk_off(clk);
+
+// Dont turn off the clock as it wont start again
+// BSP_disp_clk_off(clk);
suspend_status |= status;
return 0;
@@ -560,7 +562,8 @@ int disp_resume(int clk, int status)
__inf("disp_resume clk %d status %d call\n", clk, status);
- BSP_disp_clk_on(clk);
+// This does not seem to restart the clock
+// BSP_disp_clk_on(clk);
if (clk != 1)
for (i = 0; i < 2; i++) {
On Tuesday, 12 February 2013 10:57:33 UTC, Hans de Goede wrote:
>
> This patchset combines the best of Michal Suchanek's, Floris Bos' and my
> patches to fix various issues with hotplugging hdmi and adds dpms support.
>
> After this the only remaining known issue is the following
> 1) If EDID is used, and no EDID is found on bootup so the fallback mode is
> selected; and
> 2) A hdmi/dvi monitor gets plugged in, and its EDID does not advertise
> the fallback mode; and
> 3) X is running
>
> Then the fbcon code will change the mode underneath X to a supported mode,
> and
> X will show a garbled display. This can be worked around by switching to a
> text VC and restarting X. This is more of an Xorg bug then a bug of the
> sunxi
> fb driver.
>
> Regards,
>
> Hans
>
--
You received this message because you are subscribed to the Google Groups
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.