[PATCH] drm/tegra: dsi: Add suspend/resume support

2014-12-19 Thread Thierry Reding
On Wed, Dec 10, 2014 at 10:08:57AM +0800, Mark Zhang wrote: > On 12/10/2014 03:29 AM, Sean Paul wrote: > > On Sun, Dec 7, 2014 at 10:40 PM, Mark Zhang wrote: [...] > >> > >> err = clk_set_rate(dsi->clk_parent, plld); > >> if (err < 0) { > [...] > >> + > >> + drm_modeset_lock_

[PATCH] drm/tegra: dsi: Add suspend/resume support

2014-12-10 Thread Mark Zhang
On 12/10/2014 03:29 AM, Sean Paul wrote: > On Sun, Dec 7, 2014 at 10:40 PM, Mark Zhang wrote: >> This patch adds the suspend/resume support for Tegra drm >> driver by calling the corresponding DPMS functions. [...] >> + if (dsi->slave) { >> + err = tegra_dsi_pad_calibrate(dsi->

[PATCH] drm/tegra: dsi: Add suspend/resume support

2014-12-09 Thread Sean Paul
On Sun, Dec 7, 2014 at 10:40 PM, Mark Zhang wrote: > This patch adds the suspend/resume support for Tegra drm > driver by calling the corresponding DPMS functions. > > Signed-off-by: Mark Zhang > --- > Hi, > > This patch hooks DSI driver's suspend/resume to implement the whole > display system's

[PATCH] drm/tegra: dsi: Add suspend/resume support

2014-12-08 Thread Mark Zhang
This patch adds the suspend/resume support for Tegra drm driver by calling the corresponding DPMS functions. Signed-off-by: Mark Zhang --- Hi, This patch hooks DSI driver's suspend/resume to implement the whole display system's suspend/resume. I know this is a super ugly way, but as we all know,