[Intel-gfx] [RFC][PATCH 00/11] drm: Try to make display info less nuts
Ville Syrjala
ville.syrjala at linux.intel.com
Tue Feb 27 12:56:49 UTC 2018
From: Ville Syrjälä <ville.syrjala at linux.intel.com>
Currently the display info is cleared/populated in a very ad-hoc manner.
I'd like to make it more robust by making sure it gets cleared by the
core forcing drivers to repopulate in .fill_modes().
The bus_formats stuff looks very much ad-hoc all over, so I left that
out from consideration for now.
The locking around the display info and edid updates looks somewhat
busted as well, so I figured I'd sprinkle some lockdep asserts around.
That last part probably won't cooperate nicely with amdgpu as they
seem to be doing edid updates from the modeset path. So need to think
of some way to untangle that mess. Hence this is just an RFC for now.
Cc: Alison Wang <alison.wang at freescale.com>
Cc: Andrzej Hajda <a.hajda at samsung.com>
Cc: Archit Taneja <architt at codeaurora.org>
Cc: Boris Brezillon <boris.brezillon at bootlin.com>
Cc: Daniel Vetter <daniel.vetter at ffwll.ch>
Cc: Eric Anholt <eric at anholt.net>
Cc: Hans de Goede <hdegoede at redhat.com>
Cc: Harry Wentland <harry.wentland at amd.com>
Cc: Keith Packard <keithp at keithp.com>
Cc: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
Cc: Linus Walleij <linus.walleij at linaro.org>
Cc: linux-renesas-soc at vger.kernel.org
Cc: Manfred Schlaegl <manfred.schlaegl at gmx.at>
Cc: Marek Vasut <marex at denx.de>
Cc: Maxime Ripard <maxime.ripard at bootlin.com>
Cc: Patrik Jakobsson <patrik.r.jakobsson at gmail.com>
Cc: Philipp Zabel <p.zabel at pengutronix.de>
Cc: Shashank Sharma <shashank.sharma at intel.com>
Cc: Stefan Agner <stefan at agner.ch>
Cc: Thierry Reding <thierry.reding at gmail.com>
Ville Syrjälä (11):
drm/gma500: Fill display_info.{width,height}_mm from .get_modes()
drm/i915: Fill display_info.{width,height}_mm from .get_modes()
drm/shmobile: Don't fill display_info.{width,height}_mm at init time
drm: Split the display info into static and dynamic parts
drm/edid: Clear display info fully
drm/edid: Don't call drm_add_display_info() with an invalid EDID
drm/probe-helper: Avoid iterating the list twice on ww backoff
drm: Add drm_connector_fill_modes()
drm: Fix getconnector locking
drm: Fix debugfs edid_override locking
drm: Sprinkle lockdep asserts for edid/display_info
drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c | 2 +-
drivers/gpu/drm/amd/amdgpu/dce_virtual.c | 2 +-
drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c | 2 +-
drivers/gpu/drm/bridge/sii902x.c | 2 +-
drivers/gpu/drm/bridge/tc358767.c | 2 +-
drivers/gpu/drm/drm_connector.c | 70 ++++++++---
drivers/gpu/drm/drm_debugfs.c | 12 +-
drivers/gpu/drm/drm_edid.c | 35 +-----
drivers/gpu/drm/drm_fb_helper.c | 4 +-
drivers/gpu/drm/drm_probe_helper.c | 10 +-
drivers/gpu/drm/drm_sysfs.c | 6 +-
drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_crtc.c | 2 +-
drivers/gpu/drm/gma500/cdv_intel_hdmi.c | 2 +-
drivers/gpu/drm/gma500/cdv_intel_lvds.c | 2 +-
drivers/gpu/drm/gma500/mdfld_dsi_output.c | 14 +--
drivers/gpu/drm/gma500/oaktrail_hdmi.c | 2 +-
drivers/gpu/drm/gma500/oaktrail_lvds.c | 2 +-
drivers/gpu/drm/gma500/psb_intel_lvds.c | 2 +-
drivers/gpu/drm/gma500/psb_intel_sdvo.c | 2 +-
drivers/gpu/drm/i915/i915_debugfs.c | 2 +-
drivers/gpu/drm/i915/intel_dp.c | 15 ++-
drivers/gpu/drm/i915/intel_dsi.c | 17 +--
drivers/gpu/drm/i915/intel_dvo.c | 2 +-
drivers/gpu/drm/i915/intel_lvds.c | 11 +-
drivers/gpu/drm/i915/intel_sdvo.c | 2 +-
drivers/gpu/drm/imx/imx-ldb.c | 4 +-
drivers/gpu/drm/imx/parallel-display.c | 2 +-
drivers/gpu/drm/mxsfb/mxsfb_crtc.c | 6 +-
drivers/gpu/drm/panel/panel-arm-versatile.c | 2 +-
drivers/gpu/drm/panel/panel-ilitek-ili9322.c | 8 +-
drivers/gpu/drm/panel/panel-lvds.c | 4 +-
.../gpu/drm/panel/panel-raspberrypi-touchscreen.c | 2 +-
drivers/gpu/drm/panel/panel-seiko-43wvf1g.c | 4 +-
drivers/gpu/drm/panel/panel-simple.c | 4 +-
drivers/gpu/drm/pl111/pl111_display.c | 4 +-
drivers/gpu/drm/radeon/radeon_connectors.c | 4 +-
drivers/gpu/drm/rcar-du/rcar_du_encoder.c | 2 +-
drivers/gpu/drm/shmobile/shmob_drm_crtc.c | 3 -
drivers/gpu/drm/sun4i/sun4i_tcon.c | 4 +-
drivers/gpu/drm/tve200/tve200_display.c | 2 +-
drivers/gpu/drm/vc4/vc4_dpi.c | 4 +-
include/drm/drm_connector.h | 128 ++++++++++++---------
include/drm/drm_edid.h | 1 -
43 files changed, 227 insertions(+), 185 deletions(-)
--
2.13.6
More information about the Intel-gfx
mailing list