[PATCH 5/5 v3] drm/pl111: Support multiple endpoints on the CLCD

2018-02-06 Thread Linus Walleij
The Versatile PL110 implementations use multiple endpoints: from the PL111 port, the lines are routed through a PLD, and from there forked so the same lines go to a VGA DAC and an external TFT panel connector. This is discrete wireing so there is no way to turn of one output, i.e. this is really

[PATCH 4/5 v3] drm/pl111: Support variants with broken VBLANK

2018-02-06 Thread Linus Walleij
The early Integrator CLCD synthesized in the Integrator CP and IM-PD1 FPGAs are broken: their vertical and next base interrupts are not functional. Support these variants by simply disabling the use of the vblank interrupt on these variants. Reviewed-by: Eric Anholt

[PATCH 3/5 v3] drm/pl111: Support variants with broken clock divider

2018-02-06 Thread Linus Walleij
The early Integrator CLCD synthesized in the Integrator CP and IM-PD1 FPGAs are broken: their clock dividers do not work properly. Support disabling the clock divider and drive the clock directly from the parent under these circumstances. Reviewed-by: Eric Anholt Signed-off-by:

[PATCH 2/5 v3] drm/pl111: Handle the Versatile RGB/BGR565 mode

2018-02-06 Thread Linus Walleij
The ARM Versatile series can do RGB/BGR565 with an external "PLD" (Programmable Logical Device). However the CLCD does not have control bits for this, so it needs to be set into the ordinary 16BPP mode, then the RGB/BGR565 handling of the pixel data is handled by configuring the PLD through the

[PATCH 1/5 v3] drm/pl111: Properly detect the ARM PL110 variants

2018-02-06 Thread Linus Walleij
With a bit of refactoring we can contain the variant data for the strange PL110 versions that is feature-incomplete PL110 for the ARM Integrator/CP and somewhere inbetween PL110 and PL111 for the ARM Versatile AB and Versatile PB. We also accomodate for the custom duct-taped RGB565/BGR565 support

Re: [PATCH v3 1/7] drm/panel: simple: add support for Ampire AM-800480AYTZQW-00H

2018-02-06 Thread Philipp Zabel
Hi Jagan, On Sun, 2018-02-04 at 23:19 +0530, Jagan Teki wrote: > This adds support for the Ampire AM-800480AYTZQW-00H 7.0" WGA LCD, > which can be supported by the simple panel driver. > > Signed-off-by: Jagan Teki > Reviewed-by: Rob Herring > --- >

Re: [PATCH v1 2/2] drm/stm: ltdc: remove non-alpha color formats on layer 2 for older hw

2018-02-06 Thread Yannick FERTRE
Reviewed-by: Yannick Fertré On 02/01/2018 11:42 AM, Philippe Cornu wrote: > Hw older versions support non-alpha color formats derived > from native alpha color formats only on the primary layer. > For instance, RG16 native format without alpha works fine > on 2nd layer

Re: [PATCH v1 1/2] drm/stm: ltdc: add non-alpha color formats

2018-02-06 Thread Yannick FERTRE
Reviewed-by: Yannick Fertré On 02/01/2018 11:42 AM, Philippe Cornu wrote: > ltdc supports natively some color formats with alpha (like > ARGB, ARGB1555, ARGB...). Related non-alpha formats are > supported too (ARGB->XRGB, ARGB->XRGB...) by >

Re: [PATCH v1 2/2] drm/panel: otm8009a: Add support for the optional power-supply

2018-02-06 Thread Yannick FERTRE
Reviewed-by: Yannick Fertré On 02/05/2018 10:45 AM, Philippe Cornu wrote: > Add support for the optional power-supply. > > Note: A "dummy regulator" is returned by devm_regulator_get() > if the optional regulator is not present in the device tree, > simplifying the source

[PATCH 5/5] drm/ttm: add input parameter allow_allo_anyway for ttm_bo_evict_mm

2018-02-06 Thread Roger He
if true for it, allocate TTM pages regardless of zone global memory account limit. that is for another special case: suspend. doesn't care the zone global memory account limit for this case. Signed-off-by: Roger He --- drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | 2 +-

[PATCH 4/5] drm/ttm: add bit flag TTM_OPT_FLAG_ALLOW_ALLOC_ANYWAY

2018-02-06 Thread Roger He
set TTM_OPT_FLAG_ALLOW_ALLOC_ANYWAY when we are servicing for page fault routine. for ttm_mem_global_reserve if in page fault routine, allow the gtt pages reservation always. because page fault routing already grabbed system memory and the allowance of this exception is harmless. Otherwise, it

[PATCH 3/5] drm/ttm: use bit flag to replace allow_reserved_eviction in ttm_operation_ctx

2018-02-06 Thread Roger He
for saving memory and more bit flag can be used in future Signed-off-by: Roger He --- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 4 ++-- drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 4 ++-- drivers/gpu/drm/ttm/ttm_bo.c | 3 ++- include/drm/ttm/ttm_bo_api.h

[PATCH 2/5] drm/ttm: keep original behavior except with flag no_retry

2018-02-06 Thread Roger He
set the no_retry flag in struct ttm_mem_global and init it after ttm_mem_global_init Signed-off-by: Roger He --- drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 8 +--- drivers/gpu/drm/ttm/ttm_memory.c| 3 +++ include/drm/ttm/ttm_memory.h| 3 +++ 3 files

Re: [PATCH v1 1/2] dt-bindings/display/panel: otm8009a: Add optional power-supply property

2018-02-06 Thread Yannick FERTRE
Reviewed-by: Yannick Fertré On 02/05/2018 10:45 AM, Philippe Cornu wrote: > Some boards use a dedicated voltage regulator for this panel. > Add & document this related optional power-supply property. > > Signed-off-by: Philippe Cornu > --- >

[PATCH 1/5] drm/ttm: check if the free swap space is under limit 256MB

2018-02-06 Thread Roger He
for avoid OOM. if free swap space is less than 256MB, reject the TTM page allocation. Otherwise, swap space will be full of swapped pages and then system memory will be filled up with ttm pages. and then any memory allocation request will trigger OOM. to cover two cases: a. If total swap space >

[PATCH 0/5] prevent OOM triggered by TTM

2018-02-06 Thread Roger He
currently ttm code has no any allocation limit. So it allows pages allocatation unlimited until OOM. Because if swap space is full of swapped pages and then system memory will be filled up with ttm pages. and then any memory allocation request will trigger OOM. the following patches is for

[PATCH v2 0/3] backlight: document sysfs interfaces

2018-02-06 Thread Aishwarya Pant
Patchset contains documentation of the sysfs interfaces for the following five backlight drivers- 1) lm3639 2) adp5520 3) adp8860 It was compiled from data sheets, reading code and git history logs. In v2 of the patches, documentation for lp8788 and lp855x devices was dropped as the attributes

[PATCH 2/4] drm/exynos: fix comparison to bitshift when dealing with a mask

2018-02-06 Thread Wolfram Sang
Due to a typo, the mask was destroyed by a comparison instead of a bit shift. Signed-off-by: Wolfram Sang --- Only build tested. To be applied individually per subsystem. drivers/gpu/drm/exynos/regs-fimc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH 0/4] tree-wide: fix comparison to bitshift when dealing with a mask

2018-02-06 Thread Wolfram Sang
In one Renesas driver, I found a typo which turned an intended bit shift ('<<') into a comparison ('<'). Because this is a subtle issue, I looked tree wide for similar patterns. This small patch series is the outcome. Buildbot and checkpatch are happy. Only compile-tested. To be applied

Re: [PATCH] video: fbdev: convert to use GPIO descriptors

2018-02-06 Thread Nicolas Ferre
On 05/02/2018 at 09:23, Ludovic Desroches wrote: > Use GPIO descriptors instead of relying on the old method. > > Signed-off-by: Ludovic Desroches Acked-by: Nicolas Ferre Thanks! > --- > drivers/video/fbdev/atmel_lcdfb.c | 30

Re: [RESEND][PATCH] video: fbdev: atmel_lcdfb: convert to use GPIO descriptors

2018-02-06 Thread Nicolas Ferre
On 05/02/2018 at 09:47, Ludovic Desroches wrote: > Use GPIO descriptors instead of relying on the old method. > > Signed-off-by: Ludovic Desroches Acked-by: Nicolas Ferre On this resent patch as well ;-) > --- >

[PATCH v3 03/20] kconfig: Remove leftover references to AVR32 symbol

2018-02-06 Thread Ulf Magnusson
The AVR32 symbol was removed in commit 26202873bb51 ("avr32: remove support for AVR32 architecture"). Remove the remaining references to it from the Kconfig files. Signed-off-by: Ulf Magnusson --- Changes in v3: Removal of the AVR32 dependency in PWM_ATMEL is already

[PATCH v2 1/3] backlight: lm3639: document sysfs attributes

2018-02-06 Thread Aishwarya Pant
Add documentation for sysfs interfaces of Texas Instruments lm3639 backlight + flash led driver chip by looking through git commits and reading code. Signed-off-by: Aishwarya Pant Acked-by: Daniel Thompson --- Changes in v2: - Update contact

Re: [2/9] phy: add Rockchip Innosilicon hdmi phy

2018-02-06 Thread Martin Cerveny
Hello. On Mon, 5 Feb 2018, Heiko Stuebner wrote: From: Zheng Yang Add a driver for the Innosilicon hdmi phy used on rk3228/rk3229 and rk3328 socs from Rockchip. Signed-off-by: Zheng Yang Signed-off-by: Heiko Stuebner ---

Re: [PATCH v3 0/7] ARM: dts: imx6q: engicam LVDS panel changes

2018-02-06 Thread Jagan Teki
On Mon, Feb 5, 2018 at 4:28 PM, Shawn Guo wrote: > On Sun, Feb 04, 2018 at 11:19:24PM +0530, Jagan Teki wrote: >> Series adda LVDS panel attributes on panel drivers instead of defining >> them in dts nodes, and also added new icorem6 engicam boards. >> >> Jagan Teki (7): >>

Re: clang warning: implicit conversion in intel_ddi.c:1481

2018-02-06 Thread Ruben Safir
> > We are interested who is we? ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel

[PATCH v2 2/3] backlight: adp5520: document sysfs attributes

2018-02-06 Thread Aishwarya Pant
Add documentation for sysfs interface of adp5520/adp5501 analog devices backlight driver by reading code and looking through git commit logs. Signed-off-by: Aishwarya Pant Acked-by: Michael Hennerich ---

[PATCH v2 3/3] backlight: adp8860: document sysfs attributes

2018-02-06 Thread Aishwarya Pant
Add documentation for sysfs interface of adp8860 series backlight devices by reading through code and git commits. Signed-off-by: Aishwarya Pant Acked-by: Michael Hennerich --- .../ABI/testing/sysfs-class-backlight-adp8860 | 54

[PATCH v2] drm/bridge/synopsys: dsi: Add 1.31 version support

2018-02-06 Thread Philippe Cornu
Add support for the Synopsys DesignWare MIPI DSI version 1.31 Two registers need to be updated/added for supporting 1.31: * PHY_TMR_CFG 0x9c (updated) 1.30 [31:24] phy_hs2lp_time [23:16] phy_lp2hs_time [14: 0] max_rd_time 1.31 [25:16] phy_hs2lp_time [ 9: 0] phy_lp2hs_time

Re: [PATCH 0/4] tree-wide: fix comparison to bitshift when dealing with a mask

2018-02-06 Thread Geert Uytterhoeven
Hi Wolfram, On Mon, Feb 5, 2018 at 9:09 PM, Wolfram Sang wrote: > In one Renesas driver, I found a typo which turned an intended bit shift > ('<<') > into a comparison ('<'). Because this is a subtle issue, I looked tree wide > for > similar patterns. This

[Bug 99353] Kaveri 7400K shows random colored noise instead of GUI in X or Wayland

2018-02-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99353 --- Comment #23 from Bong Cosca --- Created attachment 137183 --> https://bugs.freedesktop.org/attachment.cgi?id=137183=edit Video BIOS Attached video BIOS may also prove useful in isolating this bug in the graphics

[Bug 102389] Random black screen on RX 470, HDMI 4k-60Hz

2018-02-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102389 --- Comment #9 from jeremi.jasin...@gmail.com --- I still have this problem, on linux 4.15 on KDE Neon with dc enabled. So I bought DP to HDMI active converter, which supports 4k 60hz. While using this converter and the same HDMI cable,

[Bug 99353] Kaveri 7400K shows random colored noise instead of GUI in X or Wayland

2018-02-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99353 Bong Cosca changed: What|Removed |Added QA Contact|dri-devel@lists.freedesktop |

<    1   2