Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1365541

Re: [PATCH v2 2/5] drm/imx: dw_hdmi: Call drm_encoder_cleanup() in error path

From Doug Anderson <dianders@chromium.org>
Newsgroups linux.kernel
Subject Re: [PATCH v2 2/5] drm/imx: dw_hdmi: Call drm_encoder_cleanup() in error path
Date 2016-03-28 17:20 +0200
Message-ID <rhH7s-pT-7@gated-at.bofh.it> (permalink)
References <rabvH-ik-3@gated-at.bofh.it> <rabvH-ik-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi,

On Mon, Mar 7, 2016 at 2:00 PM, Douglas Anderson <dianders@chromium.org> wrote:
> The drm_encoder_cleanup() was missing both from the error path of
> dw_hdmi_imx_bind().  This caused a crash when slub_debug was
> enabled and we ended up deferring probe of HDMI at boot.
>
> This call isn't needed from unbind() because if dw_hdmi_bind() returns
> no error then it takes over the job of freeing the encoder (in
> dw_hdmi_unbind).
>
> Signed-off-by: Douglas Anderson <dianders@chromium.org>
> ---
> Changes in v2:
> - IMX patch new in v2
>
>  drivers/gpu/drm/imx/dw_hdmi-imx.c | 11 ++++++++++-
>  1 file changed, 10 insertions(+), 1 deletion(-)

Mark picked up:

  [PATCH v2 1/5] drm/rockchip: dw_hdmi: Call drm_encoder_cleanup() in error path
  [PATCH v2 3/5] drm/rockchip: vop: Fix vop crtc cleanup
  [PATCH v2 4/5] drm/rockchip: dw_hdmi: Don't call platform_set_drvdata()

...for Rockchip, as you can see at
<https://patchwork.kernel.org/patch/8523301/>.

Does someone want to pick up:
  [PATCH v2 2/5] drm/imx: dw_hdmi: Call drm_encoder_cleanup() in error path
  [PATCH v2 5/5] drm/imx: dw_hdmi: Don't call platform_set_drvdata()

Thanks!

-Doug

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH v2 2/5] drm/imx: dw_hdmi: Call drm_encoder_cleanup() in  error path Doug Anderson <dianders@chromium.org> - 2016-03-28 17:20 +0200
  Re: [PATCH v2 2/5] drm/imx: dw_hdmi: Call drm_encoder_cleanup() in  error path Philipp Zabel <p.zabel@pengutronix.de> - 2016-03-30 15:40 +0200

csiph-web