Sean Paul has uploaded a new change for review.
Change subject: drm/exynos: Refactor manager/display/overlay
......................................................................
drm/exynos: Refactor manager/display/overlay
The exynos_drm_manager/display/overlay architecture wasn't really
serving its purpose. It attempted to split callbacks into logical
sections, but those sections didn't really make sense, and required us
to have a layer of abstraction such as exynos_drm_hdmi on top of the
controller and panel to call the appropriate functions.
This patch removes manager/display/overlay as well as exynos_drm_hdmi,
and adds a new abstraction which splits the callbacks to controller and
panel.
Right now, this just cleans things up, making the code a little more
readable. In the short term, it allows us to hook fimd into just
the controller side, and add dp/mipi as panel implementations. In the
long term, it removes all of the device pointers, so we should be able
to remove all of the various platform drivers more easily.
BUG=chrome-os-partner:11158,chrome-os-partner:10717
TEST=Tested on snow, hdmi hotplugged, booted with/without hdmi,
suspend/resume tested. No regressions detected.
Change-Id: Ia1bd6bbd67d49af2abecf36c43bfe765ae00f38d
Signed-off-by: Sean Paul <
sean...@chromium.org>
---
M drivers/gpu/drm/exynos/Makefile
M drivers/gpu/drm/exynos/exynos_drm_connector.c
M drivers/gpu/drm/exynos/exynos_drm_core.c
M drivers/gpu/drm/exynos/exynos_drm_crtc.c
M drivers/gpu/drm/exynos/exynos_drm_drv.c
M drivers/gpu/drm/exynos/exynos_drm_drv.h
M drivers/gpu/drm/exynos/exynos_drm_encoder.c
M drivers/gpu/drm/exynos/exynos_drm_encoder.h
M drivers/gpu/drm/exynos/exynos_drm_fimd.c
D drivers/gpu/drm/exynos/exynos_drm_hdmi.c
D drivers/gpu/drm/exynos/exynos_drm_hdmi.h
M drivers/gpu/drm/exynos/exynos_drm_vidi.c
M drivers/gpu/drm/exynos/exynos_hdmi.c
M drivers/gpu/drm/exynos/exynos_hdmi.h
M drivers/gpu/drm/exynos/exynos_mixer.c
15 files changed, 708 insertions(+), 1,334 deletions(-)
git pull ssh://
gerrit.chromium.org:29418/chromiumos/third_party/kernel refs/changes/77/36477/1
--
To view, visit
https://gerrit.chromium.org/gerrit/36477
To unsubscribe, visit
https://gerrit.chromium.org/gerrit/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia1bd6bbd67d49af2abecf36c43bfe765ae00f38d
Gerrit-PatchSet: 1
Gerrit-Project: chromiumos/third_party/kernel
Gerrit-Branch: chromeos-3.4
Gerrit-Owner: Sean Paul <
sean...@chromium.org>