[Bug 105333] [gallium-nine] missing geometry after commit ac: replace ac_build_kill with ac_build_kill_if_false

2018-09-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105333 --- Comment #19 from Axel Davy --- Allowing NaN to not be rejected by the kill test by replacing in radeonsi's kil_emit LLVMRealOGE by LLVMRealUGE works. Is that ok relative to the gl spec ? -- You are receiving this mail because: You are the

[Bug 107940] libdrm 2.4.94-1 causes blender to crash on opencl

2018-09-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107940 --- Comment #5 from Mowley --- (In reply to Augusto Fraga Giachero from comment #4) > I've found the commit that introduces this bug: > 7aa1a511336dd7cb26dafef81d76edd6978a6cdf I'm guessing that my XOrg log file would now be superfluous? -- Y

[Bug 105333] [gallium-nine] missing geometry after commit ac: replace ac_build_kill with ac_build_kill_if_false

2018-09-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105333 --- Comment #18 from Axel Davy --- PixWin enables to use ProcessVertices which outputs the vs shader outputs. I looked at the output which would give the IN[4].w If found that for llvmpipe (used for ProcessVertices) the vs output is between 0

[Bug 105333] [gallium-nine] missing geometry after commit ac: replace ac_build_kill with ac_build_kill_if_false

2018-09-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105333 --- Comment #17 from Axel Davy --- My investigation found that the alpha test for this shader always passes, so we can discard that (I also tried disabling it). As for the stencil test, it is set to always pass, so it's not that either. To pla

[Bug 103949] REG_WAIT timeout - dce110_stream_encoder_dp_blank line:930 - 4.15-rc1

2018-09-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=103949 Barry G changed: What|Removed |Added CC||ba...@grussling.com --- Comment #2 from Barry

Re: [RFC 2/3] drm/gem: Add drm_gem_object_funcs

2018-09-22 Thread Noralf Trønnes
Den 22.09.2018 12.41, skrev Daniel Vetter: On Fri, Sep 21, 2018 at 06:42:29PM +0200, Noralf Trønnes wrote: This adds an optional function table on GEM objects. The main benefit is for drivers that support more than one type of memory (shmem,vram,cma) for their buffers depending on the hardware

Re: [RFC 1/3] drm/driver: Add defaults for .gem_prime_export/import callbacks

2018-09-22 Thread Noralf Trønnes
Den 22.09.2018 12.10, skrev Daniel Vetter: On Fri, Sep 21, 2018 at 06:42:28PM +0200, Noralf Trønnes wrote: The majority of drivers use drm_gem_prime_export() and drm_gem_prime_import() for these callbacks so let's make them the default. Signed-off-by: Noralf Trønnes --- Documentation/gpu/to

Re: [RFC 0/3] drm/gem: Add drm_gem_object_funcs

2018-09-22 Thread Noralf Trønnes
Den 22.09.2018 12.04, skrev Daniel Vetter: On Fri, Sep 21, 2018 at 06:42:27PM +0200, Noralf Trønnes wrote: Hi, I've found it odd that the GEM object has its callbacks on drm_driver and not a vtable of its own. But something being odd isn't enough to make a change (me thinks). After working on

Re: [PATCH 21/27] drm/sun4i: Add support for H6 HDMI PHY

2018-09-22 Thread Chen-Yu Tsai
On Sun, Sep 2, 2018 at 3:28 PM Jernej Skrabec wrote: > > H6 has Synopsys DWC HDMI 2.0 TX PHY. > > mpll settings were calculated from specifications of similar Synopsys > HDMI PHY found in i.MX6. Other PHY settings were derived from BSP PHY > driver code. > > Signed-off-by: Jernej Skrabec > --- >

[Bug 105333] [gallium-nine] missing geometry after commit ac: replace ac_build_kill with ac_build_kill_if_false

2018-09-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105333 Axel Davy changed: What|Removed |Added Attachment #141686|0 |1 is obsolete|

[Bug 105333] [gallium-nine] missing geometry after commit ac: replace ac_build_kill with ac_build_kill_if_false

2018-09-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105333 Axel Davy changed: What|Removed |Added CC||davyax...@gmail.com --- Comment #15 from Ax

[Bug 107940] libdrm 2.4.94-1 causes blender to crash on opencl

2018-09-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107940 --- Comment #4 from Augusto Fraga Giachero --- I've found the commit that introduces this bug: 7aa1a511336dd7cb26dafef81d76edd6978a6cdf -- You are receiving this mail because: You are the assignee for the bug.__

Re: [PATCH 14/27] drm/bridge/synopsys: dw-hdmi: Enable workaround for v2.12a

2018-09-22 Thread Chen-Yu Tsai
On Sun, Sep 2, 2018 at 3:27 PM Jernej Skrabec wrote: > > It turns out that even new DW HDMI controllers exhibits same mangenta magenta? Otherwise, FWIW, Reviewed-by: Chen-Yu Tsai > line issues as older versions. > > Enable workaround for v2.12a. > > Signed-off-by: Jernej Skrabec > --- > dri

Re: [PATCH 13/27] drm/sun4i: Add support for H6 DE3 mixer 0

2018-09-22 Thread Chen-Yu Tsai
On Sat, Sep 22, 2018 at 9:23 PM Chen-Yu Tsai wrote: > > On Sun, Sep 2, 2018 at 3:27 PM Jernej Skrabec wrote: > > > > Mixer 0 has 1 VI and 3 UI planes, scaler on all planes and can output > > 4K image @60Hz. It also support 10 bit colors. > > AFAICT 10 bit color support is not implemented? Please

Re: RFE: DRM_IOCTL_MODE_EXPOSE_LEASE

2018-09-22 Thread Troll Berserker
On 22/09/18 11:45, Daniel Vetter wrote: Hi, On Sat, Sep 22, 2018 at 05:55:00AM +0300, Troll Berserker wrote: Goal: simplify multiseat support. Sounds like a neat idea to use leases for this. A new parameter was added to the Xorg server to make it use a passed file descriptor instead of /d

Re: [PATCH 09/27] dt-bindings: display: sun4i-drm: Add H6 display engine compatibles

2018-09-22 Thread Chen-Yu Tsai
On Mon, Sep 17, 2018 at 1:44 PM Rob Herring wrote: > > On Sun, 2 Sep 2018 09:26:25 +0200, Jernej Skrabec wrote: > > This commit adds compatibles used in H6 display pipeline, namely for > > display engine, mixer and TV TCON. > > > > H6 display engine is somewhat similar to R40, just less TCONs and

Re: [PATCH 17/27] drm/sun4i: dw-hdmi: Add quirk for setting TMDS clock

2018-09-22 Thread Chen-Yu Tsai
On Sun, Sep 2, 2018 at 3:27 PM Jernej Skrabec wrote: > > It turns out that H6 HDMI BSP kernel driver doesn't change TMDS rate at > all. At this point it is not clear whether it is just not necessary or > it would cause some kind of issues. > > Add a quirk for it. > > Signed-off-by: Jernej Skrabec

Re: [PATCH 16/27] drm/sun4i: dw-hdmi: Make mode_valid function configurable

2018-09-22 Thread Chen-Yu Tsai
On Sun, Sep 2, 2018 at 3:27 PM Jernej Skrabec wrote: > > Since it is not possible to access sun8i-dw-hdmi driver private data > inside mode_valid function, make it configurable. That way different > versions of HDMI controllers can set different function, depending on > it's limitations. > > Signe

[PATCH libdrm] tests/util: Add support for sun4i-drm driver

2018-09-22 Thread Ezequiel Garcia
This is the DRM driver for all Allwinner (sunxi) platforms. Signed-off-by: Ezequiel Garcia --- tests/util/kms.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/util/kms.c b/tests/util/kms.c index a2d1d7ba2431..5af8bf20a8c9 100644 --- a/tests/util/kms.c +++ b/tests/util/kms.c @@ -145,6

Re: [PATCH 13/27] drm/sun4i: Add support for H6 DE3 mixer 0

2018-09-22 Thread Chen-Yu Tsai
On Sun, Sep 2, 2018 at 3:27 PM Jernej Skrabec wrote: > > Mixer 0 has 1 VI and 3 UI planes, scaler on all planes and can output > 4K image @60Hz. It also support 10 bit colors. AFAICT 10 bit color support is not implemented? Please mention this. > > Signed-off-by: Jernej Skrabec > --- > drivers

Re: [PATCH 12/27] drm/sun4i: Add basic support for DE3

2018-09-22 Thread Chen-Yu Tsai
On Sun, Sep 2, 2018 at 3:27 PM Jernej Skrabec wrote: > > Display Engine 3 is an upgrade of DE2 with new features like support for > 10 bit color formats and support for AFBC. > > Most of DE2 code works with DE3, except some small details. > > Add support for it. > > Signed-off-by: Jernej Skrabec

[Bug 105333] [gallium-nine] missing geometry after commit ac: replace ac_build_kill with ac_build_kill_if_false

2018-09-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105333 --- Comment #14 from Axel Davy --- The app uses both alpha test and kill_if (with some kill_if inside an if). Maybe an issue combining ifs ? I see old code was doing a min between the kill conditions, not sure how it is handled now. -- You are

Re: [linux-sunxi] [PATCH 11/27] drm/sun4i: Rework DE2 register defines

2018-09-22 Thread Chen-Yu Tsai
Hi, On Sun, Sep 2, 2018 at 3:27 PM Jernej Skrabec wrote: > > Most, if not all, registers found in DE2 still exists in DE3. However, > units are on different base addresses. > > To prepare for addition of DE3 support, registers macros are reworked so > they take base address as parameter. > > Sign

[RFC/PATCH 0/2] Clarify display info PIXDATA bus flags

2018-09-22 Thread Laurent Pinchart
Hello, This patch series attemps at clarifying usage of the DRM_BUS_FLAG_PIXDATA_(POS|NEG)EDGE flags. It results from a discussion on the mailing list available at [1]. The problem being discussed was confusion around how the DRM_BUS_FLAG_PIXDATA_POSEDGE and DRM_BUS_FLAG_PIXDATA_NEGEDGE flags cou

[RFC/PATCH 2/2] drm: Use new DRM_BUS_FLAG_PIXDATA_(DRIVE|SAMPLE)_(POS|NEG)EDGE flags

2018-09-22 Thread Laurent Pinchart
The DRM_BUS_FLAG_PIXDATA_(POS|NEG)EDGE flags are deprecated in favour of the new DRM_BUS_FLAG_PIXDATA_(DRIVE|SAMPLE)_(POS|NEG)EDGE flags. Replace them through the code. Signed-off-by: Laurent Pinchart --- drivers/gpu/drm/bridge/dumb-vga-dac.c| 6 +++--- drivers/gpu/drm/drm_modes

[RFC/PATCH 1/2] drm: Clarify definition of the DRM_BUS_FLAG_PIXDATA_* macros

2018-09-22 Thread Laurent Pinchart
The DRM_BUS_FLAG_PIXDATA_POSEDGE and DRM_BUS_FLAG_PIXDATA_NEGEDGE macros define on which pixel clock edge data signals are driven. They are however used in some drivers to define on which pixel clock edge data signals are sampled, which should usually (but not always) be the opposite edge of the dr

Re: [PATCH v2 1/8] drm/bridge: use bus flags in bridge timings

2018-09-22 Thread Laurent Pinchart
Hi Stefan, On Tuesday, 18 September 2018 21:14:22 EEST Stefan Agner wrote: > On 14.09.2018 02:23, Laurent Pinchart wrote: > > On Wednesday, 12 September 2018 21:32:15 EEST Stefan Agner wrote: > >> The DRM bus flags conveys additional information on pixel data on > >> the bus. All currently availab

[Bug 201203] New: [nouveau] Nvidia chip stops turning off on resume from suspend after AC state change

2018-09-22 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=201203 Bug ID: 201203 Summary: [nouveau] Nvidia chip stops turning off on resume from suspend after AC state change Product: Drivers Version: 2.5 Kernel Version: 4.12 - 4.18 opensuse ke

Re: [RFC 2/3] drm/gem: Add drm_gem_object_funcs

2018-09-22 Thread Daniel Vetter
On Fri, Sep 21, 2018 at 06:42:29PM +0200, Noralf Trønnes wrote: > This adds an optional function table on GEM objects. > The main benefit is for drivers that support more than one type of > memory (shmem,vram,cma) for their buffers depending on the hardware it > runs on. With the callbacks attached

Re: [RFC 1/3] drm/driver: Add defaults for .gem_prime_export/import callbacks

2018-09-22 Thread Daniel Vetter
On Fri, Sep 21, 2018 at 06:42:28PM +0200, Noralf Trønnes wrote: > The majority of drivers use drm_gem_prime_export() and > drm_gem_prime_import() for these callbacks so let's make them the > default. > > Signed-off-by: Noralf Trønnes > --- > Documentation/gpu/todo.rst | 7 +++ > drivers/gp

Re: [RFC 0/3] drm/gem: Add drm_gem_object_funcs

2018-09-22 Thread Daniel Vetter
On Fri, Sep 21, 2018 at 06:42:27PM +0200, Noralf Trønnes wrote: > Hi, > > I've found it odd that the GEM object has its callbacks on drm_driver > and not a vtable of its own. But something being odd isn't enough to > make a change (me thinks). > > After working on the GEM shmem helper I saw that

[Bug 108015] Enabling pp_od_clk_voltage causes the gpu to be locked to lowest power level until some value is written to pp_od_clk_voltage and then the pp_od_clk_voltage is reset.

2018-09-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108015 --- Comment #1 from igo95...@yandex.ru --- I just discovered that "echo 'c' > pp_od_clk_voltage" needs to be run twice before it takes effect. I will retest my sequence tomorrow. -- You are receiving this mail because: You are the assignee for

Re: [PATCH v4 6/6] drm: move quirk_addfb_prefer_xbgr_30bpp handling to drm_driver_legacy_fb_format too

2018-09-22 Thread Daniel Vetter
On Fri, Sep 21, 2018 at 03:47:04PM +0200, Gerd Hoffmann wrote: > Signed-off-by: Gerd Hoffmann Reviewed-by: Daniel Vetter > --- > drivers/gpu/drm/drm_fourcc.c | 5 + > drivers/gpu/drm/drm_framebuffer.c | 4 > 2 files changed, 5 insertions(+), 4 deletions(-) > > diff --git a/drive

Re: [PATCH v4 2/6] drm: use drm_driver_legacy_fb_format in drm_gem_fbdev_fb_create

2018-09-22 Thread Daniel Vetter
On Fri, Sep 21, 2018 at 03:47:00PM +0200, Gerd Hoffmann wrote: > Creating framebuffers for fbdev emulation should use the correct format > code too, so switch drm_gem_fbdev_fb_create() over to use the new > drm_driver_legacy_fb_format() function. > > Signed-off-by: Gerd Hoffmann > Acked-by: Danie

Re: [PATCH] drm/fb_helper: Allow leaking fbdev smem_start

2018-09-22 Thread Daniel Vetter
On Fri, Sep 21, 2018 at 04:07:40PM +0200, Maxime Ripard wrote: > Hi, > > On Thu, Sep 20, 2018 at 03:04:12PM +0200, Neil Armstrong wrote: > > Since "drm/fb: Stop leaking physical address", the default behaviour of > > the DRM fbdev emulation is to set the smem_base to 0 and pass the new > > FBINFO_

Re: [Intel-gfx] [PATCH 3/6] drm/i915: Leave intel_conn->mst_port set, use mst_port_gone instead

2018-09-22 Thread Daniel Vetter
On Fri, Sep 21, 2018 at 04:17:16PM -0400, Lyude Paul wrote: > On Fri, 2018-09-21 at 11:27 +0200, Daniel Vetter wrote: > > On Tue, Sep 18, 2018 at 07:06:19PM -0400, Lyude Paul wrote: > > > Currently we set intel_connector->mst_port to NULL to signify that the > > > MST port has been removed from the

Re: RFE: DRM_IOCTL_MODE_EXPOSE_LEASE

2018-09-22 Thread Daniel Vetter
Hi, On Sat, Sep 22, 2018 at 05:55:00AM +0300, Troll Berserker wrote: > Goal: simplify multiseat support. Sounds like a neat idea to use leases for this. > A new parameter was added to the Xorg server to make it use a passed > file descriptor instead of /dev/dri/card*. This enables one to star

[Bug 108020] Screen artifacting with 4.18+ kernels on AMD Radeon Vega 64 & 1440p 120hz+ monitors

2018-09-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108020 Bug ID: 108020 Summary: Screen artifacting with 4.18+ kernels on AMD Radeon Vega 64 & 1440p 120hz+ monitors Product: DRI Version: XOrg git Hardware: Other

[Bug 108019] Gothic 2 under wine does not redraw in fullscreen

2018-09-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108019 Bug ID: 108019 Summary: Gothic 2 under wine does not redraw in fullscreen Product: Mesa Version: 18.2 Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW

Re: [PATCH v2] drm/scheduler: remove timeout work_struct from drm_sched_job

2018-09-22 Thread Christian König
Am 21.09.2018 um 20:57 schrieb Nayan Deshmukh: having a delayed work item per job is redundant as we only need one per scheduler to track the time out the currently executing job. v2: the first element of the ring mirror list is the currently executing job so we don't need a additional variable