OSDN Git Service

drm: mxsfb_crtc: Reset the eLCDIF controller
authorFabio Estevam <fabio.estevam@nxp.com>
Fri, 5 May 2017 18:01:41 +0000 (15:01 -0300)
committerSean Paul <seanpaul@chromium.org>
Thu, 15 Jun 2017 17:30:45 +0000 (13:30 -0400)
commitae9d04214372a521e3746556eb2f76007d9edb73
tree070e12280b960c85b1c385bf24a5610aceb5a5c2
parentd35fb61759688093fab863318edbbcea0f4644bd
drm: mxsfb_crtc: Reset the eLCDIF controller

According to the eLCDIF initialization steps listed in the MX6SX
Reference Manual the eLCDIF block reset is mandatory.

Without performing the eLCDIF reset the display shows garbage content
when the kernel boots.

In earlier tests this issue has not been observed because the bootloader
was previously showing a splash screen and the bootloader display driver
does properly implement the eLCDIF reset.

Add the eLCDIF reset to the driver, so that it can operate correctly
independently of the bootloader.

Tested on a imx6sx-sdb board.

Cc: <stable@vger.kernel.org>
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/1494007301-14535-1-git-send-email-fabio.estevam@nxp.com
drivers/gpu/drm/mxsfb/mxsfb_crtc.c