Re: [PATCH v5 4/8] drm/cma-helper: Use the generic fbdev emulation

2018-08-20 Thread John Stultz
On Tue, Jul 3, 2018 at 9:03 AM, Noralf Trønnes wrote: > This switches the CMA helper drivers that use its fbdev emulation over > to the generic fbdev emulation. It's the first phase of using generic > fbdev. A later phase will use DRM client callbacks for the > lastclose/hotplug/remove callbacks.

[Bug 200869] UVD cause amdgpu crash on CIK: [amdgpu]] UVD not responding, trying to reset the VCPU

2018-08-20 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=200869 --- Comment #1 from Janpieter Sollie (janpieter.sol...@dommel.be) --- Small update: When booting the module with the following parameters: amdgpu si_support=0 gpu_recovery=1 dpm=1 dc=0 I still need to load/unload the module 3 times, but it works

Re: [PATCH v5 2/9] drm/exynos: move connector creation to attach callback

2018-08-20 Thread Inki Dae
2018년 08월 20일 18:00에 Andrzej Hajda 이(가) 쓴 글: > On 17.08.2018 03:56, Inki Dae wrote: >> >> 2018년 08월 13일 20:17에 Andrzej Hajda 이(가) 쓴 글: >>> On 07.08.2018 10:53, Inki Dae wrote: 2018년 07월 26일 00:46에 Andrzej Hajda 이(가) 쓴 글: > From: Maciej Purski > > The current implementation assum

[Bug 107635] Internal display always be blank in mirror, extended and built-in only display mode

2018-08-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107635 Bug ID: 107635 Summary: Internal display always be blank in mirror, extended and built-in only display mode Product: DRI Version: unspecified Hardware: x86-64 (AMD64)

[Bug 107623] (4.18.3)[drm:hwss_edp_wait_for_hpd_ready [amdgpu]] *ERROR* hwss_edp_wait_for_hpd_ready: wait timed out!

2018-08-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107623 --- Comment #3 from jian-h...@endlessm.com --- Created attachment 141207 --> https://bugs.freedesktop.org/attachment.cgi?id=141207&action=edit dmesg of boot into multi-user.target If I boot system into "multi-user.target", then "systemctl susp

[Bug 107261] [drm:generic_reg_wait [amdgpu]] *ERROR* REG_WAIT timeout 1us * 10 tries - optc1_lock line:628

2018-08-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107261 --- Comment #3 from Ian --- Huh, I've discovered that I can only reproduce this on Wayland. Are you getting these messages on X.org at all? -- You are receiving this mail because: You are the assignee for the bug.__

[Bug 107581] Graphics Not Rendered Due to Missing 4.5 COMPAT Profile

2018-08-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107581 --- Comment #7 from Timothy Arceri --- (In reply to Benjamin Hodgetts from comment #6) > I haven't tried force_glsl_extensions_warn, but > MESA_GL_VERSION_OVERRIDE=4.5COMPAT doesn't help. It worked on older versions > of the game, but has no pos

Re: [PATCH (repost) 1/5] drm_dp_cec: check that aux has a transfer function

2018-08-20 Thread Lyude Paul
On Mon, 2018-08-20 at 22:47 +0200, Hans Verkuil wrote: > On 08/20/2018 08:51 PM, Lyude Paul wrote: > > On Fri, 2018-08-17 at 16:11 +0200, Hans Verkuil wrote: > > > From: Hans Verkuil > > > > > > If aux->transfer == NULL, then just return without doing > > > anything. In that case the function is

[PATCH] drm/vkms: Add support for vkms work without vblank

2018-08-20 Thread Rodrigo Siqueira
Currently, vkms needs VBlank to work well. This patch adds another operation model that make vkms works without VBlank support. Signed-off-by: Rodrigo Siqueira --- drivers/gpu/drm/vkms/vkms_crtc.c | 10 ++ drivers/gpu/drm/vkms/vkms_drv.c | 12 ++-- drivers/gpu/drm/vkms/vkms_drv.

Re: [PATCH] drm: rcar-du: Improve non-DPLL clock selection

2018-08-20 Thread Laurent Pinchart
Hi Jacopo, On Tuesday, 21 August 2018 00:49:41 EEST Laurent Pinchart wrote: > From: Jacopo Mondi > > DU channels not equipped with a DPLL use an SoC internal (provided by > the CPG) or external clock source combined with a DU internal divider to > generate the desired output dot clock frequency.

[PATCH] drm: rcar-du: Improve non-DPLL clock selection

2018-08-20 Thread Laurent Pinchart
From: Jacopo Mondi DU channels not equipped with a DPLL use an SoC internal (provided by the CPG) or external clock source combined with a DU internal divider to generate the desired output dot clock frequency. The current clock selection procedure does not fully exploit the ability of external

RE: [Linux-graphics-maintainer] [PATCH] drm/vmwgfx: Convert drm_atomic_helper_suspend/resume()

2018-08-20 Thread Deepak Singh Rawat
Hi, thanks for the patch. Perhaps can get rid of vmw_kms_resume and vmw_kms_suspend, otherwise looks good to me. > > convert drm_atomic_helper_suspend/resume() to use > drm_mode_config_helper_suspend/resume(). > > suspend_state can be removed from vmw_private as > it will not be used anymore. >

RE: [Linux-graphics-maintainer] [PATCH] drm/vmwgfx: Fix potential Spectre v1

2018-08-20 Thread Deepak Singh Rawat
Looks good to me based on my limited understanding. Thomas/Sinclair can could you please review and then we can include this in drm-fixes. Thanks, Deepak > > arg.version is indirectly controlled by user-space, hence leading to > a potential exploitation of the Spectre variant 1 vulnerability. >

Re: [PATCH (repost) 3/5] drm_dp_mst_topology: fix broken drm_dp_sideband_parse_remote_dpcd_read()

2018-08-20 Thread Lyude Paul
On Mon, 2018-08-20 at 22:43 +0200, Hans Verkuil wrote: > On 08/20/2018 08:59 PM, Lyude Paul wrote: > > Reviewed-by: Lyude Paul > > > > We really need to add support for using this into the MST helpers. A good > > way to > > test this would probably be to hook up an aux device to the DP AUX adapte

Re: [PATCH (repost) 1/5] drm_dp_cec: check that aux has a transfer function

2018-08-20 Thread Hans Verkuil
On 08/20/2018 08:51 PM, Lyude Paul wrote: > On Fri, 2018-08-17 at 16:11 +0200, Hans Verkuil wrote: >> From: Hans Verkuil >> >> If aux->transfer == NULL, then just return without doing >> anything. In that case the function is likely called for >> a non-(e)DP connector. >> >> This never happened fo

Re: [PATCH (repost) 3/5] drm_dp_mst_topology: fix broken drm_dp_sideband_parse_remote_dpcd_read()

2018-08-20 Thread Hans Verkuil
On 08/20/2018 08:59 PM, Lyude Paul wrote: > Reviewed-by: Lyude Paul > > We really need to add support for using this into the MST helpers. A good way > to > test this would probably be to hook up an aux device to the DP AUX adapters we > create for each MST topology If you are interested, I hav

Re: [PATCH v2 2/2] drm: rcar-du: Improve non-DPLL clock selection

2018-08-20 Thread Laurent Pinchart
Hi Jacopo, Thank you for the patch. On Monday, 20 August 2018 18:26:17 EEST Jacopo Mondi wrote: > From: Jacopo Mondi > > DU channels not equipped with a DPLL use an internal (aka SoC provided) or I'd say "SoC internal (provided by the CPG)" > external clock source combined with an internal di

Re: [PATCH (repost) 3/5] drm_dp_mst_topology: fix broken drm_dp_sideband_parse_remote_dpcd_read()

2018-08-20 Thread Lyude Paul
Reviewed-by: Lyude Paul We really need to add support for using this into the MST helpers. A good way to test this would probably be to hook up an aux device to the DP AUX adapters we create for each MST topology On Fri, 2018-08-17 at 16:11 +0200, Hans Verkuil wrote: > From: Hans Verkuil > > W

Re: [PATCH (repost) 4/5] drm/nouveau: add DisplayPort CEC-Tunneling-over-AUX support

2018-08-20 Thread Lyude Paul
On Fri, 2018-08-17 at 16:11 +0200, Hans Verkuil wrote: > From: Hans Verkuil > > Add DisplayPort CEC-Tunneling-over-AUX support to nouveau. > > Signed-off-by: Hans Verkuil > --- > drivers/gpu/drm/nouveau/nouveau_connector.c | 17 +++-- > 1 file changed, 15 insertions(+), 2 deletions

Re: [Nouveau] [PATCH (repost) 2/5] drm_dp_cec: add note about good MegaChips 2900 CEC support

2018-08-20 Thread Lyude Paul
Reviewed-by: Lyude Paul On Fri, 2018-08-17 at 16:11 +0200, Hans Verkuil wrote: > From: Hans Verkuil > > A big problem with DP CEC-Tunneling-over-AUX is that it is tricky > to find adapters with a chipset that supports this AND where the > manufacturer actually connected the HDMI CEC line to the

Re: [PATCH (repost) 1/5] drm_dp_cec: check that aux has a transfer function

2018-08-20 Thread Lyude Paul
On Fri, 2018-08-17 at 16:11 +0200, Hans Verkuil wrote: > From: Hans Verkuil > > If aux->transfer == NULL, then just return without doing > anything. In that case the function is likely called for > a non-(e)DP connector. > > This never happened for the i915 driver, but the nouveau and amdgpu > d

[Bug 200869] New: UVD cause amdgpu crash on CIK: [amdgpu]] UVD not responding, trying to reset the VCPU

2018-08-20 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=200869 Bug ID: 200869 Summary: UVD cause amdgpu crash on CIK: [amdgpu]] UVD not responding, trying to reset the VCPU Product: Drivers Version: 2.5 Kernel Version: 4.17.17 Hard

[Bug 107482] Images gamma rendering issue

2018-08-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107482 --- Comment #9 from Leo Li --- Michel's right about xgamma leaving 0 and max per-channel values unmodified, so the original issue is not-a-bug. Although I'm not sure why there's a difference between amdgpu and dc, I'll have to look into it. --

[Bug 107627] Freedesktop runtime version 18.08 Mesa cached shaders result in crashes

2018-08-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107627 Vibol changed: What|Removed |Added Hardware|Other |x86-64 (AMD64) OS|All

[Bug 107627] Freedesktop runtime version 18.08 Mesa cached shaders result in crashes

2018-08-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107627 Bug ID: 107627 Summary: Freedesktop runtime version 18.08 Mesa cached shaders result in crashes Product: Mesa Version: 18.1 Hardware: Other OS: All

[Bug 107545] radeon - ring 0 stalled - GPU lockup - SI

2018-08-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107545 --- Comment #5 from Julien Isorce --- Extract of the 2 attached cs dumps: User space so before ioctl radeon_cs_ioctl: 0x0290 0x 0xC0016900 0x02A1 Kernel space so in radeon_cs_ioctl: 0x0290 0x000b 0x 0x02a1

Re: [PATCH v1] gpu: host1x: Detach Host1x from IOMMU DMA domain on arm32

2018-08-20 Thread kbuild test robot
Hi Dmitry, I love your patch! Yet something to improve: [auto build test ERROR on tegra-drm/drm/tegra/for-next] [also build test ERROR on v4.18 next-20180820] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci

[Bug 107545] radeon - ring 0 stalled - GPU lockup - SI

2018-08-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107545 --- Comment #4 from Julien Isorce --- Created attachment 141204 --> https://bugs.freedesktop.org/attachment.cgi?id=141204&action=edit cs_dum_kernel_space.txt Packet0 not allowed!. -- You are receiving this mail because: You are the assignee

[Bug 107545] radeon - ring 0 stalled - GPU lockup - SI

2018-08-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107545 --- Comment #3 from Julien Isorce --- Created attachment 141203 --> https://bugs.freedesktop.org/attachment.cgi?id=141203&action=edit cs_dump_user_space.txt -- You are receiving this mail because: You are the assignee for the bug.___

[Bug 107545] radeon - ring 0 stalled - GPU lockup - SI

2018-08-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107545 Julien Isorce changed: What|Removed |Added Attachment #141084|0 |1 is obsolete|

[PATCH 1/2] drm/nouveau: Fix GM107 disp core chan init on ThinkPad P50

2018-08-20 Thread Lyude Paul
I've been experiencing a rather strange looking bug on the P50 I've got for work. After a number of reboots, nouveau will fail to initialize the dedicated GPU on the system at boot properly. Things start off with this disp mthd failure: ... [2.088505] nouveau :01:00.0: disp: outp 04:0006:0

[PATCH 0/2] drm/nouveau: Fix GM107 disp init failures on ThinkPad P50

2018-08-20 Thread Lyude Paul
This series fixes some intermittent issues with bringing up the dedicated GM107 GPU that I've been observing on my ThinkPad P50. More details within. Lyude Paul (2): drm/nouveau: Fix GM107 disp core chan init on ThinkPad P50 drm/nouveau: Fix GM107 disp dmac chan init on ThinkPad P50 .../drm/

[PATCH 2/2] drm/nouveau: Fix GM107 disp dmac chan init on ThinkPad P50

2018-08-20 Thread Lyude Paul
Just like how the P50 will occasionally leave the disp's core channel on before nouveau starts initializing, it will occasionally do the same thing with the rest of the dmac channel in addition to the core channel. Example: [1.604375] nouveau :01:00.0: disp: outp 04:0006:0f81: no heads (0

[Bug 107607] Problems with MST display (REG_WAIT takes a while or times out)

2018-08-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107607 --- Comment #1 from Paul Menzel --- Created attachment 141201 --> https://bugs.freedesktop.org/attachment.cgi?id=141201&action=edit Linux 4.18+ messages with drm.debug=0xe Here is a verbose log. I believe it’s related to DP 1.2 and the MST De

[Bug 107607] Problems with MST display (REG_WAIT takes a while or times out)

2018-08-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107607 Paul Menzel changed: What|Removed |Added CC||pmenzel+bugs.freedesktop@mo

Re: [PATCH] drm/bridge: ti-sn65dsi86: Fix 0-day build error

2018-08-20 Thread Andrzej Hajda
On 20.08.2018 17:26, Guenter Roeck wrote: > On Mon, Aug 20, 2018 at 8:15 AM Andrzej Hajda wrote: >> On 15.08.2018 21:49, Sean Paul wrote: >>> From: Guenter Roeck >>> >>> 0day reports: >>> > drivers/gpu/drm/bridge/ti-sn65dsi86.o: In function >>> `ti_sn_bridge_remove': > drivers/gpu/drm/bri

Re: [PATCH 2/2] drm: rcar-du: Add interlaced feature flag

2018-08-20 Thread Laurent Pinchart
Hi Kieran, Thank you for the patch. On Monday, 20 August 2018 19:00:44 EEST Kieran Bingham wrote: > Upcoming implementations of the R-Car DU have removed support for > interlaced display pipelines. Provide a means to determine this based on > the feature flags of the hardware configuration struct

Re: [PATCH 1/2] drm: rcar-du: Refactor Feature and Quirk definitions

2018-08-20 Thread Laurent Pinchart
Hi Kieran, Thank you for the patch. On Monday, 20 August 2018 19:00:43 EEST Kieran Bingham wrote: > These flags are represented by bit fields. To make this clear, utilise > the BIT() macro. > > Signed-off-by: Kieran Bingham Reviewed-by: Laurent Pinchart > --- > This patch fails checkpatch's

[PATCH 1/2] drm: rcar-du: Refactor Feature and Quirk definitions

2018-08-20 Thread Kieran Bingham
These flags are represented by bit fields. To make this clear, utilise the BIT() macro. Signed-off-by: Kieran Bingham --- This patch fails checkpatch's 80-char limit, due to the line comments extending across the 80-char boundary on RCAR_DU_FEATURE_EXT_CTRL_REGS To preserve formatting - this wa

[PATCH 2/2] drm: rcar-du: Add interlaced feature flag

2018-08-20 Thread Kieran Bingham
Upcoming implementations of the R-Car DU have removed support for interlaced display pipelines. Provide a means to determine this based on the feature flags of the hardware configuration structs. Signed-off-by: Kieran Bingham --- This could be a feature to designate that there is no interlaced

[PATCH 0/2] drm: rcar-du: Add interlaced feature support flag

2018-08-20 Thread Kieran Bingham
The R-Car DU on the D3 and E3 does not support interlaced pipelines, thus we need to have a means to reject interlaced configurations on those platoforms. Provide a new feature flag, and add that flag to all existing devices which currently support interlaced pipelines. When D3 and E3 support is

[Bug 107482] Images gamma rendering issue

2018-08-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107482 --- Comment #8 from Michel Dänzer --- Leo, any ideas what's going on here? -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mailing list dri-devel@lists.freedesk

[Bug 200605] Screen flickering on AMD graphics in 4.18

2018-08-20 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=200605 --- Comment #5 from Michel Dänzer (mic...@daenzer.net) --- (In reply to richts from comment #4) > In the meantime I'm at 4.18.1 and the problem never happened since then. Glad to hear that! Can you resolve this report accordingly? Thanks. -- Yo

Re: [PATCH] drm/bridge: ti-sn65dsi86: Fix 0-day build error

2018-08-20 Thread Andrzej Hajda
On 15.08.2018 21:49, Sean Paul wrote: > From: Guenter Roeck > > 0day reports: > >>> drivers/gpu/drm/bridge/ti-sn65dsi86.o: In function > `ti_sn_bridge_remove': >>> drivers/gpu/drm/bridge/ti-sn65dsi86.c:629: undefined reference to > `mipi_dsi_detach' >>> drivers/gpu/drm/bridge/ti-sn65dsi86.c:630: u

[Bug 105251] [Vega10] GPU lockup on boot: VMC page fault

2018-08-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105251 --- Comment #18 from Andrey Grodzovsky --- (In reply to CheatCodesOfLife from comment #17) > (In reply to Andrey Grodzovsky from comment #16) > > Hi everyone, I've tried with latest kernel and latest VEGA10 firmware and > > wasn't able to reprod

Re: [PATCH] drm: sun4i: exclusively set HDMI-related clocks for dw-hdmi

2018-08-20 Thread Icenowy Zheng
于 2018年8月20日 GMT+08:00 下午7:52:44, Maxime Ripard 写到: >Hi! > >On Wed, Aug 15, 2018 at 08:07:45PM +0800, Icenowy Zheng wrote: >> The glue in sun4i-drm of dw-hdmi currently doesn't set the clocks of >> dw-hdmi exclusively, which will lead the display fails to initialize >in >> some situations. > >Ap

[PATCH 0/1] linux-firmware: add firmware for mhdp8546

2018-08-20 Thread Damian Kos
This patch adds the v1.2.12 binary firmware for Cadence MHDP8546 DP bridge. Damian Kos (1): linux-firmware: add firmware for mhdp8546 LICENCE.cadence | 63 +++ WHENCE | 9 +++ cadence/mhdp8546.bin | Bin 0 -> 131072 bytes 3 file

[PATCH v1] gpu: host1x: Detach Host1x from IOMMU DMA domain on arm32

2018-08-20 Thread Dmitry Osipenko
Host1x is getting attached to an implicit IOMMU DMA domain if CONFIG_ARM_DMA_USE_IOMMU=y. Since Host1x driver manages IOMMU by itself, Host1x device must be detached from the implicit domain using arch-specific IOMMU-API. Note that this works only for arm32 and not for arm64, which will remain brok

[PATCH v2] gpu: host1x: Detach Host1x from IOMMU DMA domain on arm32

2018-08-20 Thread Dmitry Osipenko
Host1x is getting attached to an implicit IOMMU DMA domain if CONFIG_ARM_DMA_USE_IOMMU=y. Since Host1x driver manages IOMMU by itself, Host1x device must be detached from the implicit domain using arch-specific IOMMU-API. Note that this works only for arm32 and not for arm64, which will remain brok

[PATCH v1] drm/tegra: Detach devices from IOMMU DMA domain on arm32

2018-08-20 Thread Dmitry Osipenko
All Tegra DRM devices are getting attached to an implicit IOMMU DMA domain if CONFIG_ARM_DMA_USE_IOMMU=y. Since Tegra DRM driver manages IOMMU by itself, the devices must be detached from the implicit domain using arch-specific IOMMU-API. Note that this works only for arm32 and not for arm64, which

[PATCH 1/1] linux-firmware: add firmware for mhdp8546

2018-08-20 Thread Damian Kos
Add binary firmware for Cadence MHDP8546 DP bridge. Release version: 1.2.12 Signed-off-by: Damian Kos --- LICENCE.cadence | 63 +++ WHENCE | 9 +++ cadence/mhdp8546.bin | Bin 0 -> 131072 bytes 3 files changed, 72 insertions(+)

[Bug 102322] System crashes after "[drm] IP block:gmc_v8_0 is hung!" / [drm] IP block:sdma_v3_0 is hung!

2018-08-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102322 --- Comment #53 from Andrey Grodzovsky --- Created attachment 141198 --> https://bugs.freedesktop.org/attachment.cgi?id=141198&action=edit add_debug_info2.patch Try this patch instead, i might be missing some prints in the first one. In the l

Re: [PATCH] drm/malidp: Fix writeback in NV12

2018-08-20 Thread Brian Starkey
Hi Alex, On Mon, Aug 20, 2018 at 02:24:05PM +0100, Alexandru Gheorghe wrote: When we want to writeback to memory in NV12 format we need to program the RGB2YUV coefficients. Currently, we don't program the coefficients and the NV12 doesn't work at all. This patchset fixes that by programming a s

[PATCH] drm/malidp: Fix writeback in NV12

2018-08-20 Thread Alexandru Gheorghe
When we want to writeback to memory in NV12 format we need to program the RGB2YUV coefficients. Currently, we don't program the coefficients and the NV12 doesn't work at all. This patchset fixes that by programming a sane default(bt709, limited range) as rgb2yuv coefficients. In the long run, pro

Re: [PATCH] drm: Use horizontal and vertical chroma subsampling factor while calculating offsets in the physical address of framebuffer

2018-08-20 Thread Liviu Dudau
On Mon, Aug 20, 2018 at 01:38:59PM +0100, Ayan Halder wrote: > On Mon, Aug 20, 2018 at 12:03:19PM +0100, Liviu Dudau wrote: > > On Fri, Aug 17, 2018 at 06:33:04PM +0100, Ayan Kumar Halder wrote: > > > For multi-planar formats, while calculating offsets in planes with index > > > greater than 0 > >

Re: [PATCH v4 4/5] drm/amdgpu: use bulk moves for efficient VM LRU handling (v4)

2018-08-20 Thread Christian König
Am 20.08.2018 um 08:05 schrieb Huang Rui: On Fri, Aug 17, 2018 at 06:38:16PM +0800, Koenig, Christian wrote: Am 17.08.2018 um 12:08 schrieb Huang Rui: I continue to work for bulk moving that based on the proposal by Christian. Background: amdgpu driver will move all PD/PT and PerVM BOs into id

[PATCH] drm/malidp: Enable MMU prefetch on Mali-DP650

2018-08-20 Thread Alexandru Gheorghe
From: Jamie Fox Mali-DP650 supports warming up the SMMU translations, by sending requsts to the SMMU before a buffer is read. There are two modes supported: - PARTIAL: could be enabled when the buffer is composed of 4K or 64K pages, the display hardware will send a configurable number of re

Re: [PATCH] drm: Use horizontal and vertical chroma subsampling factor while calculating offsets in the physical address of framebuffer

2018-08-20 Thread Ayan Halder
On Mon, Aug 20, 2018 at 12:03:19PM +0100, Liviu Dudau wrote: > On Fri, Aug 17, 2018 at 06:33:04PM +0100, Ayan Kumar Halder wrote: > > For multi-planar formats, while calculating offsets in planes with index > > greater than 0 > > (ie second plane, third plane, etc), one needs to divide (src_x * cp

Re: [PATCH] drm/sun4i: Avoid failing to init fbdev without any connector

2018-08-20 Thread Paul Kocialkowski
Hi, On Mon, 2018-08-20 at 11:56 +0200, Maxime Ripard wrote: > On Tue, Aug 07, 2018 at 10:31:30PM +0200, Paul Kocialkowski wrote: > > Hi, > > > > Le mardi 07 août 2018 à 22:18 +0200, Daniel Vetter a écrit : > > > On Tue, Aug 07, 2018 at 09:39:19PM +0200, Paul Kocialkowski wrote: > > > > Initializi

[Bug 100697] [radeonsi,WebGL] blinking random patches instead of blinking squares

2018-08-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100697 Kai changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

Re: [PATCH] drm: sun4i: exclusively set HDMI-related clocks for dw-hdmi

2018-08-20 Thread Maxime Ripard
Hi! On Wed, Aug 15, 2018 at 08:07:45PM +0800, Icenowy Zheng wrote: > The glue in sun4i-drm of dw-hdmi currently doesn't set the clocks of > dw-hdmi exclusively, which will lead the display fails to initialize in > some situations. Apart from the feedback already given, detailing which situations

Re: [PATCH 3/5] drm/msm/adreno: Load the firmware before bringing up the hardware

2018-08-20 Thread Sharat Masetty
On 8/6/2018 11:03 PM, Jordan Crouse wrote: Failure to load firmware is the primary reason to fail adreno_load_gpu(). Try to load it first before going into the hardware initialization code and unwinding it. This is important for a6xx because the GMU gets loaded from the runtime power code and i

Re: [PATCH v4 6/8] drm/dsi: add helper function to find the second host in a dual-dsi setup

2018-08-20 Thread Andrzej Hajda
On 14.08.2018 12:26, Heiko Stuebner wrote: > >From a specified output port of one dsi controller this function allows to > iterate over the list of registered dsi controllers trying to find a second > instance connected to the same display, like it is used in dual-dsi setups. As I said earlier it

Re: [PATCH v2 00/22] omapdrm: Rework the timing-related operations

2018-08-20 Thread Laurent Pinchart
Hi Tomi, On Monday, 20 August 2018 14:24:23 EEST Tomi Valkeinen wrote: > On 19/08/18 13:53, Laurent Pinchart wrote: > > On Monday, 13 August 2018 14:12:44 EEST Tomi Valkeinen wrote: > >> On 06/08/18 23:36, Laurent Pinchart wrote: > >>> The series is based on top of the previously submitted "[PATCH

Re: [PATCH v2 00/22] omapdrm: Rework the timing-related operations

2018-08-20 Thread Tomi Valkeinen
On 19/08/18 13:53, Laurent Pinchart wrote: > Hi Tomi, > > On Monday, 13 August 2018 14:12:44 EEST Tomi Valkeinen wrote: >> On 06/08/18 23:36, Laurent Pinchart wrote: >>> The series is based on top of the previously submitted "[PATCH v2 00/21] >>> omapdrm: Rework the HPD-related operations" patch s

Re: [PATCH] drm: Use horizontal and vertical chroma subsampling factor while calculating offsets in the physical address of framebuffer

2018-08-20 Thread Liviu Dudau
On Fri, Aug 17, 2018 at 06:33:04PM +0100, Ayan Kumar Halder wrote: > For multi-planar formats, while calculating offsets in planes with index > greater than 0 > (ie second plane, third plane, etc), one needs to divide (src_x * cpp) with > horizontal > chroma subsampling factor and (src_y * pitch)

Re: [PROTO][PATCH 10/10] arm64: dts: renesas: r8a77995-draak: add HDMI output

2018-08-20 Thread Laurent Pinchart
Hi Ulrich, Thank you for the patch. On Tuesday, 14 August 2018 16:50:04 EEST Ulrich Hecht wrote: > Adds LVDS decoder, HDMI encoder and connector for Draak boards. > > Signed-off-by: Ulrich Hecht > Reviewed-by: Laurent Pinchart I'm afraid I'll have to revoke that, as it applied to the patch be

Re: [PATCH v4 5/8] drm/rockchip: dsi: migrate to use dw-mipi-dsi bridge driver

2018-08-20 Thread Andrzej Hajda
On 14.08.2018 12:26, Heiko Stuebner wrote: > From: Nickey Yang > > Add the ROCKCHIP DSI controller driver that uses the Synopsys DesignWare > MIPI DSI host controller bridge and remove the old separate one. > > changes: > > v2: >add err_pllref, remove unnecessary encoder.enable & disable >

RE: [PATCH] drm/scheduler: Add stopped flag to drm_sched_entity

2018-08-20 Thread Zhou, David(ChunMing)
-Original Message- From: dri-devel On Behalf Of Andrey Grodzovsky Sent: Friday, August 17, 2018 11:16 PM To: dri-devel@lists.freedesktop.org Cc: Koenig, Christian ; amd-...@lists.freedesktop.org Subject: [PATCH] drm/scheduler: Add stopped flag to drm_sched_entity The flag will prevent

Re: [PROTO][PATCH 07/10] arm64: dts: r8a77995-draak: set external clock for DU

2018-08-20 Thread Laurent Pinchart
Hi Ulrich, Thank you for the patch. On Tuesday, 14 August 2018 16:50:01 EEST Ulrich Hecht wrote: > From: Koji Matsuoka > > Signed-off-by: Koji Matsuoka > Signed-off-by: Takeshi Kihara > Signed-off-by: Ulrich Hecht > --- > arch/arm64/boot/dts/renesas/r8a77995-draak.dts | 8 +--- > 1 file

Re: [PROTO][PATCH 04/10] drm: rcar-du: lvds: LVDS PLL support

2018-08-20 Thread Laurent Pinchart
Hi Ulrich, Thank you for the patch. On Tuesday, 14 August 2018 16:49:58 EEST Ulrich Hecht wrote: > In R-Car D3 and E3, the DU dot clock can be sourced from the LVDS PLL. > This patch enables that PLL if present. > > Based on patch by Koji Matsuoka . > > Signed-off-by: Ulrich Hecht > --- > dri

[Bug 107581] Graphics Not Rendered Due to Missing 4.5 COMPAT Profile

2018-08-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107581 Timothy Arceri changed: What|Removed |Added Status|NEW |NEEDINFO --- Comment #5 from Timothy A

[Bug 105251] [Vega10] GPU lockup on boot: VMC page fault

2018-08-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105251 --- Comment #17 from CheatCodesOfLife --- (In reply to Andrey Grodzovsky from comment #16) > Hi everyone, I've tried with latest kernel and latest VEGA10 firmware and > wasn't able to reproduce this problem. > > From the logs it seems all of yo

Re: [PATCH v4 4/5] drm/amdgpu: use bulk moves for efficient VM LRU handling (v4)

2018-08-20 Thread Huang Rui
On Fri, Aug 17, 2018 at 06:38:16PM +0800, Koenig, Christian wrote: > Am 17.08.2018 um 12:08 schrieb Huang Rui: > > I continue to work for bulk moving that based on the proposal by Christian. > > > > Background: > > amdgpu driver will move all PD/PT and PerVM BOs into idle list. Then move > > all o

Re: [PATCH v2 00/22] omapdrm: Rework the timing-related operations

2018-08-20 Thread Laurent Pinchart
Hi Tomi, On Monday, 13 August 2018 14:12:44 EEST Tomi Valkeinen wrote: > On 06/08/18 23:36, Laurent Pinchart wrote: > > The series is based on top of the previously submitted "[PATCH v2 00/21] > > omapdrm: Rework the HPD-related operations" patch series. For convenience > > I've pushed it to my tr

[Bug 107612] [Vega10] Hard Lock [gfxhub] VMC page fault when opening Mario Kart 8 in Cemu under wine

2018-08-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107612 --- Comment #1 from CheatCodesOfLife --- Created attachment 141192 --> https://bugs.freedesktop.org/attachment.cgi?id=141192&action=edit glxinfo |greep OpenGL forgot to attach this last night. -- You are receiving this mail because: You are

[Bug 107581] Graphics Not Rendered Due to Missing 4.5 COMPAT Profile

2018-08-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107581 --- Comment #6 from Benjamin Hodgetts --- I haven't tried force_glsl_extensions_warn, but MESA_GL_VERSION_OVERRIDE=4.5COMPAT doesn't help. It worked on older versions of the game, but has no positive effect with the current version of the game (

[Bug 107572] Unrecoverable GPU hang with IP block:gfx_v8_0 is hung

2018-08-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107572 --- Comment #15 from Andrew Cook --- Unigine locked up right at the end of the benchmark, but it also prints a vmfault kernel: gmc_v8_0_process_interrupt: 71 callbacks suppressed kernel: amdgpu :0c:00.0: GPU fault detected: 146 0x0048080c k

Re: [PROTO][PATCH 03/10] drm: rcar-du: Fix digital RGB routing for R8A77995

2018-08-20 Thread Laurent Pinchart
Hi Ulrich, Thank you for the patch. On Tuesday, 14 August 2018 16:49:57 EEST Ulrich Hecht wrote: > From: Koji Matsuoka > > This patch adds D3 definition for DU and fixes digital RGB routing. > > Signed-off-by: Koji Matsuoka > --- > drivers/gpu/drm/rcar-du/rcar_du_drv.c | 3 ++- > drivers/g

Re: [PATCH v4 3/8] drm/bridge/synopsys: dsi: add ability to have glue-specific attach and detach

2018-08-20 Thread Andrzej Hajda
On 14.08.2018 12:26, Heiko Stuebner wrote: > With the regular means of adding the dsi-component in probe it creates > a race condition with the panel probing, as the panel device only gets > created after the dsi-bus got created. > > When the panel-driver is build as a module it currently fails har

Re: [PATCH v5 2/9] drm/exynos: move connector creation to attach callback

2018-08-20 Thread Andrzej Hajda
On 17.08.2018 03:56, Inki Dae wrote: > > 2018년 08월 13일 20:17에 Andrzej Hajda 이(가) 쓴 글: >> On 07.08.2018 10:53, Inki Dae wrote: >>> 2018년 07월 26일 00:46에 Andrzej Hajda 이(가) 쓴 글: From: Maciej Purski The current implementation assumes that the only possible peripheral device for DSI

[Bug 107623] (4.18.3)[drm:hwss_edp_wait_for_hpd_ready [amdgpu]] *ERROR* hwss_edp_wait_for_hpd_ready: wait timed out!

2018-08-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107623 --- Comment #1 from jian-h...@endlessm.com --- Created attachment 141197 --> https://bugs.freedesktop.org/attachment.cgi?id=141197&action=edit The resume process video -- You are receiving this mail because: You are the assignee for the bug._

[Bug 199425] BUG: KASAN: use-after-free in drm_atomic_helper_wait_for_flip_done+0x247/0x260

2018-08-20 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199425 --- Comment #18 from Johannes Hirte (johannes.hi...@datenkhaos.de) --- [183309.195913] == [183309.195937] BUG: KASAN: use-after-free in drm_atomic_helper_wait_for_flip_done+0x212/0x27

Re: [PROTO][PATCH 06/10] drm: rcar-du: Fix procedure for extal and dotclkin selection

2018-08-20 Thread Laurent Pinchart
Hi Ulrich, Thank you for the patch. On Tuesday, 14 August 2018 16:50:00 EEST Ulrich Hecht wrote: > From: Koji Matsuoka > > This patch corrects that the extal clock used with the fixed value > is acquired from the device tree. > Also, it is possible to select extal or dotclkin for R8A77995 and >

Re: [PROTO][PATCH 05/10] drm/bridge: adv7511: Add max-clock, min-vrefresh options

2018-08-20 Thread Laurent Pinchart
Hi Ulrich, Thank you for the patch. On Tuesday, 14 August 2018 16:49:59 EEST Ulrich Hecht wrote: > From: Koji Matsuoka > > This patch adds the option to specify a maximal clock and a minimal vertical > refresh rate. What is this needed for ? > Signed-off-by: Koji Matsuoka > [uli: renamed pro

Re: [PATCH 3/3] drm: rcar-du: Improve non-DPLL clock selection

2018-08-20 Thread Laurent Pinchart
Hi Jacopo, Thank you for the patch. On Monday, 30 July 2018 20:20:14 EEST Jacopo Mondi wrote: > DU channels not equipped with a DPLL use an internal (aka SoC provided) or > external clock source combined with an internal divider to generate the > desired output dot clock frequency. > > The curre

[Bug 107169] [regression] Upgrade from 18.0.4 to 18.1.0 causes severe stuttering in games

2018-08-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107169 Timothy Arceri changed: What|Removed |Added Assignee|mesa-dev@lists.freedesktop. |dri-devel@lists.freedesktop

Re: [PATCH 2/3] drm: rcar-du: Rename var to a more precise name

2018-08-20 Thread Laurent Pinchart
Hi Jacopo, Thank you for the patch. On Monday, 30 July 2018 20:20:13 EEST Jacopo Mondi wrote: > Rename the 'value' variable, only used to for writing to DMSR register to a > more precise 'dmsr' name. > > Signed-off-by: Laurent Pinchart > Signed-off-by: Jacopo Mondi I think this simple change

[Bug 107261] [drm:generic_reg_wait [amdgpu]] *ERROR* REG_WAIT timeout 1us * 10 tries - optc1_lock line:628

2018-08-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107261 --- Comment #2 from Ian --- I'm seeing a very similar dmesg trace with a 2400G on kernel 4.18.1-arch1-1-ARCH: https://pastebin.com/raw/7CAXdXkD -- You are receiving this mail because: You are the assignee for the bug.__

[Bug 107623] (4.18.3)[drm:hwss_edp_wait_for_hpd_ready [amdgpu]] *ERROR* hwss_edp_wait_for_hpd_ready: wait timed out!

2018-08-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107623 --- Comment #2 from jian-h...@endlessm.com --- It is nouveau with parameters runpm=0 and noaccel=1 as the driver for NVIDIA GeForce GTX 1050 Mobile card. -- You are receiving this mail because: You are the assignee for the bug._

Re: [PROTO][PATCH 00/10] R-Car D3 LVDS/HDMI support (with PLL)

2018-08-20 Thread Laurent Pinchart
Hi Ulrich, Thank you for the patches. On Tuesday, 14 August 2018 16:49:54 EEST Ulrich Hecht wrote: > Hi! > > This is a prototype extension of the series "R-Car D3 LVDS/HDMI support" > that includes an up-port of the LVDS PLL support in the BSP. > > While this is prototype-quality code, there ar

Re: [PATCH] drm: Clarify DRM_MODE_REFLECT_X/Y documentation

2018-08-20 Thread Alexandru-Cosmin Gheorghe
On Tue, Aug 14, 2018 at 10:36:58AM +0200, Daniel Vetter wrote: > On Fri, Aug 10, 2018 at 06:50:31PM +0100, Alexandru Gheorghe wrote: > > DRM_MODE_REFLECT_X and DRM_MODE_REFLECT_Y meaning seems a bit unclear > > to me, so try to clarify that with a bit of ascii graphics. > > > > Signed-off-by: Alex

Re: [PROTO][PATCH 02/10] drm: rcar-du: Add r8a77995 device support

2018-08-20 Thread Laurent Pinchart
Hi Ulrich, Thank you for the patch. On Tuesday, 14 August 2018 16:49:56 EEST Ulrich Hecht wrote: > Add support for the R-Car D3 (R8A77995) SoC to the R-Car DU driver. > > Based on patch by Koji Matsuoka . > > Signed-off-by: Ulrich Hecht > --- > drivers/gpu/drm/rcar-du/rcar_du_crtc.c | 17 +++

Re: [PROTO][PATCH 01/10] drm: rcar-du: Add clk_set_rate for external clock device

2018-08-20 Thread Laurent Pinchart
Hi Ulrich, Thank you for the patch. On Tuesday, 14 August 2018 16:49:55 EEST Ulrich Hecht wrote: > From: Koji Matsuoka > > Signed-off-by: Koji Matsuoka > --- > drivers/gpu/drm/rcar-du/rcar_du_crtc.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/gpu/drm/rcar-du/rcar_du_crtc

[Bug 107623] (4.18.3)[drm:hwss_edp_wait_for_hpd_ready [amdgpu]] *ERROR* hwss_edp_wait_for_hpd_ready: wait timed out!

2018-08-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107623 Bug ID: 107623 Summary: (4.18.3)[drm:hwss_edp_wait_for_hpd_ready [amdgpu]] *ERROR* hwss_edp_wait_for_hpd_ready: wait timed out! Product: DRI Version: unspecified Hardware:

Re: [PATCH] drm/sun4i: Avoid failing to init fbdev without any connector

2018-08-20 Thread Maxime Ripard
On Tue, Aug 07, 2018 at 10:31:30PM +0200, Paul Kocialkowski wrote: > Hi, > > Le mardi 07 août 2018 à 22:18 +0200, Daniel Vetter a écrit : > > On Tue, Aug 07, 2018 at 09:39:19PM +0200, Paul Kocialkowski wrote: > > > Initializing and registering fbdev requires at least one DRM connector > > > and wi

Re: [PATCH] drm: Rationalize DRM_MIPI_DSI inclusion in Kconfig

2018-08-20 Thread Andrzej Hajda
On 16.08.2018 20:54, Sean Paul wrote: > From: Sean Paul > > DRM_MIPI_DSI is included via both "select" and "depends on", this is > trouble waiting to happen since this will result in different behavior > depending on which is used. As Thierry said 'select' is for DSI controllers, 'depends on' for

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

2018-08-20 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 Reviewed-by: Sebastian Rei

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

2018-08-20 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 use

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

2018-08-20 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 co

  1   2   >