[PATCH 0/3] drm: Add panic handling

2016-09-11 Thread Noralf Trønnes
This patchset adds a way for DRM drivers to display kernel messages during panic(). This version have lots of changes based on Daniel's review of the RFC where he proposed a different way of interacting with the driver. I have used this script to run some tests on the rendering code: https://gist

[PATCH 2/3] drm/fb_cma_helper: Add panic handling

2016-09-11 Thread Noralf Trønnes
This enables panic message output for fb cma helper framebuffers. Signed-off-by: Noralf Trønnes --- drivers/gpu/drm/drm_fb_cma_helper.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/gpu/drm/drm_fb_cma_helper.c b/drivers/gpu/drm/drm_fb_cma_helper.c index 1fd6eac..2f1b0

[PATCH 1/3] drm: Add support for panic message output

2016-09-11 Thread Noralf Trønnes
This adds support for outputting kernel messages on panic(). A circular buffer is used to collect kernel messages. On panic() the notifier function loops over each DRM device and it's crtc's to find suitable framebuffers. On the next console->write(), the messages in the circular buffer are rendere

[PATCH 3/3] drm/simpledrm: Add panic handling

2016-09-11 Thread Noralf Trønnes
This enables panic message output support in simpledrm. Signed-off-by: Noralf Trønnes --- drivers/gpu/drm/simpledrm/simpledrm_kms.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/gpu/drm/simpledrm/simpledrm_kms.c b/drivers/gpu/drm/simpledrm/simpledrm_kms.c index deb24

[GIT PULL] Allwinner DRM changes for 4.9

2016-09-11 Thread Maxime Ripard
ext part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160911/3ab18d55/attachment.sig>

[Intel-gfx] [PATCH 1/1] drm/i915/dsi: silence a warning about uninitialized return value

2016-09-11 Thread Nicolas Iooss
On 08/09/16 16:31, Dave Gordon wrote: > On 08/09/16 00:02, Nicolas Iooss wrote: >> On 07/09/16 18:03, Dave Gordon wrote: >>> On 06/09/16 21:36, Nicolas Iooss wrote: On 06/09/16 12:21, Dave Gordon wrote: > On 04/09/16 19:58, Nicolas Iooss wrote: >> When building the kernel with clang an

[Intel-gfx] Bad flicker on skylake HQD due to code in the 4.7 merge window

2016-09-11 Thread James Hogan
On 7 July 2016 at 20:19, James Bottomley wrote: > On Thu, 2016-07-07 at 09:55 -0700, James Bottomley wrote: >> On Thu, 2016-07-07 at 19:14 +0300, Ville Syrjälä wrote: >> > On Tue, Jun 21, 2016 at 06:44:34PM +0300, Ville Syrjälä wrote: >> > > On Tue, Jun 21, 2016 at 09:53:15AM -0400, James Bott

[PATCH] drm/panel: simple: Fix bus_format for the Olimex LCD-OLinuXino-4.3TS

2016-09-11 Thread Jonathan Liu
The format is RGB888 not RGB666. Signed-off-by: Jonathan Liu --- drivers/gpu/drm/panel/panel-simple.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index 85143d1..d4aa68e 100644 --- a/drivers/gpu/d

[PATCH] drm/i915: Ignore OpRegion panel type on Ivy Bridge + Mobile

2016-09-11 Thread Adrien Vergé
On Terra Mobile Ultrabook 1450 II (Core i5-3337U, i915 devid = 0x166), the screen is tiled in many 480×320 screens (like a mosaic) since v4.7. This laptop is simply unusable. I have bisected the cause to commit a05628195a0d ("drm/i915: Get panel_type from OpRegion panel details"). Like for Skyla