Re: [drm-tip:drm-tip 15/1373] arch/frv/include/asm/pgalloc.h:48:2: error: implicit declaration of function 'pgtable_page_dtor'; did you mean 'pgdat_page_nr'?

2018-03-15 Thread Oded Gabbay
Hi, There is a missing #include at amdgpu_amdkfd.h I'll send a patch to Dave to apply to his drm-next tree to fix this. Thanks for catching this, Oded On Thu, Mar 15, 2018 at 4:50 AM, kbuild test robot wrote: > tree: git://anongit.freedesktop.org/drm/drm-tip drm-tip > head: 178cfb9373cc2bdfc

[PATCH] drm/amdkfd: add missing include of mm.h

2018-03-15 Thread Oded Gabbay
This patch fixes kernel build in ARCH=frv Signed-off-by: Oded Gabbay --- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h index d7509b706b26..ad7292fc454c 100644

Re: [PATCH] drm/amdkfd: add missing include of mm.h

2018-03-15 Thread Oded Gabbay
Hi Dave, Could you please apply this directly to drm-next ? I don't have any pending pull requests at the moment and it seems redundant to send one for just a single patch. Thanks, Oded On Thu, Mar 15, 2018 at 10:10 AM, Oded Gabbay wrote: > This patch fixes kernel build in ARCH=frv > > Signed-of

Re: [PATCH] drm/i915: drop various VLAs in i915_debugfs.c

2018-03-15 Thread Salvatore Mesoraca
2018-03-14 13:27 GMT+01:00 Joonas Lahtinen : > CHV_SS_MAX should be good enough. Make these function scoped (so #define > at the beginning and #undef at the end of function). > > Do use ARRAY_SIZE() instead of repeating. Thank you very much for your suggestions. Unfortunately, it seems that someon

[PATCH v4 2/3] drm/panel: support Innolux P097PFG panel

2018-03-15 Thread Lin Huang
Support Innolux P097PFG 9.7" 1536x2048 TFT LCD panel, it reuse the Innolux P079ZCA panel driver. Change-Id: I97923aa3735f707332681691b0231c9421b427d0 Signed-off-by: Lin Huang --- Changes in v2: - None Changes in v3: - None Changes in v4: - download panel initial code drivers/gpu/drm/panel/pane

[PATCH v4 3/3] dt-bindings: Add INNOLUX P097PFG panel bindings

2018-03-15 Thread Lin Huang
From: huang lin The Innolux P097PFG panel is 9.7" panel with 1536X2048 resolution, it reuse P079ZCA panel driver, so improve p079ZCA dt-binding to support P097PFG. Change-Id: I8704914898fe53b734d31fbe646df8aa5fd8b30d Signed-off-by: Lin Huang --- Changes in v2: - None Changes in v3: - None Chang

Re: [PATCH] drm/i915: drop various VLAs in i915_debugfs.c

2018-03-15 Thread Salvatore Mesoraca
2018-03-14 13:17 GMT+01:00 Jani Nikula : > Thanks for your patch. However, Chris beat you to it with: > > 7aa0b14ede64 ("drm/i915: Remove variable length arrays from sseu debugfs > printers") I didn't notice it :) > as well as adding -Wvla to our subdir-ccflags-y to prevent more from > cropping u

[PATCH] drm/i915/pmu: Work around compiler warnings on some kernel configs

2018-03-15 Thread Tvrtko Ursulin
From: Tvrtko Ursulin Arnd Bergman reports: """ The conditional spinlock confuses gcc into thinking the 'flags' value might contain uninitialized data: drivers/gpu/drm/i915/i915_pmu.c: In function '__i915_pmu_event_read': arch/x86/include/asm/paravirt_types.h:573:3: error: 'flags' may be used un

fbcon non-desktop display use

2018-03-15 Thread Charles Lohr
There was a patch submitted by Keith Packard which prevents fbcon from using non-desktop displays, but this breaks vive, and other HMD development/use on embedded and other fbdev systems ( https://patchwork.kernel.org/patch/10053989/ ). Even if the vive is the only device connected, it will still

[PATCH v1 2/3] drm/tegra: plane: Correct legacy blending

2018-03-15 Thread Dmitry Osipenko
Keep old 'dependent' state of unaffected planes, this way new state takes into account current state of unaffected planes. Fixes: ebae8d07435a ("drm/tegra: dc: Implement legacy blending") Signed-off-by: Dmitry Osipenko --- drivers/gpu/drm/tegra/plane.c | 15 ++- 1 file changed, 6 ins

[PATCH v1 3/3] drm/tegra: dc: Dedicate overlay plane to cursor on older Tegra's

2018-03-15 Thread Dmitry Osipenko
Older Tegra's do not support RGBA format for the cursor, but instead overlay plane could be used for it. Since there is no much use for the overlays on a regular desktop and HW-accelerated cursor is much better than a SW cursor, let's dedicate one overlay plane to the mouse cursor. Signed-off-by:

[PATCH v4 1/3] drm/panel: refactor INNOLUX P079ZCA panel driver

2018-03-15 Thread Lin Huang
From: huang lin Refactor Innolux P079ZCA panel driver, let it support multi panel. Change-Id: If89be5e56dba8cb498e2d50c1bbeb0e8016123a2 Signed-off-by: Lin Huang --- Changes in v2: - Change regulator property name to meet the panel datasheet Changes in v3: - this patch only refactor P079ZCA pan

Re: [PATCH v4 1/3] drm/panel: refactor INNOLUX P079ZCA panel driver

2018-03-15 Thread hl
Hi Emil, On Wednesday, March 14, 2018 08:02 PM, Emil Velikov wrote: Hi Lin, On 14 March 2018 at 09:12, Lin Huang wrote: From: huang lin Refactor Innolux P079ZCA panel driver, let it support multi panel. Change-Id: If89be5e56dba8cb498e2d50c1bbeb0e8016123a2 Signed-off-by: Lin Huang --- Cha

[PATCH v1 1/3] drm/tegra: plane: Fix RGB565 plane format on older Tegra's

2018-03-15 Thread Dmitry Osipenko
Simplify opaque format adjustment by removing format checking. There are only 4 formats that require the adjustment and so this way is less error prone, avoiding mishandling native formats, like in this case RGB565 is the format that was erroneously treated as invalid. Fixes: ebae8d07435a ("drm/te

[Bug 199123] New: kernel 4.16rc5 doesnt boot on ryzen 5 2400g due to an amdgpu change

2018-03-15 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199123 Bug ID: 199123 Summary: kernel 4.16rc5 doesnt boot on ryzen 5 2400g due to an amdgpu change Product: Drivers Version: 2.5 Kernel Version: 4.16rc5 Hardware: All

[Bug 199123] kernel 4.16rc5 doesnt boot on ryzen 5 2400g due to an amdgpu change

2018-03-15 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199123 david becerra (davidbecerrapor...@gmail.com) changed: What|Removed |Added CC||airl...@lin

[Bug 199123] kernel 4.16rc5 doesnt boot on ryzen 5 2400g due to an amdgpu change

2018-03-15 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199123 --- Comment #1 from david becerra (davidbecerrapor...@gmail.com) --- also for if it mathers my motherboard is asus b350m-e bios 3803 -- You are receiving this mail because: You are watching the assignee of the bug. __

Re: [PATCH] drm/bridge: dw-hdmi: Remove unused hdmi_enable_overflow_interrupts()

2018-03-15 Thread Andrzej Hajda
On 14.03.2018 16:25, Fabio Estevam wrote: > Hi Laurent, > > On Mon, Feb 19, 2018 at 4:50 PM, Laurent Pinchart > wrote: >> Hi Fabio, >> >> Thank you for the patch. >> >> On Friday, 16 February 2018 22:16:10 EET Fabio Estevam wrote: >>> From: Fabio Estevam >>> >>> The cable_plugin member never rece

[PATCH] drm/imx: move arming of the vblank event to atomic_flush

2018-03-15 Thread Lucas Stach
Right now the vblank event completion is racing with the atomic update, which is especially bad when the PRE is in use, as one of the hardware issue workaround might extend the atomic commit for quite some time. If the vblank IRQ happens to trigger during that time, we will prematurely signal the

Re: [PATCH 1/4] dma-buf: add optional invalidate_mappings callback

2018-03-15 Thread Daniel Vetter
On Tue, Mar 13, 2018 at 06:20:07PM +0100, Christian König wrote: > Am 13.03.2018 um 17:00 schrieb Daniel Vetter: > > On Tue, Mar 13, 2018 at 04:52:02PM +0100, Christian König wrote: > > > Am 13.03.2018 um 16:17 schrieb Daniel Vetter: > > > [SNIP] > > Ok, so plan is to support fully pipeline moves a

[Bug 198123] Console is the wrong color at boot with radeon 6670

2018-03-15 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=198123 --- Comment #38 from Deposite Pirate (dpir...@metalpunks.info) --- That's what I think as well. -- You are receiving this mail because: You are watching the assignee of the bug. ___ dri-devel mailing l

[Bug 199123] kernel 4.16rc5 doesnt boot on ryzen 5 2400g due to an amdgpu change

2018-03-15 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199123 --- Comment #2 from Michel Dänzer (mic...@daenzer.net) --- Can you bisect? -- You are receiving this mail because: You are watching the assignee of the bug. ___ dri-devel mailing list dri-devel@lists.f

Re: fbcon non-desktop display use

2018-03-15 Thread Daniel Vetter
On Thu, Mar 15, 2018 at 4:32 AM, Charles Lohr wrote: > There was a patch submitted by Keith Packard which prevents fbcon from using > non-desktop displays, but this breaks vive, and other HMD development/use on > embedded and other fbdev systems ( > https://patchwork.kernel.org/patch/10053989/ ).

[Bug 199123] kernel 4.16rc5 doesnt boot on ryzen 5 2400g due to an amdgpu change

2018-03-15 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199123 --- Comment #3 from david becerra (davidbecerrapor...@gmail.com) --- (In reply to Michel Dänzer from comment #2) > Can you bisect? i cant do the process, but im 99% sure the bad commit is: https://github.com/torvalds/linux/commit/65307f2e05100be3

Re: [PATCH 00/16] remove eight obsolete architectures

2018-03-15 Thread David Howells
Do we have anything left that still implements NOMMU? David ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [PATCH v3 2/3] drm: bridge: Add thc63lvd1024 LVDS decoder driver

2018-03-15 Thread Andrzej Hajda
On 14.03.2018 11:09, jacopo mondi wrote: > Hi Andrzej, > thanks for review > > On Wed, Mar 14, 2018 at 09:42:36AM +0100, Andrzej Hajda wrote: >> On 13.03.2018 15:30, Jacopo Mondi wrote: >>> Add DRM bridge driver for Thine THC63LVD1024 LVDS to digital parallel >>> output decoder. >> IMO converte

Re: [PATCH 00/16] remove eight obsolete architectures

2018-03-15 Thread Geert Uytterhoeven
Hi David, On Thu, Mar 15, 2018 at 10:42 AM, David Howells wrote: > Do we have anything left that still implements NOMMU? Sure: arm, c6x, m68k, microblaze, and sh. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.o

Re: [PATCH 1/4] dma-buf: add optional invalidate_mappings callback

2018-03-15 Thread Christian König
Am 15.03.2018 um 10:20 schrieb Daniel Vetter: On Tue, Mar 13, 2018 at 06:20:07PM +0100, Christian König wrote: [SNIP] Take a look at the DOT graphs for atomic I've done a while ago. I think we could make a formidable competition for who's doing the worst diagrams :-) Thanks, going to give that

Re: [PATCH 00/16] remove eight obsolete architectures

2018-03-15 Thread Arnd Bergmann
On Thu, Mar 15, 2018 at 10:42 AM, David Howells wrote: > Do we have anything left that still implements NOMMU? Yes, plenty. I was wondering the same thing, but it seems that the architectures we remove are almost completely representative of what we support overall, except that they are all not l

Re: [PATCH v1 1/3] drm/tegra: plane: Fix RGB565 plane format on older Tegra's

2018-03-15 Thread Thierry Reding
On Thu, Mar 15, 2018 at 04:00:23AM +0300, Dmitry Osipenko wrote: > Simplify opaque format adjustment by removing format checking. There are > only 4 formats that require the adjustment and so this way is less error > prone, avoiding mishandling native formats, like in this case RGB565 is > the form

Re: [PATCH v1 2/3] drm/tegra: plane: Correct legacy blending

2018-03-15 Thread Thierry Reding
On Thu, Mar 15, 2018 at 04:00:24AM +0300, Dmitry Osipenko wrote: > Keep old 'dependent' state of unaffected planes, this way new state takes > into account current state of unaffected planes. > > Fixes: ebae8d07435a ("drm/tegra: dc: Implement legacy blending") > Signed-off-by: Dmitry Osipenko > -

Re: [PATCH] kthread: finer-grained lockdep/cross-release completion

2018-03-15 Thread Daniel Vetter
On Wed, Dec 20, 2017 at 2:14 AM, Byungchul Park wrote: > On 12/19/2017 6:59 PM, Daniel Vetter wrote: >> >> On Mon, Dec 18, 2017 at 09:42:13AM -0800, Linus Torvalds wrote: >>> >>> On Sun, Dec 17, 2017 at 11:11 PM, Daniel Vetter wrote: This didn't seem to have made it into -rc4. Anyt

Re: [PATCH 00/16] remove eight obsolete architectures

2018-03-15 Thread Arnd Bergmann
On Thu, Mar 15, 2018 at 10:59 AM, Hannes Reinecke wrote: > On 03/15/2018 10:42 AM, David Howells wrote: >> Do we have anything left that still implements NOMMU? >> > RISC-V ? > (evil grin :-) Is anyone producing a chip that includes enough of the Privileged ISA spec to have things like system cal

Re: [PATCH v1 3/3] drm/tegra: dc: Dedicate overlay plane to cursor on older Tegra's

2018-03-15 Thread Thierry Reding
On Thu, Mar 15, 2018 at 04:00:25AM +0300, Dmitry Osipenko wrote: > Older Tegra's do not support RGBA format for the cursor, but instead > overlay plane could be used for it. Since there is no much use for the > overlays on a regular desktop and HW-accelerated cursor is much better > than a SW curso

Re: [PATCH v3 2/3] drm: bridge: Add thc63lvd1024 LVDS decoder driver

2018-03-15 Thread jacopo mondi
HI Andrezej, On Thu, Mar 15, 2018 at 10:44:42AM +0100, Andrzej Hajda wrote: > On 14.03.2018 11:09, jacopo mondi wrote: > > Hi Andrzej, > > thanks for review > > > > On Wed, Mar 14, 2018 at 09:42:36AM +0100, Andrzej Hajda wrote: > >> On 13.03.2018 15:30, Jacopo Mondi wrote: > >>> Add DRM bridge

Re: [PATCH 1/4] dma-buf: add optional invalidate_mappings callback

2018-03-15 Thread Daniel Vetter
On Thu, Mar 15, 2018 at 10:56 AM, Christian König wrote: > Am 15.03.2018 um 10:20 schrieb Daniel Vetter: >> >> On Tue, Mar 13, 2018 at 06:20:07PM +0100, Christian König wrote: >> [SNIP] >> Take a look at the DOT graphs for atomic I've done a while ago. I think we >> could make a formidable competi

Re: [PATCH v5 1/6] dt-bindings: add bindings for USB physical connector

2018-03-15 Thread Andrzej Hajda
On 12.03.2018 11:41, Roger Quadros wrote: > Andrezej, > > Why don't you have any of the USB maintainers in to/cc? > > Greg Kroah-Hartman (supporter:USB SUBSYSTEM) > Felipe Balbi (maintainer:USB GADGET/PERIPHERAL SUBSYSTEM) Serious omission, sorry for that. > > On 12/03/18 09:02, Andrzej Hajda w

Re: [PATCH v5 1/6] dt-bindings: add bindings for USB physical connector

2018-03-15 Thread Robin Murphy
On 12/03/18 10:41, Roger Quadros wrote: [...] @@ -0,0 +1,75 @@ +USB Connector += + +USB connector node represents physical USB connector. It should be +a child of USB interface controller. + +Required properties: +- compatible: describes type of the connector, must be one of: +"us

[PATCH 3/8] drm/sun4i: Add support for A80 TCONs

2018-03-15 Thread Chen-Yu Tsai
The Allwinner A80 SoC has 2 documented TCONs. The display pipeline diagram from the user manual shows a third TCON, but it's missing an interrupt line, and its registers are not explained either. It's also not used in Allwinner's vendor BSP. The first TCON only has channel 0, for LCD panel output.

[PATCH 6/8] ARM: dts: sun9i: Add device nodes for documented display pipelines for A80

2018-03-15 Thread Chen-Yu Tsai
The Allwinner A80 SoC has 3 display pipelines, of which some parts are documented: - 3x display front ends (FE), documented - 2x display enhancement units (DEU), undocumented - 3x display back ends (BE), documented - 2x dynamic range controller (DRC), undocumented - 2x LCDC/TCONs, docume

[PATCH 4/8] drm/sun4i: Add compatible strings for the A80 display pipeline

2018-03-15 Thread Chen-Yu Tsai
This patch adds compatible strings for the remaining documented components of the Allwinner A80 display pipeline. Signed-off-by: Chen-Yu Tsai --- Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Documentation/d

[PATCH 8/8] ARM: dts: sun9i: cubieboard4: Enable VGA display output

2018-03-15 Thread Chen-Yu Tsai
The Cubieboard4 has a dumb VGA DAC connected to the output of LCD0, providing VGA output through the onboard VGA connector. The DDC lines are connected to i2c3. The VGA DAC is a GM7123, which is compatible with Analog Devices' ADV7123, except it only takes 3.3V power, and has a lower standby power

[PATCH 5/8] drm/sun4i: Add driver support for A80 display pipeline

2018-03-15 Thread Chen-Yu Tsai
This patch adds support for the compatible strings of the A80 display pipeline. Signed-off-by: Chen-Yu Tsai --- drivers/gpu/drm/sun4i/sun4i_backend.c | 7 +++ drivers/gpu/drm/sun4i/sun4i_drv.c | 12 ++-- drivers/gpu/drm/sun4i/sun6i_drc.c | 1 + 3 files changed, 18 insertion

[PATCH 1/8] drm/sun4i: Add compatible strings for A80 TCONs

2018-03-15 Thread Chen-Yu Tsai
The A80 has 2 or 3 TCONs. The documentation and vendor kernel are very vague about the third TCON, to the point that it might not exist. In the documentation, the first TCON is missing channel 1, and the second is missing channel 0. However the vendor kernel seems to be able to use them regardless

[PATCH 2/8] drm/sun4i: Add DT binding for Detail Enhancement Unit in Allwinner A80 SoC

2018-03-15 Thread Chen-Yu Tsai
The display pipeline on the A80 SoC has what is called the Detail Enhancement Unit, or DEU for short, block in between the display frontend and backend. This unit can sharpen images in both luma and chroma channels. It seems to also do colorspace conversion. This patch adds the device tree binding

[PATCH 0/8] ARM: sun9i: a80: Add display support

2018-03-15 Thread Chen-Yu Tsai
Hi everyone, This series adds basic support for the display pipelines found on the Allwinner A80 SoC. Currently only parallel RGB output via TCON0 is supported. TCON1 drives the HDMI encoder, which I've not been able to get working yet. Patch 1 adds device tree bindings for the TCONs on the A80.

[PATCH 7/8] ARM: dts: sun9i: Add pinmux settings for LCD0 RGB888 output.

2018-03-15 Thread Chen-Yu Tsai
The A80 supports RGB888 with H/V sync from LCD0. Add a pinmux setting for the needed pins. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun9i-a80.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/sun9i-a80.dtsi b/arch/arm/boot/dts/sun9i-a80.dtsi index 6

Re: [PATCH] kthread: finer-grained lockdep/cross-release completion

2018-03-15 Thread Peter Zijlstra
On Thu, Mar 15, 2018 at 11:31:57AM +0100, Daniel Vetter wrote: > Is there any progress on getting cross-release enabled again? Not yet, I'm still fighting the meltdown/spectre induced backlog. We'll get to it eventually. ___ dri-devel mailing list dri-d

[Bug 105515] hw_init of IP block failed

2018-03-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105515 --- Comment #3 from Alex Deucher --- Please attach your full dmesg output. -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mailing list dri-devel@lists.freedesk

Re: [PATCH] drm/amdkfd: add missing include of mm.h

2018-03-15 Thread Alex Deucher
On Thu, Mar 15, 2018 at 4:10 AM, Oded Gabbay wrote: > This patch fixes kernel build in ARCH=frv > > Signed-off-by: Oded Gabbay Acked-by: Alex Deucher > --- > drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_a

Re: [PATCH 1/2] drm/sun4i: backend: Check that we only have a single YUV plane

2018-03-15 Thread Chen-Yu Tsai
On Fri, Mar 2, 2018 at 3:18 AM, Maxime Ripard wrote: > Just like for the frontend, a single plane can use a YUV format. Make sure > we have that constraint covered in our atomic_check. It might be worth mentioning that this is a precursor patch for YUV support. > Signed-off-by: Maxime Ripard >

Re: [PATCH v4 1/3] dt-bindings: display: bridge: Document THC63LVD1024 LVDS decoder

2018-03-15 Thread Andrzej Hajda
On 15.03.2018 11:56, Jacopo Mondi wrote: > Document Thine THC63LVD1024 LVDS decoder device tree bindings. > > Signed-off-by: Jacopo Mondi > --- > .../bindings/display/bridge/thine,thc63lvd1024.txt | 63 > ++ > 1 file changed, 63 insertions(+) > create mode 100644 > Document

Re: [PATCH] drm: Reduce object size of DRM_ERROR and DRM_DEBUG uses

2018-03-15 Thread Maarten Lankhorst
Op 13-03-18 om 23:02 schreef Joe Perches: > drm_printk is used for both DRM_ERROR and DRM_DEBUG with unnecessary > arguments that can be removed by creating separate functins. > > Create specific functions for these calls to reduce x86/64 defconfig > size by ~20k. > > Modify the existing macros to

Re: [PATCH] drm: Reduce object size of DRM_ERROR and DRM_DEBUG uses

2018-03-15 Thread Ville Syrjälä
On Tue, Mar 13, 2018 at 03:02:15PM -0700, Joe Perches wrote: > drm_printk is used for both DRM_ERROR and DRM_DEBUG with unnecessary > arguments that can be removed by creating separate functins. > > Create specific functions for these calls to reduce x86/64 defconfig > size by ~20k. > > Modify th

Re: [PATCH 16/47] video/logo: remove obsolete logo files

2018-03-15 Thread Bartlomiej Zolnierkiewicz
On Wednesday, March 14, 2018 04:35:29 PM Arnd Bergmann wrote: > The blackfin and m32r architectures are getting removed, so it's > time to clean up the logos as well. > > Signed-off-by: Arnd Bergmann Acked-by: Bartlomiej Zolnierkiewicz Best regards, -- Bartlomiej Zolnierkiewicz Samsung R&D Ins

Re: [PATCH v4 2/3] drm: bridge: Add thc63lvd1024 LVDS decoder driver

2018-03-15 Thread Andrzej Hajda
On 15.03.2018 11:56, Jacopo Mondi wrote: > Add DRM bridge driver for Thine THC63LVD1024 LVDS to digital parallel > output converter. > > Signed-off-by: Jacopo Mondi > --- > drivers/gpu/drm/bridge/Kconfig| 6 + > drivers/gpu/drm/bridge/Makefile | 1 + > drivers/gpu/drm/bridge/thc

Re: [PATCH 17/47] fbdev: remove blackfin drivers

2018-03-15 Thread Bartlomiej Zolnierkiewicz
On Wednesday, March 14, 2018 04:35:30 PM Arnd Bergmann wrote: > The blackfin architecture is getting removed, this removes the > associated fbdev drivers as well. > > Signed-off-by: Arnd Bergmann Acked-by: Bartlomiej Zolnierkiewicz Best regards, -- Bartlomiej Zolnierkiewicz Samsung R&D Institu

Re: [PATCH v4 3/3] arm64: dts: renesas: Add LVDS decoder to R-Car V3M Eagle

2018-03-15 Thread Andrzej Hajda
On 15.03.2018 11:56, Jacopo Mondi wrote: > The R-Car V3M Eagle board includes a transparent THC63LVD1024 LVDS > decoder, connected to the on-chip LVDS encoder output on one side > and to HDMI encoder ADV7511w on the other one. > > As the decoder does not need any configuration it has been so-far >

Re: [PATCH 18/47] fbdev: s1d13xxxfb: remove m32r specific hacks

2018-03-15 Thread Bartlomiej Zolnierkiewicz
On Wednesday, March 14, 2018 04:35:31 PM Arnd Bergmann wrote: > The m32r architecture is being removed, so this is no longer needed. > > Signed-off-by: Arnd Bergmann Acked-by: Bartlomiej Zolnierkiewicz Best regards, -- Bartlomiej Zolnierkiewicz Samsung R&D Institute Poland Samsung Electronics

Re: [maintainer-tools PATCH] doc: how to become a drm-intel committer

2018-03-15 Thread Daniel Vetter
On Wed, Mar 14, 2018 at 05:11:02PM +0200, Jani Nikula wrote: > Until now, the drm-intel commit access have been handed out ad hoc, > without transparency, consistency, or fairness. With pressure to add > more committers, this is no longer tenable, if it ever was. Document the > requirements and exp

Re: [PATCH 2/2] drm/sun4i: backend: Support YUV planes

2018-03-15 Thread Chen-Yu Tsai
On Fri, Mar 2, 2018 at 3:18 AM, Maxime Ripard wrote: > Now that we have the guarantee that we will have only a single YUV plane, > actually support them. The way it works is not really straightforward, > since we first need to enable the YUV mode in the plane that we want to > setup, and then we h

Re: [PATCH] drm: Reduce object size of DRM_ERROR and DRM_DEBUG uses

2018-03-15 Thread Maarten Lankhorst
Op 15-03-18 om 14:30 schreef Ville Syrjälä: > On Tue, Mar 13, 2018 at 03:02:15PM -0700, Joe Perches wrote: >> drm_printk is used for both DRM_ERROR and DRM_DEBUG with unnecessary >> arguments that can be removed by creating separate functins. >> >> Create specific functions for these calls to reduc

Re: [PATCH 00/16] remove eight obsolete architectures

2018-03-15 Thread Christoph Hellwig
On Thu, Mar 15, 2018 at 11:42:25AM +0100, Arnd Bergmann wrote: > Is anyone producing a chip that includes enough of the Privileged ISA spec > to have things like system calls, but not the MMU parts? Various SiFive SOCs seem to support M and U mode, but no S mode or iommu. That should be enough fo

[Bug 199123] kernel 4.16rc5 doesnt boot on ryzen 5 2400g due to an amdgpu change

2018-03-15 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199123 Alex Deucher (alexdeuc...@gmail.com) changed: What|Removed |Added CC||alexdeuc...@gmail.c

Re: [DPU PATCH] drm/msm: Add pm_runtime_get/put calls to dpu

2018-03-15 Thread skolluku
On 2018-03-14 20:37, Sean Paul wrote: Ensure that pm_runtime is properly referenced/unreferenced when we need it. Signed-off-by: Sean Paul --- Didn't get a response to my suggestion, so wrote the patch anyways. Thoughts? This patch looks fine for now. The plan is to deprecate the downstream

Re: [PATCH] drm: Reduce object size of DRM_ERROR and DRM_DEBUG uses

2018-03-15 Thread Joe Perches
On Thu, 2018-03-15 at 14:22 +0100, Maarten Lankhorst wrote: > Op 13-03-18 om 23:02 schreef Joe Perches: > > drm_printk is used for both DRM_ERROR and DRM_DEBUG with unnecessary > > arguments that can be removed by creating separate functins. > > > > Create specific functions for these calls to red

Re: [DPU PATCH] drm/msm: Add pm_runtime_get/put calls to dpu

2018-03-15 Thread skolluku
On 2018-03-15 20:12, skoll...@codeaurora.org wrote: On 2018-03-14 20:37, Sean Paul wrote: Ensure that pm_runtime is properly referenced/unreferenced when we need it. Signed-off-by: Sean Paul Reviewed-by: Sravanthi Kollukuduru --- Didn't get a response to my suggestion, so wrote the patch

[Bug 199123] kernel 4.16rc5 doesnt boot on ryzen 5 2400g due to an amdgpu change

2018-03-15 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199123 --- Comment #5 from Harry Wentland (harry.wentl...@amd.com) --- Created attachment 274755 --> https://bugzilla.kernel.org/attachment.cgi?id=274755&action=edit [PATCH] drm/amd/display: Refine disable VGA The patch Alex posted might not be enough

Re: [PATCH] drm: Reduce object size of DRM_ERROR and DRM_DEBUG uses

2018-03-15 Thread Ville Syrjälä
On Thu, Mar 15, 2018 at 03:04:52PM +0100, Maarten Lankhorst wrote: > Op 15-03-18 om 14:30 schreef Ville Syrjälä: > > On Tue, Mar 13, 2018 at 03:02:15PM -0700, Joe Perches wrote: > >> drm_printk is used for both DRM_ERROR and DRM_DEBUG with unnecessary > >> arguments that can be removed by creating

[Bug 103277] [bisected] Systems hangs on resume from S3 sleep due to "Match actual state during S3 resume" commit

2018-03-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=103277 mikita.lip...@amd.com changed: What|Removed |Added Status|NEW |NEEDINFO --- Comment #19 from m

Re: [PATCH] drm: Reduce object size of DRM_ERROR and DRM_DEBUG uses

2018-03-15 Thread Joe Perches
On Thu, 2018-03-15 at 17:05 +0200, Ville Syrjälä wrote: > On Thu, Mar 15, 2018 at 03:04:52PM +0100, Maarten Lankhorst wrote: > > Op 15-03-18 om 14:30 schreef Ville Syrjälä: > > > On Tue, Mar 13, 2018 at 03:02:15PM -0700, Joe Perches wrote: > > > > drm_printk is used for both DRM_ERROR and DRM_DEBUG

[PATCH v2 3/6] drm: Verify gamma/degamma LUT size

2018-03-15 Thread Ville Syrjala
From: Ville Syrjälä While we want to potentially support multiple different gamma/degamma LUT sizes we can (and should) at least check that the blob length is a multiple of the LUT entry size. v2: s/expected_size_mod/expected_elem_size/ (Daniel) Add kernel doc (Daniel) Cc: Daniel Vetter Si

[PATCH v2 4/6] drm: Introduce drm_color_lut_size()

2018-03-15 Thread Ville Syrjala
From: Ville Syrjälä Provide a small helper to convert the blob length in bytes to the number of LUT entries. v2: Add kerneldoc (Daniel) Cc: Daniel Vetter Signed-off-by: Ville Syrjälä Reviewed-by: Daniel Vetter --- include/drm/drm_color_mgmt.h | 12 1 file changed, 12 insertions

Re: [maintainer-tools PATCH] doc: how to become a drm-intel committer

2018-03-15 Thread Jani Nikula
On Thu, 15 Mar 2018, Daniel Vetter wrote: > On Wed, Mar 14, 2018 at 05:11:02PM +0200, Jani Nikula wrote: >> Until now, the drm-intel commit access have been handed out ad hoc, >> without transparency, consistency, or fairness. With pressure to add >> more committers, this is no longer tenable, if

[PATCH] [RFC] drm: rcar-du: keep temporary dtb files around during build

2018-03-15 Thread Arnd Bergmann
The *.dtb and *.dtb.S files get removed by 'make' during the build process, and later seem to be missed during the 'modpost' stage: rm drivers/gpu/drm/rcar-du/rcar_du_of_lvds_r8a7795.dtb drivers/gpu/drm/rcar-du/rcar_du_of_lvds_r8a7791.dtb drivers/gpu/drm/rcar-du/rcar_du_of_lvds_r8a7791.dtb.S dr

Re: [PATCH] drm: Reduce object size of DRM_ERROR and DRM_DEBUG uses

2018-03-15 Thread Ville Syrjälä
On Thu, Mar 15, 2018 at 08:17:53AM -0700, Joe Perches wrote: > On Thu, 2018-03-15 at 17:05 +0200, Ville Syrjälä wrote: > > On Thu, Mar 15, 2018 at 03:04:52PM +0100, Maarten Lankhorst wrote: > > > Op 15-03-18 om 14:30 schreef Ville Syrjälä: > > > > On Tue, Mar 13, 2018 at 03:02:15PM -0700, Joe Perch

Re: [PATCH] drm: Reduce object size of DRM_ERROR and DRM_DEBUG uses

2018-03-15 Thread Joe Perches
On Thu, 2018-03-15 at 17:37 +0200, Ville Syrjälä wrote: > On Thu, Mar 15, 2018 at 08:17:53AM -0700, Joe Perches wrote: > > On Thu, 2018-03-15 at 17:05 +0200, Ville Syrjälä wrote: > > > On Thu, Mar 15, 2018 at 03:04:52PM +0100, Maarten Lankhorst wrote: > > > > Op 15-03-18 om 14:30 schreef Ville Syrj

Re: [PATCH v4 2/3] drm: bridge: Add thc63lvd1024 LVDS decoder driver

2018-03-15 Thread jacopo mondi
Hi Andrzej, thanks for your patience in reviewing this series On Thu, Mar 15, 2018 at 02:37:00PM +0100, Andrzej Hajda wrote: > On 15.03.2018 11:56, Jacopo Mondi wrote: > > Add DRM bridge driver for Thine THC63LVD1024 LVDS to digital parallel > > output converter. > > > > Signed-off-by: Jacopo

Re: [PATCH v2] drm/tegra: plane: Keep 'dependent' blending state of unaffected planes

2018-03-15 Thread Thierry Reding
On Thu, Mar 15, 2018 at 05:24:31PM +0300, Dmitry Osipenko wrote: > This way new state takes into account the current state of unaffected > (by the atomic commit) planes. > > Signed-off-by: Dmitry Osipenko > --- > > v2: Dropped unrelated 'cleanup' changes and fixed > s/state->dependent[i]/sta

Re: [PATCH] drm: Reduce object size of DRM_ERROR and DRM_DEBUG uses

2018-03-15 Thread Ville Syrjälä
On Thu, Mar 15, 2018 at 08:44:05AM -0700, Joe Perches wrote: > On Thu, 2018-03-15 at 17:37 +0200, Ville Syrjälä wrote: > > On Thu, Mar 15, 2018 at 08:17:53AM -0700, Joe Perches wrote: > > > On Thu, 2018-03-15 at 17:05 +0200, Ville Syrjälä wrote: > > > > On Thu, Mar 15, 2018 at 03:04:52PM +0100, Maa

[PATCH] [v3] gpu: ipu-v3: prg: avoid possible array underflow

2018-03-15 Thread Arnd Bergmann
gcc-8 reports that we access an array with a negative index in an error case: drivers/gpu/ipu-v3/ipu-prg.c: In function 'ipu_prg_channel_disable': drivers/gpu/ipu-v3/ipu-prg.c:252:43: error: array subscript -22 is below array bounds of 'struct ipu_prg_channel[3]' [-Werror=array-bounds] This move

Re: [PATCH v1 1/3] drm/tegra: plane: Fix RGB565 plane format on older Tegra's

2018-03-15 Thread Dmitry Osipenko
On 15.03.2018 13:27, Thierry Reding wrote: > On Thu, Mar 15, 2018 at 04:00:23AM +0300, Dmitry Osipenko wrote: >> Simplify opaque format adjustment by removing format checking. There are >> only 4 formats that require the adjustment and so this way is less error >> prone, avoiding mishandling native

Re: [PATCH v1 2/3] drm/tegra: plane: Correct legacy blending

2018-03-15 Thread Dmitry Osipenko
On 15.03.2018 13:29, Thierry Reding wrote: > On Thu, Mar 15, 2018 at 04:00:24AM +0300, Dmitry Osipenko wrote: >> Keep old 'dependent' state of unaffected planes, this way new state takes >> into account current state of unaffected planes. >> >> Fixes: ebae8d07435a ("drm/tegra: dc: Implement legacy

[PATCH v5 3/3] arm64: dts: renesas: Add LVDS decoder to R-Car V3M Eagle

2018-03-15 Thread Jacopo Mondi
The R-Car V3M Eagle board includes a transparent THC63LVD1024 LVDS decoder, connected to the on-chip LVDS encoder output on one side and to HDMI encoder ADV7511w on the other one. As the decoder does not need any configuration it has been so-far omitted from DTS. Now that a driver is available, de

[PATCH v4 2/3] drm: bridge: Add thc63lvd1024 LVDS decoder driver

2018-03-15 Thread Jacopo Mondi
Add DRM bridge driver for Thine THC63LVD1024 LVDS to digital parallel output converter. Signed-off-by: Jacopo Mondi --- drivers/gpu/drm/bridge/Kconfig| 6 + drivers/gpu/drm/bridge/Makefile | 1 + drivers/gpu/drm/bridge/thc63lvd1024.c | 255 ++ 3

[PATCH v5 0/3] drm: Add Thine THC63LVD1024 LVDS decoder bridge

2018-03-15 Thread Jacopo Mondi
Hi, v5 with a few small changes compared to v4 and with Andrzej tag added to all patches in the series. I fixed punctuation in the bindings and added a statement to clarify the chip does not expose any control bus but it is instead configured by input signals. Minor changes in the driver, with

Re: [PATCH v1 2/3] drm/tegra: plane: Correct legacy blending

2018-03-15 Thread Dmitry Osipenko
On 15.03.2018 15:42, Dmitry Osipenko wrote: > On 15.03.2018 13:29, Thierry Reding wrote: >> On Thu, Mar 15, 2018 at 04:00:24AM +0300, Dmitry Osipenko wrote: >>> Keep old 'dependent' state of unaffected planes, this way new state takes >>> into account current state of unaffected planes. >>> >>> Fix

[PATCH v4 1/3] dt-bindings: display: bridge: Document THC63LVD1024 LVDS decoder

2018-03-15 Thread Jacopo Mondi
Document Thine THC63LVD1024 LVDS decoder device tree bindings. Signed-off-by: Jacopo Mondi --- .../bindings/display/bridge/thine,thc63lvd1024.txt | 63 ++ 1 file changed, 63 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/bridge/thine,thc63lvd1024

Re: [PATCH v1 2/3] drm/tegra: plane: Correct legacy blending

2018-03-15 Thread Dmitry Osipenko
On 15.03.2018 15:42, Dmitry Osipenko wrote: > On 15.03.2018 13:29, Thierry Reding wrote: >> On Thu, Mar 15, 2018 at 04:00:24AM +0300, Dmitry Osipenko wrote: >>> Keep old 'dependent' state of unaffected planes, this way new state takes >>> into account current state of unaffected planes. >>> >>> Fix

Re: [PATCH 11/16] treewide: simplify Kconfig dependencies for removed archs

2018-03-15 Thread Kalle Valo
Arnd Bergmann writes: > A lot of Kconfig symbols have architecture specific dependencies. > In those cases that depend on architectures we have already removed, > they can be omitted. > > Signed-off-by: Arnd Bergmann [...] > drivers/net/wireless/cisco/Kconfig | 2 +- Acked-by: Kalle Valo

[PATCH v5 1/3] dt-bindings: display: bridge: Document THC63LVD1024 LVDS decoder

2018-03-15 Thread Jacopo Mondi
Document Thine THC63LVD1024 LVDS decoder device tree bindings. Signed-off-by: Jacopo Mondi Reviewed-by: Andrzej Hajda --- .../bindings/display/bridge/thine,thc63lvd1024.txt | 66 ++ 1 file changed, 66 insertions(+) create mode 100644 Documentation/devicetree/bindings/displ

[PATCH v5 2/3] drm: bridge: Add thc63lvd1024 LVDS decoder driver

2018-03-15 Thread Jacopo Mondi
Add DRM bridge driver for Thine THC63LVD1024 LVDS to digital parallel output converter. Signed-off-by: Jacopo Mondi Reviewed-by: Andrzej Hajda --- drivers/gpu/drm/bridge/Kconfig| 6 + drivers/gpu/drm/bridge/Makefile | 1 + drivers/gpu/drm/bridge/thc63lvd1024.c | 257 ++

[PATCH v4 0/3] drm: Add Thine THC63LVD1024 LVDS decoder bridge

2018-03-15 Thread Jacopo Mondi
Hello, this new version fixes comments received from Andrzej and Sergei on the preceding v3. Mostly, I cleaned up the mess with the powerdown GPIO names, and I'm now using pdwn everywhere. The regulator enabling routine has been improved as suggested by Sergei and Andrzej and I've changed Kconf

RE: [Intel-gfx] [PATCH 1/1] intel: align reuse buffer's size on page size instead

2018-03-15 Thread Xiong, James
Thanks for the review, Chris. Sorry for the late response. >-Original Message- >From: dri-devel [mailto:dri-devel-boun...@lists.freedesktop.org] On Behalf Of >Chris Wilson >Sent: Saturday, March 3, 2018 1:46 AM >To: Xiong, James ; dri-devel@lists.freedesktop.org; >intel-...@lists.freedes

[PATCH v2] drm/tegra: plane: Keep 'dependent' blending state of unaffected planes

2018-03-15 Thread Dmitry Osipenko
This way new state takes into account the current state of unaffected (by the atomic commit) planes. Signed-off-by: Dmitry Osipenko --- v2: Dropped unrelated 'cleanup' changes and fixed s/state->dependent[i]/state->dependent[index]/ typo. drivers/gpu/drm/tegra/plane.c | 5 ++--- 1 file cha

Re: [PATCH v1 1/3] drm/tegra: plane: Fix RGB565 plane format on older Tegra's

2018-03-15 Thread Dmitry Osipenko
On 15.03.2018 15:48, Dmitry Osipenko wrote: > On 15.03.2018 13:27, Thierry Reding wrote: >> On Thu, Mar 15, 2018 at 04:00:23AM +0300, Dmitry Osipenko wrote: >>> Simplify opaque format adjustment by removing format checking. There are >>> only 4 formats that require the adjustment and so this way is

Re: [PATCH 00/16] remove eight obsolete architectures

2018-03-15 Thread Hannes Reinecke
On 03/15/2018 10:42 AM, David Howells wrote: > Do we have anything left that still implements NOMMU? > RISC-V ? (evil grin :-) Cheers, Hannes -- Dr. Hannes ReineckeTeamlead Storage & Networking h...@suse.de +49 911 74053 688 SUSE LINUX GmbH, Max

[PATCH v4 3/3] arm64: dts: renesas: Add LVDS decoder to R-Car V3M Eagle

2018-03-15 Thread Jacopo Mondi
The R-Car V3M Eagle board includes a transparent THC63LVD1024 LVDS decoder, connected to the on-chip LVDS encoder output on one side and to HDMI encoder ADV7511w on the other one. As the decoder does not need any configuration it has been so-far omitted from DTS. Now that a driver is available, de

Re: [PATCH] drm: Reduce object size of DRM_ERROR and DRM_DEBUG uses

2018-03-15 Thread Joe Perches
On Thu, 2018-03-15 at 18:14 +0200, Ville Syrjälä wrote: > > There's no trade-off in this patch for faster/larger. > > This patch is simply smaller. Smaller is better. > > This feels a bit like saying pink is better than red because it's > more pink. Silly. If you can't say smaller total object

Re: [PATCH libdrm] tests/exynos: remove dead condition

2018-03-15 Thread Eric Engestrom
On Wednesday, 2018-03-14 14:48:37 +0900, Seung-Woo Kim wrote: > There is already condition checking input values between 2 and 4096 > so condition checking 0 is always false. Remove the dead condition. > > Signed-off-by: Seung-Woo Kim Indeed, good catch :) Reviewed-by: Eric Engestrom ... and p

  1   2   >