[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1506689959-7858-1-git-send-email-benjamin.gaignard@linaro.org>
Date: Fri, 29 Sep 2017 14:59:16 +0200
From: Benjamin Gaignard <benjamin.gaignard@...aro.org>
To: architt@...eaurora.org, a.hajda@...sung.com,
Laurent.pinchart@...asonboard.com, airlied@...ux.ie,
daniel.vetter@...el.com, jani.nikula@...ux.intel.com,
seanpaul@...omium.org, yannick.fertre@...com, philippe.cornu@...com
Cc: dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org,
Benjamin Gaignard <benjamin.gaignard@...aro.org>
Subject: [PATCH 0/3] Simplify panel bridge cleanup
The goal of this series is to simplify driver code when they need to clean up
a previously allocated panel bridge.
Few drivers have "is_panel_bridge" flag to be able to distinguish a
drm_panel_bridge from "simple" drm_bridge.
To remove this flag I propose to
- let drm_panel_bridge_remove() check if the bridge provided in parameter is
really a drm_panel_bridge.
- add drm_of_panel_bridge_remove() to remove a bridge given DT port and
endpoint
Finally that allow to remove drm_bridge structure and "is_panel_bridge" flag
from stm driver internal structure.
Benjamin Gaignard (3):
drm/bridge: make drm_panel_bridge_remove more robust
drm/drm_of: add drm_of_panel_bridge_remove function
drm/stm: ltdc: remove bridge from driver internal structure
drivers/gpu/drm/bridge/panel.c | 10 +++++++++-
drivers/gpu/drm/drm_of.c | 33 +++++++++++++++++++++++++++++++++
drivers/gpu/drm/stm/ltdc.c | 16 +++++-----------
drivers/gpu/drm/stm/ltdc.h | 2 --
include/drm/drm_of.h | 8 ++++++++
5 files changed, 55 insertions(+), 14 deletions(-)
--
2.7.4
Powered by blists - more mailing lists