[PATCH 5/7] drm/rockchip: dw-mipi: support HPD poll

2016-07-11 Thread Mark yao
On 2016年07月08日 21:52, John Keeping wrote: > On Fri, 8 Jul 2016 17:04:59 +0800, Chris Zhong wrote: > >> At the first time of bind, there is no any panel attach in mipi. Add a >> DRM_CONNECTOR_POLL_HPD porperty to detect the panel status, when panel >> probe, the dw_mipi_dsi_host_attach would

[PATCH 0/3] imx drm atomic mode setting fixups

2016-07-11 Thread Ying Liu
Hi Philipp, On Sat, Jul 9, 2016 at 1:24 AM, Philipp Zabel wrote: > Hi Liu, > > Am Freitag, den 08.07.2016, 17:38 +0800 schrieb Liu Ying: > [...] >> I'll respin to fix the LVDS bus format translation issue. >> To keep my patch set as small as possible, I'll leave your 3 patches >> for you to handl

[PATCH][libdrm] drm: Fix multi GPU drmGetDevice return wrong device

2016-07-11 Thread Qiang Yu
drmGetDevice will always return the first device it find under /dev/dri/. This is not true for multi GPU situation. Plus fix the memory leak in error handling path of drmGetDevices. Change-Id: I2a85a8a4feba8a5cc517ad75c6afb532fa07c53d Signed-off-by: Qiang Yu --- xf86drm.c | 26 +

[PULL] topic/drm-misc

2016-07-11 Thread Daniel Vetter
Hi Dave, Just flushing out drm-misc for the merge window: - rpm fixes from Lukas that I promised to merge and dropped the ball until he pinged me. - misc trivial patches Jani picked up. I haven't recovered mail backlog yet, so no idea what's hiding still ;-) Cheers, Daniel The following chan

[PATCH] drm: Only handle _DRM_VBLANK_NEXTONMISS once

2016-07-11 Thread Michel Dänzer
On 24.06.2016 17:17, Chris Wilson wrote: > On Fri, Jun 24, 2016 at 04:59:47PM +0900, Michel Dänzer wrote: >> From: Michel Dänzer >> >> Consolidate the _DRM_VBLANK_NEXTONMISS handling between drm_wait_vblank >> and drm_queue_vblank_event. >> >> This is a cleanup spotted while working on other cha

[Bug 96885] AMDGPU Power management failure on 290X

2016-07-11 Thread bugzilla-dae...@freedesktop.org
. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160711/d8b1b169/attachment.html>

[Bug 96868] AMDGPU Tonga only does 2560x1440 at 120hz, switching to 144hz causes display errors, same thing used to happen with fglrx.

2016-07-11 Thread bugzilla-dae...@freedesktop.org
nts/20160711/65dbddb9/attachment.html>

[Bug 96877] Bioshock Infinite: LLVM triggered Diagnostic Handler: Illegal instruction detected: Operand has incorrect register class.

2016-07-11 Thread bugzilla-dae...@freedesktop.org
HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160711/2c7f1bfe/attachment.html>

[PATCH] vga_switcheroo: Sphinxify docs

2016-07-11 Thread Lukas Wunner
Fix up formatting glitches remaining after the automatic rst conversion. Cc: Jonathan Corbet Cc: Jani Nikula Signed-off-by: Lukas Wunner --- Documentation/gpu/drm-internals.rst | 4 ++-- Documentation/gpu/vga-switcheroo.rst | 8 ++-- drivers/gpu/vga/vga_switcheroo.c | 28 +++

[PATCH 2/2] drm/bridge: tc358767: Add DPI to eDP bridge driver

2016-07-11 Thread Archit Taneja
On 07/05/2016 01:30 PM, Philipp Zabel wrote: > Hi Archit, > > thanks for the review! > > Am Dienstag, den 05.07.2016, 10:08 +0530 schrieb Archit Taneja: > [...] >>> +#include >> >> This may not be needed. > > I'll check and remove it. > >>> +#ifndef regmap_read_poll_timeout >>> +#define regmap_r

[PATCH v3 1/3] drm/imx: remove empty mode_set encoder callbacks

2016-07-11 Thread Philipp Zabel
With atomic modeset support, these callbacks are optional. Signed-off-by: Philipp Zabel --- drivers/gpu/drm/imx/dw_hdmi-imx.c | 7 --- drivers/gpu/drm/imx/parallel-display.c | 7 --- 2 files changed, 14 deletions(-) diff --git a/drivers/gpu/drm/imx/dw_hdmi-imx.c b/drivers/gpu/drm/

[PATCH v3 3/3] drm/imx: turn remaining container_of macros into inline functions

2016-07-11 Thread Philipp Zabel
This allows the compiler to do type checking. Signed-off-by: Philipp Zabel --- drivers/gpu/drm/imx/imx-ldb.c | 7 +-- drivers/gpu/drm/imx/imx-tve.c | 7 +-- drivers/gpu/drm/imx/ipuv3-crtc.c | 5 - drivers/gpu/drm/imx/ipuv3-plane.c | 5 - drivers/gpu/d

[PATCH v3 2/3] drm/imx: store internal bus configuration in crtc state

2016-07-11 Thread Philipp Zabel
The internal bus configuration is imx-drm specific crtc state. Store it in imx_crtc_state and let the encoder atomic_check callbacks determine bus_flags, bus_format and the sync pins, possibly taking into account the mode and the connector display info. The custom imx_drm_encoder structure can be r

[PATCH 2/2] drm/bridge: tc358767: Add DPI to eDP bridge driver

2016-07-11 Thread Philipp Zabel
Am Montag, den 11.07.2016, 14:02 +0530 schrieb Archit Taneja: [...] > >>> + /* PXL PLL setup */ > >>> + if (tc->test_pattern) { > >> > >> I couldn't find out who is setting tc->test_pattern. Is it always > >> 0? > > > > Hm, you are right. I wonder what a good mechanism would be to enable a > > test

[PATCH 0/3] imx drm atomic mode setting fixups

2016-07-11 Thread Philipp Zabel
Am Montag, den 11.07.2016, 10:56 +0800 schrieb Ying Liu: > Hi Philipp, > > On Sat, Jul 9, 2016 at 1:24 AM, Philipp Zabel > wrote: > > Hi Liu, > > > > Am Freitag, den 08.07.2016, 17:38 +0800 schrieb Liu Ying: > > [...] > >> I'll respin to fix the LVDS bus format translation issue. > >> To keep my

[PATCH 2/2] drm/bridge: tc358767: Add DPI to eDP bridge driver

2016-07-11 Thread Archit Taneja
On 07/11/2016 02:14 PM, Philipp Zabel wrote: > Am Montag, den 11.07.2016, 14:02 +0530 schrieb Archit Taneja: > [...] > + /* PXL PLL setup */ > + if (tc->test_pattern) { I couldn't find out who is setting tc->test_pattern. Is it always 0? >>> >>> Hm, you are right. I wonder

[patch 1/2] qxl: check for kmap failures

2016-07-11 Thread Dan Carpenter
If kmap fails, it leads to memory corruption. Fixes: f64122c1f6ad ('drm: add new QXL driver. (v1.4)') Signed-off-by: Dan Carpenter diff --git a/drivers/gpu/drm/qxl/qxl_draw.c b/drivers/gpu/drm/qxl/qxl_draw.c index 56e1d63..6e6c760 100644 --- a/drivers/gpu/drm/qxl/qxl_draw.c +++ b/drivers/gpu/drm

[patch 2/2] qxl: silence uninitialized variable warning

2016-07-11 Thread Dan Carpenter
GCC doesn't complain about this but my static checker does. We're passing "drawable" before initializing it. It's not actually used so it's harmless and I just removed it. Signed-off-by: Dan Carpenter diff --git a/drivers/gpu/drm/qxl/qxl_draw.c b/drivers/gpu/drm/qxl/qxl_draw.c index 56e1d63..f

[PATCH 5/7] drm/rockchip: dw-mipi: support HPD poll

2016-07-11 Thread John Keeping
On Mon, 11 Jul 2016 08:46:53 +0800, Mark yao wrote: > On 2016年07月08日 21:52, John Keeping wrote: > > On Fri, 8 Jul 2016 17:04:59 +0800, Chris Zhong wrote: > > > >> At the first time of bind, there is no any panel attach in mipi. Add a > >> DRM_CONNECTOR_POLL_HPD porperty to detect the pane

[Bug 96868] AMDGPU Tonga only does 2560x1440 at 120hz, switching to 144hz causes display errors, same thing used to happen with fglrx.

2016-07-11 Thread bugzilla-dae...@freedesktop.org
the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160711/45b96e00/attachment-0001.html>

[Bug 96868] AMDGPU Tonga only does 2560x1440 at 120hz, switching to 144hz causes display errors, same thing used to happen with fglrx.

2016-07-11 Thread bugzilla-dae...@freedesktop.org
the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160711/4e66eba7/attachment-0001.html>

[Bug 121831] Several kmemcheck: Caught 64-bit read from uninitialized memory in radeo

2016-07-11 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=121831 --- Comment #1 from Michel Dänzer --- Shouldn't drivers/dma-buf/fence.c:fence_init() fully initialize the struct fence passed in? If not, using kzalloc instead of kmalloc in radeon_fence_emit should probably fix this. -- You are receiving this

[Bug 96868] AMDGPU Tonga only does 2560x1440 at 120hz, switching to 144hz causes display errors, same thing used to happen with fglrx.

2016-07-11 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/20160711/3bfb0de5/attachment.html>

[Bug 96868] AMDGPU Tonga only does 2560x1440 at 120hz, switching to 144hz causes display errors, same thing used to happen with fglrx.

2016-07-11 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/20160711/8017bc8c/attachment.html>

[Bug 96881] ViennaCL fails dense_blas-bench-opencl benchmark with doubles on AMD CYPRESS (DRM 2.43.0, LLVM 3.8.0)

2016-07-11 Thread bugzilla-dae...@freedesktop.org
attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160711/6c812688/attachment.html>

[PATCH] drm/atmel-hlcdc: Make ->reset() implementation static

2016-07-11 Thread Thierry Reding
From: Thierry Reding The atmel_hlcdc_crtc_reset() function is never used outside the file and can be static. This avoids a warning from sparse. Signed-off-by: Thierry Reding --- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/d

[PATCH] gpu: ipu-v3: ipu-dc: don't bug out on invalid bus_format

2016-07-11 Thread Philipp Zabel
If imx-drm is combined with a bridge or panel that requests an unsupported format, warn and use a default mapping instead of hanging the machine. The worst that can happen here are wrong colors. Signed-off-by: Philipp Zabel --- drivers/gpu/ipu-v3/ipu-dc.c | 6 +++--- 1 file changed, 3 insertions

[PATCH 2/5] drm/imx: imx-ldb: check return code on panel attach

2016-07-11 Thread Philipp Zabel
Am Freitag, den 17.06.2016, 12:13 +0200 schrieb Lucas Stach: > Check the return code on panel attach. Avoids a kernel crash later > on if the attach failed. > > Signed-off-by: Lucas Stach > --- > drivers/gpu/drm/imx/imx-ldb.c | 8 ++-- > 1 file changed, 6 insertions(+), 2 deletions(-) > > d

[PATCH 1/3] drm/imx: check the value returned by regulator_set_voltage()

2016-07-11 Thread Philipp Zabel
Am Samstag, den 09.07.2016, 18:57 -0300 schrieb Fabio Estevam: > From: Fabio Estevam > > regulator_set_voltage() may fail, so we better check its return value > and propagate it in the case of error. > > Signed-off-by: Fabio Estevam Applied all three, thank you. regards Philipp

[PATCH v1 0/6] Add RK3399 HDMI Support

2016-07-11 Thread Yakir Yang
Mark, RK3399 and RK3288 shared the same HDMI IP controller, only some light difference with GRF configure, and an external VPLL clock need to configure. Thanks, - Yakir Douglas Anderson (2): drm/rockchip: dw_hdmi: Set cur_ctr to 0 always drm/rockchip: dw_hdmi: Use auto-generated tables Yak

[PATCH v1 1/6] drm/rockchip: dw_hdmi: Set cur_ctr to 0 always

2016-07-11 Thread Yakir Yang
From: Douglas Anderson Jitter was improved by lowering the MPLL bandwidth to account for high frequency noise in the rk3288 PLL. In each case MPLL bandwidth was lowered only enough to get us a comfortable margin. We believe that lowering the bandwidth like this is safe given sufficient testing.

[PATCH v1 3/6] drm/rockchip: dw_hdmi: Use auto-generated tables

2016-07-11 Thread Yakir Yang
From: Douglas Anderson The previous tables for mpll_cfg and curr_ctrl were created using the 20-pages of example settings provided by the PHY vendor. Those example settings weren't particularly dense, so there were places where we were guessing what the settings would be for 10-bit and 12-bit (n

[PATCH v1 2/6] drm/rockchip: dw_hdmi: adjust cklvl & txlvl for RF/EMI

2016-07-11 Thread Yakir Yang
Dut to the high HDMI signal voltage driver, Mickey have meet a serious RF/EMI problem, so we decided to reduce HDMI signal voltage to a proper value. The default params for phy is cklvl = 20 & txlvl = 13 (RF/EMI failed) ck: lvl = 13, term=100, vlo = 2.71, vhi=3.14, vswing = 0.43 tx: lvl = 20,

[PATCH v1 4/6] drm/rockchip: dw_hdmi: add RK3399 HDMI support

2016-07-11 Thread Yakir Yang
RK3399 and RK3288 shared the same HDMI IP controller, only some light difference with GRF configure. Signed-off-by: Yakir Yang --- .../devicetree/bindings/display/bridge/dw_hdmi.txt | 1 + .../bindings/display/rockchip/dw_hdmi-rockchip.txt | 3 +- drivers/gpu/drm/bridge/dw-hdmi.c

[PATCH v1 5/6] drm/rockchip: dw_hdmi: introduce the VPLL clock setting

2016-07-11 Thread Yakir Yang
For RK3399 HDMI, there is an external clock need for HDMI PHY, and it should keep the same clock rate with VOP DCLK. VPLL have supported the clock for HDMI PHY, but there is no clock divider bewteen VPLL and HDMI PHY. So we need to set the VPLL rate manually in HDMI driver. Signed-off-by: Yakir Y

[PATCH v1 6/6] drm/rockchip: dw_hdmi: introduce the pclk for grf

2016-07-11 Thread Yakir Yang
For RK3399's GRF module, if we want to operate the graphic related grf registers, we need to enable the pclk_vio_grf which supply power for VIO GRF IOs, so it's better to introduce an optional grf clock in driver. Signed-off-by: Yakir Yang --- .../bindings/display/rockchip/dw_hdmi-rockchip.txt

[PATCH v2 17/25] drm/msm/mdp5: Update compatible strings for MDSS/MDP5

2016-07-11 Thread Matthias Brugger
On 23/06/16 16:13, Archit Taneja wrote: > Introduce new compatible strings for the top level MDSS wrapper device, > and the MDP5 device. > > Previously, the "qcom,mdp5" and "qcom,mdss_mdp" compatible strings > were used to match the top level platform_device (which was also tied > to the top level

[PATCH v2 17/25] drm/msm/mdp5: Update compatible strings for MDSS/MDP5

2016-07-11 Thread Rob Clark
On Mon, Jul 11, 2016 at 4:39 AM, Matthias Brugger wrote: > On 23/06/16 16:13, Archit Taneja wrote: >> >> Introduce new compatible strings for the top level MDSS wrapper device, >> and the MDP5 device. >> >> Previously, the "qcom,mdp5" and "qcom,mdss_mdp" compatible strings >> were used to match th

[PATCH v1 4/6] drm/rockchip: dw_hdmi: add RK3399 HDMI support

2016-07-11 Thread Philipp Zabel
Am Montag, den 11.07.2016, 19:05 +0800 schrieb Yakir Yang: > RK3399 and RK3288 shared the same HDMI IP controller, only some light > difference with GRF configure. > > Signed-off-by: Yakir Yang Reviewed-by: Philipp Zabel regards Philipp

[REPOST v3 1/2] drm/panel: simple: Add support for Sharp LQ101K1LY04

2016-07-11 Thread Thierry Reding
not available URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160711/6bb6c150/attachment.sig>

[PATCH v2 1/2] dt-bindings: add Starry KR122EA0SRA panel binding

2016-07-11 Thread Thierry Reding
- 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/20160711/b5a5639f/attachment.sig>

[PATCH v7 2/2] drm/panel: Add JDI LT070ME05000 WUXGA DSI Panel

2016-07-11 Thread Thierry Reding
I don't seem to be able to find a recent version anywhere. Thierry -- next 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/20160711/cfbc15c2/attachment.sig>

[PATCH v5 2/2] drm/panel: Add JDI LT070ME05000 WUXGA DSI Panel

2016-07-11 Thread Thierry Reding
ype: application/pgp-signature Size: 819 bytes Desc: not available URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160711/3247f239/attachment.sig>

[PATCH] drm/panel: Remove the get_timings() function.

2016-07-11 Thread Thierry Reding
unnecessary churn. Thierry -- next 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/20160711/41baeca4/attachment.sig>

drm/vgem fixes and new ioctl for testing prime

2016-07-11 Thread Chris Wilson
Just a quick resend of the existing vgem patches, all 3 have been acked, but only the first 2 have reviews. The third involves both new ioctl and dma-buf/fences, so perhaps people have been reluctant... But now is a good time! These patches are exercised by intel-gpu-tools (or will be once the new

[PATCH 1/3] drm/vgem: Fix mmaping

2016-07-11 Thread Chris Wilson
The vGEM mmap code has bitrotted slightly and now immediately BUGs. Since vGEM was last updated, there are new core GEM facilities to provide more common functions, so let's use those here. v2: drm_gem_free_mmap_offset() is performed from drm_gem_object_release() so we can remove the redundant cal

[PATCH 2/3] drm/vgem: Enable dmabuf interface for export

2016-07-11 Thread Chris Wilson
Enable the standard GEM dma-buf interface provided by the DRM core, but only for exporting the VGEM object. This allows passing around the VGEM objects created from the dumb interface and using them as sources elsewhere. Creating a VGEM object for a foriegn handle is not supported. v2: With additi

[PATCH 3/3] drm/vgem: Attach sw fences to exported vGEM dma-buf (ioctl)

2016-07-11 Thread Chris Wilson
vGEM buffers are useful for passing data between software clients and hardware renders. By allowing the user to create and attach fences to the exported vGEM buffers (on the dma-buf), the user can implement a deferred renderer and queue hardware operations like flipping and then signal the buffer r

[Bug 96877] Bioshock Infinite: LLVM triggered Diagnostic Handler: Illegal instruction detected: Operand has incorrect register class.

2016-07-11 Thread bugzilla-dae...@freedesktop.org
sufficient for this bug here). -- 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/20160711/8deaacab/attachment.html>

[Bug 96885] AMDGPU Power management failure on 290X

2016-07-11 Thread bugzilla-dae...@freedesktop.org
tps://lists.freedesktop.org/archives/dri-devel/attachments/20160711/18ce74cb/attachment.html>

[PATCH v7 2/2] drm/panel: Add JDI LT070ME05000 WUXGA DSI Panel

2016-07-11 Thread Emil Velikov
On 11 July 2016 at 13:31, Vinay Simha wrote: > emil, > > As you had suggested to drop the spurious returns in > jdi_panel_unprepare and drop the return itself. > But as i had mentioned earlier , we cannot drop the return function > and void for jdi_panel_unprepare , since the drm fun* requires int

[Bug 96868] AMDGPU Tonga only does 2560x1440 at 120hz, switching to 144hz causes display errors, same thing used to happen with fglrx.

2016-07-11 Thread bugzilla-dae...@freedesktop.org
device/power_dpm_force_performance_level -- 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/20160711/1c07da9e/attachment.html>

[Bug 96868] AMDGPU Tonga only does 2560x1440 at 120hz, switching to 144hz causes display errors, same thing used to happen with fglrx.

2016-07-11 Thread bugzilla-dae...@freedesktop.org
was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160711/ca152d4d/attachment.html>

[PATCH 3/3] drm/vgem: Attach sw fences to exported vGEM dma-buf (ioctl)

2016-07-11 Thread Gustavo Padovan
2016-07-11 Chris Wilson : > vGEM buffers are useful for passing data between software clients and > hardware renders. By allowing the user to create and attach fences to > the exported vGEM buffers (on the dma-buf), the user can implement a > deferred renderer and queue hardware operations like fl

[PATCH 3/3] drm/vgem: Attach sw fences to exported vGEM dma-buf (ioctl)

2016-07-11 Thread Chris Wilson
On Mon, Jul 11, 2016 at 12:10:40PM -0300, Gustavo Padovan wrote: > 2016-07-11 Chris Wilson : > > > vGEM buffers are useful for passing data between software clients and > > hardware renders. By allowing the user to create and attach fences to > > the exported vGEM buffers (on the dma-buf), the use

[RESEND PATCH] drm/exynos: Use VIDEO_SAMSUNG_EXYNOS_GSC=n as GSC Kconfig dependency

2016-07-11 Thread Javier Martinez Canillas
Commit aeefb36832e5 ("drm/exynos: gsc: add device tree support and remove usage of static mappings") made the DRM_EXYNOS_GSC Kconfig symbol to only be selectable if the exynos-gsc V4L2 driver isn't enabled, since both use the same HW IP block. But added the dependency as depends on !VIDEO_SAMSUNG_

[Bug 96881] ViennaCL fails dense_blas-bench-opencl benchmark with doubles on AMD CYPRESS (DRM 2.43.0, LLVM 3.8.0)

2016-07-11 Thread bugzilla-dae...@freedesktop.org
gnee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160711/c40973c4/attachment.html>

[PATCH 1/3] drm: extra printk() wrapper macros

2016-07-11 Thread Dave Gordon
We had only DRM_INFO() and DRM_ERROR(), whereas the underlying printk() provides several other useful intermediate levels such as NOTICE and WARNING. So this patch fills out the set by providing both regular and once-only macros for each of the levels INFO, NOTICE, and WARNING, using a common under

[PATCH 2/3] drm/i915/guc: downgrade some DRM_ERROR() messages to DRM_WARN()

2016-07-11 Thread Dave Gordon
Where we're going to continue regardless of the problem, rather than fail, then the message should be a WARNing rather than an ERROR. Signed-off-by: Dave Gordon --- drivers/gpu/drm/i915/i915_guc_submission.c | 18 +++--- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/

[PATCH 3/3] drm/i915/guc: revisit GuC loader message levels

2016-07-11 Thread Dave Gordon
Some downgraded from DRM_ERROR() to DRM_WARN(), some eliminated, and a few upgraded from DRM_INFO() to DRM_NOTE() or DRM_WARN(). Signed-off-by: Dave Gordon --- drivers/gpu/drm/i915/intel_guc_loader.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/drive

[Bug 96868] AMDGPU Tonga only does 2560x1440 at 120hz, switching to 144hz causes display errors, same thing used to happen with fglrx.

2016-07-11 Thread bugzilla-dae...@freedesktop.org
dri-devel/attachments/20160711/e0a4c1b7/attachment.html>

[Bug 96868] AMDGPU Tonga only does 2560x1440 at 120hz, switching to 144hz causes display errors, same thing used to happen with fglrx.

2016-07-11 Thread bugzilla-dae...@freedesktop.org
the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160711/cdedb324/attachment.html>

[PATCH] dma-buf/sync_file: only enable fence signalling during wait

2016-07-11 Thread Gustavo Padovan
2016-07-10 Maarten Lankhorst : > Op 08-07-16 om 17:44 schreef Gustavo Padovan: > > From: Gustavo Padovan > > > > Signalling doesn't need to be enabled at sync_file creation, it is only > > required if userspace waiting the fence to signal through poll(). > > > > Thus we delay fence_add_callback()

[PATCH] drm: exynos: avoid unused function warning

2016-07-11 Thread Arnd Bergmann
When CONFIG_PM is not set, we get a warning about an unused function: drivers/gpu/drm/exynos/exynos_drm_gsc.c:1219:12: error: 'gsc_clk_ctrl' defined but not used [-Werror=unused-function] static int gsc_clk_ctrl(struct gsc_context *ctx, bool enable) ^~~~ This removes the two

[RFC] dma-buf: Import/export the implicit fences on the dma-buf

2016-07-11 Thread Chris Wilson
When dealing with user interfaces that utilize explicit fences, it is convenient to sometimes create those fences after the fact, i.e. to query the dma-buf for the current set of implicit fences, encapsulate those into a sync_file and hand that fd back to userspace. Correspondingly, being able to a

[PATCH] drm/i915/skl: Add support for the SAGV, fix underrun hangs

2016-07-11 Thread Lyude
Since the watermark calculations for Skylake are still broken, we're apt to hitting underruns very easily under multi-monitor configurations. While it would be lovely if this was fixed, it's not. Another problem that's been coming from this however, is the mysterious issue of underruns causing full

[PATCH] drm/vc4: remove redundant ret status check

2016-07-11 Thread Eric Anholt
this in my next pull request. -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 818 bytes Desc: not available URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160711/1ab4cd63/attachment.sig>

[PATCH v3 1/7] lib: string: add functions to case-convert strings

2016-07-11 Thread Markus Mayer
On 9 July 2016 at 08:30, Markus Mayer wrote: > On 9 July 2016 at 05:04, Luis de Bethencourt > wrote: >> On 08/07/16 23:43, Markus Mayer wrote: >>> Add a collection of generic functions to convert strings to lowercase >>> or uppercase. >>> >>> Changing the case of a string (with or without copyin

[PATCH v7 2/2] drm/panel: Add JDI LT070ME05000 WUXGA DSI Panel

2016-07-11 Thread Vinay Simha
emil, As you had suggested to drop the spurious returns in jdi_panel_unprepare and drop the return itself. But as i had mentioned earlier , we cannot drop the return function and void for jdi_panel_unprepare , since the drm fun* requires int as return type (drm_panel_funcs .unprepare). please do

[added to the 4.1 stable tree] drm: Fix for DP CTS test 4.2.2.5 - I2C DEFER handling

2016-07-11 Thread Sasha Levin
From: Todd Previte This patch has been added to the 4.1 stable tree. If you have any objections, please let us know. === [ Upstream commit 396aa4451e865d1e36d6d4e0686a9303c038b606 ] For test 4.2.2.5 to pass per the Link CTS Core 1.2 rev1.1 spec, the source device must attempt at le