Re: [PATCH] MAINTAINERS: make omapfb orphan

2018-06-08 Thread Bartlomiej Zolnierkiewicz
On Monday, May 07, 2018 03:15:22 PM Tomi Valkeinen wrote: > omapfb is not maintained by me anymore, so drop my name from the > maintainers, and mark omapfb as orphan. > > At some point in the future we should mark omapfb as obsolete, but there > are still some features supported by omapfb which

[Bug 105880] [dc] No support for LVDS or VGA connectors (Cannot find any crtc or sizes)

2018-06-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105880 --- Comment #22 from Przemek --- Just to supplement the list above. Netbook Lenovo g50-45, a6-6310 R4 Beema/Mullins. Has HDMI and VGA output. HDMI is working without a hitch, while VGA output is dead.(eDP plus only one extra monitor

Re: [PATCH v2] gpu: drm: ttm: Adding new return type vm_fault_t

2018-06-08 Thread Souptick Joarder
On Sat, Jun 2, 2018 at 12:57 AM, Souptick Joarder wrote: > Use new return type vm_fault_t for fault handler. For > now, this is just documenting that the function returns > a VM_FAULT value rather than an errno. Once all instances > are converted, vm_fault_t will become a distinct type. > > Ref->

Re: Kernel and ADM hardware roulette ( was AMD graphics performance regression in 4.15 and later )

2018-06-08 Thread Gabriel C
2018-06-07 9:07 GMT+02:00 Christian König : > Am 06.06.2018 um 17:44 schrieb Gabriel C: >> >> 2018-06-06 17:03 GMT+02:00 Michel Dänzer : >>> >>> On 2018-06-06 04:44 PM, Christian König wrote: Am 06.06.2018 um 16:12 schrieb Michel Dänzer: [SNIP] At least in theory it should work

Re: Problem with VIV_FE_DRAW_2D_HEADER_DATA_COUNT

2018-06-08 Thread Julien Boulnois
Hi Lucas, Here you can find the test I used (actually pretty the same as your) : https://github.com/julbouln/test_omap5_drm/blob/master/test_viv2d.c#L472 And my fix that make it works : https://github.com/julbouln/etnaviv_x15/blob/master/etnaviv_cmd_parser.c#L182 (sorry it is kernel 4.9) As a

Re: [PATCH v2 7/9] xen/gntdev: Implement dma-buf export functionality

2018-06-08 Thread Boris Ostrovsky
On 06/07/2018 04:44 AM, Oleksandr Andrushchenko wrote: > On 06/07/2018 12:48 AM, Boris Ostrovsky wrote: >> On 06/06/2018 08:10 AM, Oleksandr Andrushchenko wrote: >>> On 06/05/2018 01:07 AM, Boris Ostrovsky wrote: On 06/01/2018 07:41 AM, Oleksandr Andrushchenko wrote: >> + +static

Re: [linux-sunxi] Re: [PATCH 06/15] drm/sun4i: tcon: Add support for tcon-top

2018-06-08 Thread Jernej Škrabec
Dne četrtek, 07. junij 2018 ob 00:30:24 CEST je Jernej Škrabec napisal(a): > Dne ponedeljek, 04. junij 2018 ob 18:23:57 CEST je Maxime Ripard napisal(a): > > On Mon, Jun 04, 2018 at 05:09:56PM +0200, Jernej Škrabec wrote: > > > Dne ponedeljek, 04. junij 2018 ob 13:50:34 CEST je Maxime Ripard > >

[PATCH v2 1/4] drm/panel: simple: Add support for Rocktech RK070ER9427 LCD panel

2018-06-08 Thread Jagan Teki
This adds support for the Rocktech Display Ltd. RK070ER9427 800(RGB)x480 TFT LCD panel, which can be supported by the simple panel driver. Signed-off-by: Jagan Teki Reviewed-by: Rob Herring --- Changes for v2: - collect Rob r-w-b tag .../display/panel/rocktech,rk070er9427.txt | 25

Re: Kernel and ADM hardware roulette ( was AMD graphics performance regression in 4.15 and later )

2018-06-08 Thread Gabriel C
>> Well that is very interesting, you are the first one who reports that SME + >> GFX works in some way. So far we only got negative reports for that. >> >>> There is a 4.16.13 boot dmesg which has no such issue: >>> >>> >>>

Re: [PATCH v4 9/9] drm/mediatek: Add support for mediatek SOC MT2712

2018-06-08 Thread Stu Hsieh
Hi, CK: On Mon, 2018-05-28 at 15:53 +0800, CK Hu wrote: > Hi, Stu: > > Two inline comment. > > On Mon, 2018-05-28 at 14:38 +0800, Stu Hsieh wrote: > > This patch add support for the Mediatek MT2712 DISP subsystem. > > There are two OVL engine and three disp output in MT2712. > > > >

Re: [PATCH 3/3] ANDROID: goldfish_fb: Set pixclock = 0

2018-06-08 Thread Bartlomiej Zolnierkiewicz
[ + linux-fbdev ML ] On Thursday, May 31, 2018 03:02:52 PM r...@google.com wrote: > From: Christoffer Dall > > User space Android code identifies pixclock == 0 as a sign for emulation > and will set the frame rate to 60 fps when reading this value, which is > the desired outcome. > >

Re: [PATCH 2/3] goldfish: Enable ACPI-based enumeration for goldfish framebuffer

2018-06-08 Thread Bartlomiej Zolnierkiewicz
[ + linux-fbdev ML ] Hi, On Thursday, May 31, 2018 03:02:51 PM r...@google.com wrote: > From: Yu Ning > > Follow the same way in which ACPI was enabled for goldfish battery. See > commit d3be10e for details. No commit d3be10e in upstream and -next kernels? > Note that this patch also

[PATCH 22/23] drm/omap: Store CRTC timings in .set_timings() operation

2018-06-08 Thread Laurent Pinchart
The video timings are stored in the CRTC structure by the omap_crtc_dss_set_timings() function, called by dss_mgr_set_timings() from the .enable() operation of the internal encoders. This instead belongs to the .set_timings() code paths. Move the omap_crtc_dss_set_timings() calls accordingly.

[PATCH 16/23] drm/omap: Call dispc timings check operation directly

2018-06-08 Thread Laurent Pinchart
Instead of call the dispc timings check function dispc_mgr_timings_ok() from the internal encoders .check_timings() operation, expose it through the dispc ops (after renaming it to check_timings) and call it directly from omapdrm. This allows removal of now empty omap_dss_device .check_timings()

[PATCH 14/23] drm/omap: Move bus flag hack to encoder implementation

2018-06-08 Thread Laurent Pinchart
The bus flags stored in omap_dss_device instances are used to fixup the video mode before setting it, to honour constraints that can't be expressed through drm_display_mode. The fixup occurs in the CRTC mode set operation and the resulting video mode is stored internally in the CRTC. It is then

[PATCH 11/23] drm/omap: Query timing information from analog TV encoder

2018-06-08 Thread Laurent Pinchart
Timings for the TV output are currently reported by the analog TV connector. This has the disadvantage of having to handle timing-related operations in a connector omap_dss_device that has, at the hardware level, no knowledge of any timing information. Implement the .get_timings() operation in

[PATCH 13/23] drm/omap: panels: Don't modify fixed timings

2018-06-08 Thread Laurent Pinchart
Panels drivers store their timings in a device data structure field that is initialized at probe time, either from hardcoded values or from firmware-supplied values. Those timings are then reported through the .get_timings() operation to construct the panel display mode. The panel timings are

[PATCH 20/23] drm/omap: sdi: Fixup video mode in .check_timings() operation

2018-06-08 Thread Laurent Pinchart
The SDI encoder modifies the pixel clock of the requested video mode to take the limitations of the PLL into account in the .enable() operation. This should be performed in the .check_timings() operation instead. Move the fixup. Signed-off-by: Laurent Pinchart ---

[PATCH 17/23] drm/omap: dpi: Don't fixup video mode in dpi_set_mode()

2018-06-08 Thread Laurent Pinchart
The video mode is aleady fixed up by the .check_timings() operation, there's no need to repeat that when enabling the DPI output. Signed-off-by: Laurent Pinchart --- drivers/gpu/drm/omapdrm/dss/dpi.c | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git

[PATCH 21/23] drm/omap: venc: Fixup video mode in .check_timings() operation

2018-06-08 Thread Laurent Pinchart
The VENC encoder modifies the requested video mode to match the NTSC or PAL timings (or reject the video mode completely) in the .set_timings() operation. This should be performed in the .check_timings() operation instead. Move the fixup. Signed-off-by: Laurent Pinchart ---

[PATCH 15/23] drm/omap: Split mode fixup and mode set from encoder enable

2018-06-08 Thread Laurent Pinchart
The encoder enable operation currently performs mode fixup and mode setting for all omap_dss_device instances in the display pipeline. There are dedicated encoder operations for those operations (respectively .atomic_check() and .mode_set()), but they are not used for this purpose. Move the mode

[PATCH 19/23] drm/omap: hdmi: Constify video mode and related pointers

2018-06-08 Thread Laurent Pinchart
Constify many pointers to struct videomode, as well as pointers to container structures, to ensure the video mode isn't modified after the .check_timings() operation. Signed-off-by: Laurent Pinchart --- drivers/gpu/drm/omapdrm/dss/hdmi.h | 8 drivers/gpu/drm/omapdrm/dss/hdmi4.c

[PATCH 18/23] drm/omap: dsi: Fixup video mode in .set_config() operation

2018-06-08 Thread Laurent Pinchart
The DSI encoder modifies the passed videomode to take the requirements of the internal DISPC-DSI bus into account in the .enable_video_output() operation. This should be performed in the .check_timings() operation instead. There is however no .check_timings() operation as the DSI encoder uses a

[Bug 199619] screen stays dark for long on bootup since kernel 4.17.0-rc2+

2018-06-08 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199619 --- Comment #5 from Elmar Stellnberger (estel...@elstel.org) --- The issue persists with kernel 4.17.0+. -- You are receiving this mail because: You are watching the assignee of the bug. ___ dri-devel

Re: [PATCH] video/omap: add module license tags

2018-06-08 Thread Bartlomiej Zolnierkiewicz
On Monday, May 28, 2018 05:46:19 PM Arnd Bergmann wrote: > I got a bunch of warnings in a randconfig build: > > WARNING: modpost: missing MODULE_LICENSE() in > drivers/video/fbdev/omap/lcd_ams_delta.o > WARNING: modpost: missing MODULE_LICENSE() in > drivers/video/fbdev/omap/lcd_inn1510.o >

[PATCH 10/23] drm/omap: Don't call .check_timings() operation recursively

2018-06-08 Thread Laurent Pinchart
The .check_timings() operation is called recursively from the display device back to the output device. Most components just forward the operation to the previous component in the chain, resulting in lots of duplicated pass-through functions. To avoid that, iterate over the components manually.

[PATCH 12/23] drm/omap: Remove .get_timings() operation from display connectors

2018-06-08 Thread Laurent Pinchart
The analog TV, DVI and HDMI connectors all report timing information through the .get_timings() information. For analog TV outputs the information is queried from the encoder, so the operation is unused. Remove it. For HDMI outputs the display pipeline provides EDID capability, so the operation

[PATCH 00/23] omapdrm: Rework the timing-related operations

2018-06-08 Thread Laurent Pinchart
Hello, This patch series reworks all the timing-related operations (.get_timings(), .set_timings() and .check_timings()) as a step toward moving from omap_dss_device to drm_bridge. All timing-related operations are called by the omapdrm driver on the omap_dss_device at the end of display

[PATCH 04/23] drm/omap: Make the video_mode pointer to .set_timings() const

2018-06-08 Thread Laurent Pinchart
The .set_timings() operations of the omap_dss_device instances don't need to modify the passed timings. Make the pointer const. Signed-off-by: Laurent Pinchart --- drivers/gpu/drm/omapdrm/displays/connector-analog-tv.c | 2 +- drivers/gpu/drm/omapdrm/displays/connector-dvi.c| 2

[PATCH 03/23] drm/omap: dss: hdmi: Rename hdmi_display_(set|check)_timing() functions

2018-06-08 Thread Laurent Pinchart
The two functions implement the .set_timings() and .check_timings() operations. Rename them to hdmi_disply_set_timings() and hdmi_display_check_timings() respectively to match the operations names and make searching the source code easier. Signed-off-by: Laurent Pinchart ---

[PATCH 06/23] drm/omap: Remove unneeded fallback for missing .check_timings()

2018-06-08 Thread Laurent Pinchart
The .check_timings() operation is present in all panels and connectors. The fallback that uses .get_timings() in the absence of .check_timings() is thus unneeded. While it could be argued that the fallback implements a useful check that should be extended to cover all fixed-resolution panels, the

[PATCH 02/23] drm/omap: Determine connector type directly in omap_connector.c

2018-06-08 Thread Laurent Pinchart
Instead of determining the connector type from the type of the display's omap_dss_device and passing it to the omap_connector_init() function, move the type determination code to omap_connector.c and remove the type argument to the connector init function. This moves code to a more natural

[PATCH 07/23] drm/omap: Don't store video mode internally for external encoders

2018-06-08 Thread Laurent Pinchart
The omap_dss_device .set_timings() operation for external encoders stores the video mode in the device data structure. That mode is then never used again. Drop it. Signed-off-by: Laurent Pinchart --- drivers/gpu/drm/omapdrm/displays/encoder-opa362.c| 5 -

[PATCH 09/23] drm/omap: Store bus flags in the omap_dss_device structure

2018-06-08 Thread Laurent Pinchart
Source components in the display pipeline need to configure their output signals polarities and clock driving edge based on the requirements of the sink component. Those requirements are currently shared across the whole pipeline in the flags of a videomode structure, instead of being local to

[PATCH 01/23] drm/omap: Pass both output and display omap_dss_device to connector init

2018-06-08 Thread Laurent Pinchart
The drm_connector implementation requires access to the omap_dss_device corresponding to the display, which is passed to its initialization function and stored internally. Refactoring of the timings operations will require access to the output omap_dss_device. To prepare for that, pass it to the

[PATCH 08/23] drm: Add display info bus flags to specify sync signals clock edges

2018-06-08 Thread Laurent Pinchart
The drm_display_info structure contains bus flags that specify on which pixel clock edge the data are driven and sampled. Add a set of flags to specify the pixel clock edge for sync signals, as they can be driven and sampled on the opposite clock edge of the data signals. Signed-off-by: Laurent

[PATCH 05/23] drm/omap: Remove duplicate calls to .set_timings() operation

2018-06-08 Thread Laurent Pinchart
The omap_dss_device .set_timings() operations are called directly from omap_encoder_update(), and indirectly from the omap_dss_device .enable() operation. The latter is called from omap_encoder_enable(), right after calling omap_encoder_update(). The .set_timings() operation it thus called twice

Re: [PATCH] fb_omap: add gpiolib dependency

2018-06-08 Thread Bartlomiej Zolnierkiewicz
On Wednesday, May 30, 2018 11:49:22 PM Arnd Bergmann wrote: > Building the omap sub-drivers when CONFIG_GPIOLIB is disabled causes > lots of build failures, either from using gpiolib interfaces, or from > including the wrong headers: > > drivers/video/fbdev/omap2/omapfb/displays/encoder-opa362.c:

[PATCH 23/23] drm/omap: Don't call .set_timings() operation recursively

2018-06-08 Thread Laurent Pinchart
Instead of calling the .set_timings() operation recursively from the display device backwards, iterate over the devices manually in the DRM encoder code. This moves the complexity to a single central location and simplifies the logic in omap_dss_device drivers. Signed-off-by: Laurent Pinchart

Re: [PATCH 3/3] drm/v3d: Add a note about locking of v3d_fence_create().

2018-06-08 Thread Eric Anholt
Lucas Stach writes: > Am Dienstag, den 05.06.2018, 12:03 -0700 schrieb Eric Anholt: >> This isn't the first time I've had to argue to myself why the '++' was >> safe. > > And now you need to do the same thing with me... > >> Signed-off-by: Eric Anholt >> --- >>  drivers/gpu/drm/v3d/v3d_fence.c

Re: [PATCH v2] gpu: drm: omapdrm: Adding new typedef vm_fault_t

2018-06-08 Thread Souptick Joarder
On Fri, Jun 1, 2018 at 11:11 AM, Souptick Joarder wrote: > On Tue, May 22, 2018 at 11:43 PM, Souptick Joarder > wrote: >> Use new return type vm_fault_t for fault handler. For >> now, this is just documenting that the function returns >> a VM_FAULT value rather than an errno. Once all instances

[PATCH v2 6/9] xen/gntdev: Add initial support for dma-buf UAPI

2018-06-08 Thread Boris Ostrovsky
On 06/07/2018 03:17 AM, Oleksandr Andrushchenko wrote: > On 06/07/2018 12:32 AM, Boris Ostrovsky wrote: >> On 06/06/2018 05:06 AM, Oleksandr Andrushchenko wrote: >>> On 06/04/2018 11:49 PM, Boris Ostrovsky wrote: > diff --git a/drivers/xen/gntdev.c b/drivers/xen/gntdev.c > index

Re: [Xen-devel] [PATCH v2 5/9] xen/gntdev: Allow mappings for DMA buffers

2018-06-08 Thread Boris Ostrovsky
(Stefano, question for you at the end) On 06/07/2018 02:39 AM, Oleksandr Andrushchenko wrote: > On 06/07/2018 12:19 AM, Boris Ostrovsky wrote: >> On 06/06/2018 04:14 AM, Oleksandr Andrushchenko wrote: >>> On 06/04/2018 11:12 PM, Boris Ostrovsky wrote: On 06/01/2018 07:41 AM, Oleksandr

[Bug 199979] New: amdgpu: changing pwm1_enable from 1 to 2 does not resume automatic fan control

2018-06-08 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199979 Bug ID: 199979 Summary: amdgpu: changing pwm1_enable from 1 to 2 does not resume automatic fan control Product: Drivers Version: 2.5 Kernel Version: 4.17.0 Hardware:

[Bug 73931] rmmod radeon and kernel crash

2018-06-08 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=73931 Mateusz Lenik (m...@mlen.pl) changed: What|Removed |Added CC||m...@mlen.pl --- Comment

[Bug 199959] amdgpu, regression?: system freezes after resume

2018-06-08 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199959 --- Comment #8 from Christian König (christian.koe...@amd.com) --- Mhm, I've tried the same ASIC (Polaris 10 8gb) in an AMD Threadripper and here it is working quite fine with suspend/resume. So the only explanation I have is that this is some

Re: [PATCH v2] gpu: drm: omapdrm: Adding new typedef vm_fault_t

2018-06-08 Thread Tomi Valkeinen
Hi, On 22/05/18 21:13, Souptick Joarder wrote: > Use new return type vm_fault_t for fault handler. For > now, this is just documenting that the function returns > a VM_FAULT value rather than an errno. Once all instances > are converted, vm_fault_t will become a distinct type. > > Ref-> commit

Re: Kernel and ADM hardware roulette ( was AMD graphics performance regression in 4.15 and later )

2018-06-08 Thread Christian König
Hi Christoph, Am 08.06.2018 um 08:01 schrieb Christoph Hellwig: On Thu, Jun 07, 2018 at 07:20:37PM +0200, Christian König wrote: Hi Christopher, I don't see a Christopher on the Cc list.. Sorry, auto-uncorrection. I indeed meant you :) Christian.

[Bug 106856] amdgpu kernel warning playing vdpau videos

2018-06-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106856 jorg...@cirsa.com changed: What|Removed |Added Resolution|WONTFIX |FIXED --- Comment #2 from

Re: [PATCH 3/3] drm/v3d: Add a note about locking of v3d_fence_create().

2018-06-08 Thread Lucas Stach
Am Dienstag, den 05.06.2018, 12:03 -0700 schrieb Eric Anholt: > This isn't the first time I've had to argue to myself why the '++' was > safe. And now you need to do the same thing with me... > Signed-off-by: Eric Anholt > --- >  drivers/gpu/drm/v3d/v3d_fence.c | 3 +++ >  1 file changed, 3

Re: [PATCH v2 7/9] xen/gntdev: Implement dma-buf export functionality

2018-06-08 Thread Oleksandr Andrushchenko
On 06/08/2018 01:30 AM, Boris Ostrovsky wrote: On 06/07/2018 04:44 AM, Oleksandr Andrushchenko wrote: On 06/07/2018 12:48 AM, Boris Ostrovsky wrote: On 06/06/2018 08:10 AM, Oleksandr Andrushchenko wrote: On 06/05/2018 01:07 AM, Boris Ostrovsky wrote: On 06/01/2018 07:41 AM, Oleksandr

Re: [RFC v2 2/2] dt-bindings: mipi-dsi: Add dual-channel DSI related info

2018-06-08 Thread Andrzej Hajda
On 08.06.2018 00:50, Heiko Stuebner wrote: > Am Donnerstag, 7. Juni 2018, 23:10:20 CEST schrieb Brian Norris: >> Hi, >> >> I only have a little bit to add, but Heiko did solicit my opinion. > yep ... and I realized that I am/was way to attached to my (working) > endpoint-based thingy to really

[Bug 106856] amdgpu kernel warning playing vdpau videos

2018-06-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106856 Christian König changed: What|Removed |Added Resolution|--- |WONTFIX Status|NEW

Re: [Xen-devel] [PATCH v2 5/9] xen/gntdev: Allow mappings for DMA buffers

2018-06-08 Thread Oleksandr Andrushchenko
On 06/08/2018 12:46 AM, Boris Ostrovsky wrote: (Stefano, question for you at the end) On 06/07/2018 02:39 AM, Oleksandr Andrushchenko wrote: On 06/07/2018 12:19 AM, Boris Ostrovsky wrote: On 06/06/2018 04:14 AM, Oleksandr Andrushchenko wrote: On 06/04/2018 11:12 PM, Boris Ostrovsky wrote:

[PATCH v2] drm/bridge/sii8620: simplify hardware reset procedure

2018-06-08 Thread Andrzej Hajda
There is no need to flip reset pin twice. Also delays can be changed to values present in vendor's code. Signed-off-by: Andrzej Hajda --- Hi, This is v2 of forgotten patch, awaiting reviewers, any volunteers. Also "drm/bridge/sii8620: fix loops in EDID fetch logic" waits for reviewers. In this

Re: Kernel and ADM hardware roulette ( was AMD graphics performance regression in 4.15 and later )

2018-06-08 Thread Christian König
Am 08.06.2018 um 08:02 schrieb Christoph Hellwig: On Thu, Jun 07, 2018 at 02:32:46PM +0200, Gabriel C wrote: Ok done.. bisect points to: What is the failure mode you are seeing? Can't find anything in the mail unfortunately. As far as I analyzed it we now get an -ENOMEM from

[PATCH v4 0/3] re-factor devfreq common code

2018-06-08 Thread Sharat Masetty
This series re-factors the devfreq code a bit in preparation for the upcoming A6x related devfreq changes. The code applies cleanly on 4.17 and has been verified on DB820C. V2: Addressed code review comments from Jordan Crouse. V3: Added a new patch for devfreq cleanup. V4: removed "drm/msm: move

[PATCH v4 1/3] drm/msm: suspend devfreq on init

2018-06-08 Thread Sharat Masetty
Devfreq turns on and starts recommending power level as soon as it is initialized. The GPU is still not powered on by the time the devfreq init happens and this leads to problems on GPU's where register access is needed to get/set power levels. So we start suspended and only restart devfreq when

[PATCH v4 3/3] drm/msm: unregister devfreq upon clean up

2018-06-08 Thread Sharat Masetty
Call the devfreq_remove_device() API to remove the GPU devfreq instance during GPU driver cleanup. Signed-off-by: Sharat Masetty --- drivers/gpu/drm/msm/msm_gpu.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/msm/msm_gpu.c b/drivers/gpu/drm/msm/msm_gpu.c index

Re: [PATCH v2] gpu: drm: ttm: Adding new return type vm_fault_t

2018-06-08 Thread Christian König
Am 08.06.2018 um 06:36 schrieb Souptick Joarder: On Sat, Jun 2, 2018 at 12:57 AM, Souptick Joarder wrote: Use new return type vm_fault_t for fault handler. For now, this is just documenting that the function returns a VM_FAULT value rather than an errno. Once all instances are converted,

Re: [PATCH v2] drm/bridge/sii8620: simplify hardware reset procedure

2018-06-08 Thread Marek Szyprowski
Hi Andrzej, On 2018-06-08 08:04, Andrzej Hajda wrote: > There is no need to flip reset pin twice. Also delays can be changed to > values present in vendor's code. > > Signed-off-by: Andrzej Hajda Tested-by: Marek Szyprowski > --- > Hi, > > This is v2 of forgotten patch, awaiting reviewers,

Re: [PATCH 3/3] drm/bridge/sii8620: fix loops in EDID fetch logic

2018-06-08 Thread Marek Szyprowski
Hi Andrzej, On 2018-01-15 18:33, Andrzej Hajda wrote: > Function should constantly check if cable is connected and finish > in finite time. > > Signed-off-by: Andrzej Hajda Tested-by: Marek Szyprowski > --- > drivers/gpu/drm/bridge/sil-sii8620.c | 31 --- > 1

Re: [PATCH v7 0/6] Add ChromeOS EC CEC Support

2018-06-08 Thread Hans Verkuil
On 08/06/18 10:17, Neil Armstrong wrote: > Hi Hans, > > On 08/06/2018 09:53, Hans Verkuil wrote: >> On 06/01/2018 10:19 AM, Neil Armstrong wrote: >>> Hi All, >>> >>> The new Google "Fizz" Intel-based ChromeOS device is gaining CEC support >>> through it's Embedded Controller, to enable the Linux

[Bug 106856] amdgpu kernel warning playing vdpau videos

2018-06-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106856 Bug ID: 106856 Summary: amdgpu kernel warning playing vdpau videos Product: Mesa Version: git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW

[Bug 199959] amdgpu, regression?: system freezes after resume

2018-06-08 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199959 --- Comment #6 from Alexander Mezin (mezin.alexan...@gmail.com) --- Created attachment 276391 --> https://bugzilla.kernel.org/attachment.cgi?id=276391=edit lspci -t -v -nn -- You are receiving this mail because: You are watching the assignee

[Bug 199959] amdgpu, regression?: system freezes after resume

2018-06-08 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199959 --- Comment #7 from Alexander Mezin (mezin.alexan...@gmail.com) --- Created attachment 276393 --> https://bugzilla.kernel.org/attachment.cgi?id=276393=edit /proc/iomem -- You are receiving this mail because: You are watching the assignee of

Re: [PATCH v2 6/9] xen/gntdev: Add initial support for dma-buf UAPI

2018-06-08 Thread Oleksandr Andrushchenko
On 06/08/2018 01:26 AM, Boris Ostrovsky wrote: On 06/07/2018 03:17 AM, Oleksandr Andrushchenko wrote: On 06/07/2018 12:32 AM, Boris Ostrovsky wrote: On 06/06/2018 05:06 AM, Oleksandr Andrushchenko wrote: On 06/04/2018 11:49 PM, Boris Ostrovsky wrote: diff --git a/drivers/xen/gntdev.c

[PULL] drm-intel-next-fixes for drm-next/v4.18

2018-06-08 Thread Jani Nikula
Hi Dave, these missed the main drm-next pull request. drm-intel-next-fixes-2018-06-08-2: First batch of i915 fixes for v4.18: - gvt fixes that missed v4.17, potentially need to be backported - eDP resolution regression revert - remove broken nv12 special casing - remove stale asserts from find

[PATCH v4 2/3] drm/msm: re-factor devfreq code

2018-06-08 Thread Sharat Masetty
devfreq framework requires the drivers to provide busy time estimations. The GPU driver relies on the hardware performance counters for the busy time estimations, but different hardware revisions have counters which can be sourced from different clocks. So the busy time estimation will be target

Re: [PATCH v7 0/6] Add ChromeOS EC CEC Support

2018-06-08 Thread Neil Armstrong
Hi Hans, On 08/06/2018 09:53, Hans Verkuil wrote: > On 06/01/2018 10:19 AM, Neil Armstrong wrote: >> Hi All, >> >> The new Google "Fizz" Intel-based ChromeOS device is gaining CEC support >> through it's Embedded Controller, to enable the Linux CEC Core to communicate >> with it and get the CEC

[Bug 105532] Broken map generation in Northgard game

2018-06-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105532 --- Comment #2 from Nicolas Cannasse --- Hi, I'm Northgard technical director. We are creating buffers to draw various 2D shapes into textures for map generation. Then we download the textures from GPU to CPU for additional processing. These

Re: [PATCH v7 0/6] Add ChromeOS EC CEC Support

2018-06-08 Thread Hans Verkuil
On 06/01/2018 10:19 AM, Neil Armstrong wrote: > Hi All, > > The new Google "Fizz" Intel-based ChromeOS device is gaining CEC support > through it's Embedded Controller, to enable the Linux CEC Core to communicate > with it and get the CEC Physical Address from the correct HDMI Connector, the >

[Bug 199959] amdgpu, regression?: system freezes after resume

2018-06-08 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199959 --- Comment #5 from Christian König (christian.koe...@amd.com) --- Ok, well that is interesting. Please provide the output of "sudo cat /proc/iomem" and "lspci -t -v -nn". In the meantime I will try to reproduce the issue here. -- You are

Re: [PATCH v4 8/9] drm/mediatek: add third ddp path

2018-06-08 Thread Stu Hsieh
On Mon, 2018-05-28 at 15:47 +0800, CK Hu wrote: > Hi, Stu: > > One inline comment. > > On Mon, 2018-05-28 at 14:38 +0800, Stu Hsieh wrote: > > This patch create third crtc by third ddp path > > > > Signed-off-by: Stu Hsieh > > --- > > drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 3 +++ > >

Re: [PATCH 2/3] drm/v3d: Remove the bad signaled() implementation.

2018-06-08 Thread Lucas Stach
Am Dienstag, den 05.06.2018, 12:03 -0700 schrieb Eric Anholt: > Since our seqno value comes from a counter associated with the GPU > ring, not the entity (aka client), they'll be completed out of order. > There's actually no need for this code at all, since we don't have > enable_signaling() and

Re: [Xen-devel] [PATCH v2 5/9] xen/gntdev: Allow mappings for DMA buffers

2018-06-08 Thread Stefano Stabellini
On Fri, 8 Jun 2018, Oleksandr Andrushchenko wrote: > On 06/08/2018 12:46 AM, Boris Ostrovsky wrote: > > (Stefano, question for you at the end) > > > > On 06/07/2018 02:39 AM, Oleksandr Andrushchenko wrote: > > > On 06/07/2018 12:19 AM, Boris Ostrovsky wrote: > > > > On 06/06/2018 04:14 AM,

[Bug 199619] screen stays dark for long on bootup since kernel 4.17.0-rc2+

2018-06-08 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199619 --- Comment #6 from Elmar Stellnberger (estel...@elstel.org) --- This applies to the nouveau driver. -- You are receiving this mail because: You are watching the assignee of the bug. ___ dri-devel

[Bug 199959] amdgpu, regression?: system freezes after resume

2018-06-08 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199959 --- Comment #9 from Alexander Mezin (mezin.alexan...@gmail.com) --- It seems that only GPU is hung, I can even SSH to the machine. But things like restarting gdm/Xorg/unplugging the monitor didn't "fix" it. "shutdown -h now" didn't work. -- You

[Bug 106446] Stutter at higher refresh rates ( 75 Hz) and artifacts on desktop

2018-06-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106446 --- Comment #6 from Justin Mitzel --- Have you tried using the amdgpu.dpm=1 kernel command? It's worked for me with my 390X. -- You are receiving this mail because: You are the assignee for the

[Bug 105083] Random blinking display

2018-06-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105083 --- Comment #20 from Öyvind Saether --- Since this bug remains open for some reason I'll report the following: redshift appears to work just fine with both RX 560 & RX 470 and: - kernel 4.17.0-1 (rx 580) / 4.18.0-0.rc0.git2 (rx 470) - X.Org

[drm-intel:topic/core-for-CI 7/8] backtracetest.c:undefined reference to `save_stack_trace'

2018-06-08 Thread kbuild test robot
tree: git://anongit.freedesktop.org/drm-intel topic/core-for-CI head: e2ea2db1734a0e38b89e4d706b5f9ad9f73b1543 commit: 72041f9847abb05b9d4d7dea17631b579191ca99 [7/8] RFC: debugobjects: capture stack traces at _init() time config: m68k-allyesconfig (attached as .config) compiler:

[Bug 199959] amdgpu, regression?: system freezes after resume

2018-06-08 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199959 --- Comment #10 from Alexander Mezin (mezin.alexan...@gmail.com) --- Actually, sometimes mouse pointer moves, and only freezes after I press a few keys/click a few times. Also, sometimes it's just colored pattern instead of the lock screen on the

[Bug 199959] amdgpu, regression?: system freezes after resume

2018-06-08 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199959 --- Comment #11 from Alexander Mezin (mezin.alexan...@gmail.com) --- I literally have no idea what I'm doing, but adding 'amdgpu_device_resize_fb_bar(adev);' line to all 'gmc_v?_?_resume()' (because I don't know which version is used for my card)

[Bug 199959] amdgpu, regression?: system freezes after resume

2018-06-08 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199959 --- Comment #12 from Alexander Mezin (mezin.alexan...@gmail.com) --- Created attachment 276415 --> https://bugzilla.kernel.org/attachment.cgi?id=276415=edit dmesg: resume with device_resize_fb_bar() in gmc_v?_?_resume() -- You are receiving