[PATCH 13/22] drm: bridge: dw-hdmi: Replace device type with platform quirks

2016-12-02 Thread Laurent Pinchart
From: Kieran Bingham The dw-hdmi driver declares a dev_type to distinguish platform specific changes. Replace this with a quirk field, so that the platform can specify the required quirks for the driver, rather than the driver becoming conditional on

[PATCH 12/22] drm: bridge: dw-hdmi: Abstract the platform PHY configuration

2016-12-02 Thread Laurent Pinchart
From: Kieran Bingham Platforms implement the dw-hdmi with a separate PHY entity. It is configured over it's own I2C bus. To allow for different PHY's to be configured from the dw-hdmi driver, abstract the actual programming of the PHY to its own

[PATCH 11/22] drm: bridge: dw-hdmi: Refactor hdmi_phy_configure resolution parameter

2016-12-02 Thread Laurent Pinchart
From: Kieran Bingham The current code hard codes the call of hdmi_phy_configure() to be 8bpp and provides extraneous error checking to verify that this hardcoded value is correct. Simplify the passing of the data by setting the parameter to be of the

[Bug 98924] [AMDGPU][SI] R9 m265x doesn't work with experimental kernel driver

2016-12-02 Thread bugzilla-dae...@freedesktop.org
|| -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20161202/792d40fe/attachment.html>

[PATCH 10/22] drm: bridge: dw-hdmi: Implement DRM bridge registration

2016-12-02 Thread Laurent Pinchart
As an option for drivers not based on the component framework, register the bridge with the DRM core with the DRM bridge API. Existing drivers based on dw_hdmi_bind() and dw_hdmi_unbind() are not affected as those functions are preserved with their current behaviour. Signed-off-by: Laurent

[PATCH 09/22] drm: bridge: dw-hdmi: Create connector in the bridge attach operation

2016-12-02 Thread Laurent Pinchart
The DRM device is not guaranteed by the bridge API to be available before the attach callback. The driver performs properly at the moment as it doesn't use the drm_bridge_add() registration method. As this will be changed later, move connector creation to attach time to ensure compatibility with

[PATCH 08/22] drm: bridge: dw-hdmi: Reorder functions to prepare for next commit

2016-12-02 Thread Laurent Pinchart
The next commit will reference structures and functions in a way that currently requires forward declarations. Reorder the functions to avoid that. No functional change to the code is performed. Signed-off-by: Laurent Pinchart ---

[PATCH 07/22] drm: bridge: dw-hdmi: Move IRQ and IO resource allocation to common code

2016-12-02 Thread Laurent Pinchart
There's no need to duplicate identical code in multiple drivers (two at the moment, one more to come soon). Move it to the dw-hdmi core where it can be shared. If resource allocation ever becomes device-specific later we'll always have the option of splitting it out again. While it at pass the

[PATCH 06/22] drm: bridge: dw-hdmi: Don't forward HPD events to DRM core before attach

2016-12-02 Thread Laurent Pinchart
Hotplug events should only be forwarded to the DRM core by the interrupt handler when the bridge has been attached, otherwise the DRM device pointer will be NULL, resulting in a crash. Signed-off-by: Laurent Pinchart ---

[PATCH 05/22] drm: bridge: dw-hdmi: Remove encoder field from struct dw_hdmi

2016-12-02 Thread Laurent Pinchart
The field isn't needed, remove it. Signed-off-by: Laurent Pinchart --- drivers/gpu/drm/bridge/dw-hdmi.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/bridge/dw-hdmi.c b/drivers/gpu/drm/bridge/dw-hdmi.c

[PATCH 04/22] drm: bridge: dw-hdmi: Embed drm_bridge in struct dw_hdmi

2016-12-02 Thread Laurent Pinchart
The drm_bridge instance is always needed, there's no point in allocating it separately. Signed-off-by: Laurent Pinchart --- drivers/gpu/drm/bridge/dw-hdmi.c | 13 +++-- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git

[PATCH 03/22] drm: bridge: dw-hdmi: Remove unused function parameter

2016-12-02 Thread Laurent Pinchart
From: Kieran Bingham The 'prep' parameter passed to hdmi_phy_configure() is useless. It is hardcoded as 0, and if set, simply prevents the configure function from executing. Remove it. Signed-off-by: Kieran Bingham

[PATCH 02/22] drm: bridge: dw-hdmi: Remove unneeded arguments to bind/unbind functions

2016-12-02 Thread Laurent Pinchart
The master argument isn't used. The data argument, a void pointer, is used by the bind function only where it's cast to a drm_device pointer, which can easily be obtained from the encoder argument instead. Remove them. Signed-off-by: Laurent Pinchart

[PATCH 01/22] drm: bridge: dw-hdmi: Merge __hdmi_phy_i2c_write and hdmi_phy_i2c_write

2016-12-02 Thread Laurent Pinchart
The latter is just an int wrapper around the former void function that unconditionally returns 0. As the return value is never checked, merge the two functions into one. Signed-off-by: Laurent Pinchart --- drivers/gpu/drm/bridge/dw-hdmi.c | 9

[PATCH 00/22] R-Car Gen3 HDMI output support

2016-12-02 Thread Laurent Pinchart
Hello, This patch series implements support for the HDMI output on Renesas R-Car Gen3 SoCs, and more specifically on the R-Car H3. R-Car Gen3 SoCs include one or multiple Synopsys DWC HDMI TX controllers. The series thus starts with 13 cleanup or feature patches for the dw-hdmi driver. Patches

[PATCH] gpu: vmwgfx: Use dma_pool_zalloc

2016-12-02 Thread Souptick Joarder
We should use dma_pool_zalloc instead of dma_pool_alloc/memset Signed-off-by: Souptick joarder --- drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c

[Bug 98520] System randomly crashes / freezes while playing certain games

2016-12-02 Thread bugzilla-dae...@freedesktop.org
attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20161202/175e1946/attachment.html>

<    1   2