XDC2014: Call for paper

2014-05-02 Thread Martin Peres
Hello, I have the pleasure to announce that the X.org Developer Conference 2014 will be held in Bordeaux, France from October 8th to October 10th. The venue is located in the campus of the University of Bordeaux 1, in the computer science research lab called LaBRI. The official page for the eve

[Bug 77142] Garbled text in Gtk2 applications

2014-05-02 Thread bugzilla-dae...@freedesktop.org
|high -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140502/26ef4675/attachment.html>

[Bug 60879] [radeonsi] X11 can't start with acceleration enabled

2014-05-02 Thread bugzilla-dae...@freedesktop.org
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140502/685f583c/attachment-0001.html>

[Bug 78169] raetikon game does segfault

2014-05-02 Thread bugzilla-dae...@freedesktop.org
bbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140502/e8ca409c/attachment.html>

[PATCH] drm/radeon: Fix num_banks calculation for SI

2014-05-02 Thread Michel Dänzer
On 22.04.2014 21:51, Alex Deucher wrote: > On Tue, Apr 22, 2014 at 3:53 AM, Michel D?nzer wrote: >> From: Michel D?nzer >> >> The way the tile mode array index was calculated only makes sense for >> the CIK specific macrotile mode array. For SI, we need to use one of the >> tile mode array indice

[PATCH] drm: fix memory leak around mode_group (v2)

2014-05-02 Thread Dave Airlie
From: Dave Airlie This mode group id_list was never being freed. v2: take David's suggestion to free in minor_free. Signed-off-by: Dave Airlie --- drivers/gpu/drm/drm_crtc.c | 6 ++ drivers/gpu/drm/drm_stub.c | 1 + include/drm/drm_crtc.h | 1 + 3 files changed, 8 insertions(+) diff

[Bug 60879] [radeonsi] X11 can't start with acceleration enabled

2014-05-02 Thread bugzilla-dae...@freedesktop.org
replaced by cgts_tcc_disable |= RREG32(CGTS_TCC_DISABLE); -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140502/936b70fc/attachment.html>

[Bug 74911] [R9 270X] - Frozen display output and no response from keyboard right after loading kernel image and initramfs

2014-05-02 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=74911 --- Comment #5 from Michel D?nzer --- (In reply to Ivan Bulatovic from comment #3) > Apologies, it opts out after a minute just like you've said it would. Yep, that timeout is one of the biggest downsides of building the driver into the kernel in

[Bug 74911] [R9 270X] - Frozen display output and no response from keyboard right after loading kernel image and initramfs

2014-05-02 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=74911 --- Comment #6 from Michel D?nzer --- (In reply to Ivan Bulatovic from comment #2) > Don't mean to be rude or anything, but I don't know if it is recommended (or > desirable) to commit a piece of code to mainline that will _require_ a blob > that

[Bug 78169] raetikon game does segfault

2014-05-02 Thread bugzilla-dae...@freedesktop.org
|--- |NOTOURBUG -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140502/df44c9c6/attachment.html>

[Bug 78169] raetikon game does segfault

2014-05-02 Thread bugzilla-dae...@freedesktop.org
this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140502/f9f65c4e/attachment.html>

[Bug 73781] [r600g] SIGFPE at ../../../../../src/gallium/drivers/r600/r600_state.c:3109

2014-05-02 Thread bugzilla-dae...@freedesktop.org
-- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140502/84c20447/attachment.html>

[Bug 77966] Trails / Tracks when rendering OpenGL ES 2 moving objects (Android-x86 / Mesa 10.0.4/5)

2014-05-02 Thread bugzilla-dae...@freedesktop.org
. Preferably using git send-email, but at least using git format-patch. -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140502/7f0f4

[RFC] drm + i915 DP MST code preview

2014-05-02 Thread Dave Airlie
Hi, Branch: http://cgit.freedesktop.org/~airlied/linux/log/?h=drm-i915-mst-support Okay I've gotten this to light up some monitors using -modesetting so it must be ready for an initial posting, Tested on Haswell so far with Lenovo Ultradock and with Ancell MST Hub devices, (checked it can detect

[PATCH 1/8] drm/dp_helper: add defines for DP 1.2 and MST support.

2014-05-02 Thread Dave Airlie
From: Dave Airlie This just adds the defines from the DP 1.2 spec, which we will use later. Signed-off-by: Dave Airlie --- include/drm/drm_dp_helper.h | 78 + 1 file changed, 78 insertions(+) diff --git a/include/drm/drm_dp_helper.h b/include/drm/dr

[PATCH 2/8] drm: add DP MST encoder type

2014-05-02 Thread Dave Airlie
From: Dave Airlie This adds an encoder type for DP MST encoders. Signed-off-by: Dave Airlie --- drivers/gpu/drm/drm_crtc.c | 1 + include/uapi/drm/drm_mode.h | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c index a3fe324..f1753e6 10

[PATCH 3/8] drm/i915: add some registers need for displayport MST support.

2014-05-02 Thread Dave Airlie
From: Dave Airlie These are just from the Haswell spec. Signed-off-by: Dave Airlie --- drivers/gpu/drm/i915/i915_reg.h | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h index 8f84555..557b37a 100644

[PATCH 4/8] drm/crtc: add interface to reinitialise the legacy mode group

2014-05-02 Thread Dave Airlie
From: Dave Airlie This can be called to update things after dynamic connectors/encoders are created/deleted. Signed-off-by: Dave Airlie --- drivers/gpu/drm/drm_crtc.c | 9 + include/drm/drm_crtc.h | 1 + 2 files changed, 10 insertions(+) diff --git a/drivers/gpu/drm/drm_crtc.c b/d

[PATCH 5/8] drm/helper: add Displayport multi-stream helper

2014-05-02 Thread Dave Airlie
From: Dave Airlie This is the initial import of the helper for displayport multistream. It consists of a topology manager, init/destroy/set mst state It supports DP 1.2 MST sideband msg protocol handler - via hpd irqs connector detect and edid retrieval interface. It supports i2c device over

[PATCH 6/8] i915: split some DP modesetting code into a separate function

2014-05-02 Thread Dave Airlie
From: Dave Airlie this is just prep work for mst support. Signed-off-by: Dave Airlie --- drivers/gpu/drm/i915/intel_ddi.c | 20 +--- drivers/gpu/drm/i915/intel_drv.h | 1 + 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_ddi.c b/drive

[PATCH 7/8] drm/i915: check connector->encoder before using it.

2014-05-02 Thread Dave Airlie
From: Dave Airlie DP MST will need connectors that aren't connected to specific encoders, add some checks in advance to avoid oopses. Signed-off-by: Dave Airlie --- drivers/gpu/drm/i915/i915_debugfs.c | 16 +--- drivers/gpu/drm/i915/i915_irq.c | 4 drivers/gpu/drm/i915/

[PATCH 8/8] i915: add DP 1.2 MST support (v0.1)

2014-05-02 Thread Dave Airlie
From: Dave Airlie This adds DP 1.2 MST support on Haswell systems. Notes: a) this reworks irq handling for DP MST ports, so that we can avoid the mode config locking in the current hpd handlers, as we need to process up/down msgs at a better time. b) it introduces a new MST output type. c) it

[RFC] drm + i915 DP MST code preview

2014-05-02 Thread Dave Airlie
TODO: fix fbcon I forgot to mention no fbcon yet :-) Dave. On 2 May 2014 14:39, Dave Airlie wrote: > Hi, > > Branch: http://cgit.freedesktop.org/~airlied/linux/log/?h=drm-i915-mst-support > > Okay I've gotten this to light up some monitors using -modesetting so it > must be ready for an initial

[PATCH] drm/i915: squash state tracker warnings with DP MST

2014-05-02 Thread Dave Airlie
From: Dave Airlie This fixes the main warning tracebacks I've been seeing here. Signed-off-by: Dave Airlie --- drivers/gpu/drm/i915/intel_ddi.c | 5 + drivers/gpu/drm/i915/intel_dp_mst.c | 2 ++ drivers/gpu/drm/i915/intel_opregion.c | 1 + 3 files changed, 8 insertions(+) diff --gi

[PATCH v2 04/10] drm/nouveau/fb: add GK20A support

2014-05-02 Thread Terje Bergström
On 01.05.2014 07:49, Alexandre Courbot wrote: > Agreed. Besides I hope the day won't come where we have to go through > 2 layers of memory translation for the GPU... That's actually the method of operation that gives us the best performance. GPU likes big pages, and without IOMMU translation you'd

[PATCH 4/5] drm/radeon: rework page flip handling

2014-05-02 Thread Michel Dänzer
On 29.04.2014 23:29, Christian K?nig wrote: > From: Christian K?nig > > Instead of trying to flip inside the vblank period when > the buffer is idle, offload blocking for idle to a kernel > thread and program the flip directly into the hardware. > > Signed-off-by: Christian K?nig [...] > +/** >

[RFC] drm + i915 DP MST code preview

2014-05-02 Thread Chris Wilson
On Fri, May 02, 2014 at 02:39:37PM +1000, Dave Airlie wrote: > Hi, > > Branch: http://cgit.freedesktop.org/~airlied/linux/log/?h=drm-i915-mst-support > > Okay I've gotten this to light up some monitors using -modesetting so it > must be ready for an initial posting, I see that connectors are add

[PATCH v4 0/9] drm/nouveau: support for GK20A, cont'd

2014-05-02 Thread Alexandre Courbot
Latest patches for GK20A, taking comments received for v3 into account. Changes since v3: - use only pfn_to_page() and page_to_pfn() in GK20A's FB. These functions are present on every arch and the physical address to page frame number conversion is also consistently a shift of PAGE_SHIFT. Thi

[PATCH v4 1/9] drm/nouveau/bar: only ioremap BAR3 if it exists

2014-05-02 Thread Alexandre Courbot
Some chips that use system memory exclusively (e.g. GK20A) do not expose 2 BAR regions. For them only BAR1 exists, and it should be used for USERD mapping. Do not map BAR3 if its resource does not exist. Signed-off-by: Alexandre Courbot Reviewed-by: Thierry Reding --- drivers/gpu/drm/nouveau/co

[PATCH v4 2/9] drm/nouveau/bar/nvc0: support chips without BAR3

2014-05-02 Thread Alexandre Courbot
Adapt the NVC0 BAR driver to make it able to support chips that do not expose a BAR3. When this happens, BAR1 is then used for USERD mapping and the BAR alloc() functions is disabled, making GPU objects unable to rely on BAR for data access and falling back to PRAMIN. Signed-off-by: Alexandre Cour

[PATCH v4 3/9] drm/nouveau/ibus: add GK20A support

2014-05-02 Thread Alexandre Courbot
Add support for initializing the priv ring of GK20A. This is done by the BIOS on desktop GPUs, but needs to be done by hand on Tegra. Signed-off-by: Alexandre Courbot --- drivers/gpu/drm/nouveau/Makefile | 1 + drivers/gpu/drm/nouveau/core/include/subdev/ibus.h | 1 + drive

[PATCH v4 4/9] drm/nouveau/fb: add GK20A support

2014-05-02 Thread Alexandre Courbot
Add a simple FB device for GK20A, as well as a RAM implementation based on contiguous DMA memory allocations suitable for chips that use system memory as video RAM. Signed-off-by: Alexandre Courbot --- drivers/gpu/drm/nouveau/Makefile | 2 + drivers/gpu/drm/nouveau/core/includ

[PATCH v4 5/9] drm/nouveau/fifo: add GK20A support

2014-05-02 Thread Alexandre Courbot
GK20A's FIFO is compatible with NVE0, but only features 128 channels and 1 runlist. Signed-off-by: Alexandre Courbot Reviewed-by: Thierry Reding --- drivers/gpu/drm/nouveau/Makefile | 1 + drivers/gpu/drm/nouveau/core/engine/fifo/gk20a.c | 35 ++ drivers

[PATCH v4 6/9] drm/nouveau/graph: enable when using external fw

2014-05-02 Thread Alexandre Courbot
nvc0_graph_ctor() would only let the graphics engine be enabled if its oclass has a proper microcode linked to it. This prevents GR from being enabled at all on chips that rely exclusively on external firmware, even though such a use-case is valid. Relax the conditions enabling the GR engine to al

[PATCH v4 7/9] drm/nouveau/graph: pad firmware code at load time

2014-05-02 Thread Alexandre Courbot
Pad the microcode to a multiple of 0x40 words, otherwise firmware will fail to run from non-prepadded firmware files. Signed-off-by: Alexandre Courbot Reviewed-by: Thierry Reding --- drivers/gpu/drm/nouveau/core/engine/graph/nvc0.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers

[PATCH v4 8/9] drm/nouveau/graph: add GK20A support

2014-05-02 Thread Alexandre Courbot
Add a GR device for GK20A based on NVE4, with the correct classes definitions (GK20A's 3D class is 0xa297). Most of the NVE4 code can be used on GK20A, so make relevant bits of NVE4 available to other chips as well. Signed-off-by: Alexandre Courbot --- drivers/gpu/drm/nouveau/Makefile

[PATCH v4 9/9] drm/nouveau: support for probing GK20A

2014-05-02 Thread Alexandre Courbot
Set the correct subdev/engine classes when GK20A (0xea) is probed. Signed-off-by: Alexandre Courbot --- drivers/gpu/drm/nouveau/core/engine/device/nve0.c | 17 + 1 file changed, 17 insertions(+) diff --git a/drivers/gpu/drm/nouveau/core/engine/device/nve0.c b/drivers/gpu/drm/no

[PATCH] drm/ttm: remove declaration of ttm_tt_cache_flush

2014-05-02 Thread Alexandre Courbot
ttm_tt_cache_flush's implementation was removed in 2009 by commit c9c97b8c, but its declaration has been hiding in ttm_bo_driver.h since then. It has been surviving in the dark for too long now ; give it the coup de gr?ce. Signed-off-by: Alexandre Courbot --- include/drm/ttm/ttm_bo_driver.h | 1

[PATCH] drm/radeon: Fix num_banks calculation for SI

2014-05-02 Thread Christian König
Am 02.05.2014 04:20, schrieb Michel D?nzer: > On 22.04.2014 21:51, Alex Deucher wrote: >> On Tue, Apr 22, 2014 at 3:53 AM, Michel D?nzer wrote: >>> From: Michel D?nzer >>> >>> The way the tile mode array index was calculated only makes sense for >>> the CIK specific macrotile mode array. For SI,

[patch] drm/panel: s6e8aa0: silence array overflow warning

2014-05-02 Thread Thierry Reding
not available Type: application/pgp-signature Size: 836 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140502/53d6236d/attachment-0001.sig>

[PATCH] drm/ttm: remove declaration of ttm_tt_cache_flush

2014-05-02 Thread Thierry Reding
ilable Type: application/pgp-signature Size: 836 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140502/991e7db2/attachment.sig>

[Bug 77142] Garbled text in Gtk2 applications

2014-05-02 Thread bugzilla-dae...@freedesktop.org
the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140502/78dca875/attachment.html>

[Bug 60879] [radeonsi] X11 can't start with acceleration enabled

2014-05-02 Thread bugzilla-dae...@freedesktop.org
- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140502/fbe0693c/attachment.html>

[PATCH 1/2] drm/radeon: add large PTE support for NI, SI and CIK v4

2014-05-02 Thread Christian König
Am 01.05.2014 19:29, schrieb Jay Cornwall: > On 2014-05-01 11:52, Christian K?nig wrote: > > Some minor comment fixes inline. I've been using v3 of this patch on > SI for quite a while, with no visible failures. Thanks for the notes. I've added them to my v5 of the patch and also updated the fil

[Bug 75211] Division error in radeon_compute_pll_avivo (X hang)

2014-05-02 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=75211 --- Comment #8 from Christian K?nig --- Created attachment 134701 --> https://bugzilla.kernel.org/attachment.cgi?id=134701&action=edit Possible fix. Please try to reproduce the issue with the attached patch applied. It would still not work cor

[Bug 75241] radeon_compute_pll_avivo broken in 3.15-rc3

2014-05-02 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=75241 --- Comment #4 from Christian K?nig --- (In reply to Clemens Ladisch from comment #3) > 3.14: > 16205, pll dividers - fb: 135.8 ref: 2, post 6 > > With the patch: > 162000 - 161990, pll dividers - fb: 271.5 ref: 4, post 6 > > And the patch indee

[PATCH 4/5] drm/radeon: rework page flip handling

2014-05-02 Thread Christian König
> I'm a little worried about this case. AFAICT this would drop the flip if > a previous one is still pending? I'm not sure current userspace can > actually hit this Yeah, that concerned me as well. The old code dropped the the new flip as well, so I'm pretty sure that the new handling is right and

[PATCH v2 libdrm 4/7] tegra: Add channel, job, pushbuf and fence APIs

2014-05-02 Thread Thierry Reding
b; > > + > > +struct drm_tegra_pushbuf { > > + uint32_t *ptr; > > +}; > > Hmm, single-member structs always makes me cringe a bit. But in this > case it's much better than a double-pointer IMO. > > But perhaps some of the members in the private-struct might be useful > out here? For instance, if "uint32_t *end;" was also available, we > could do: > > inline void drm_tegra_pushbuf_push_word(struct drm_tegra_pushbuf > *pushbuf, uint32_t value) > { >assert(pushbuf->ptr < pushbuf->end); >*pushbuf->ptr++ = value; > } > > ...and easily pick up bugs with too few words? The helper would of > course be in the header-file, so the write gets inlined nicely. Sounds good. If you have no strong objections, I'd like to keep that for a follow on patch when there's more code that actively uses this API. It should be fairly safe to make more members public via drm_tegra_pushbuf rather than the other way around, so I'd like to err on the side of carefulness for a bit longer. Thanks for the review, and apologies for being sluggish. Thierry -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140502/d26b7c0c/attachment.sig>

[PATCH v2 libdrm 1/7] configure: Support symbol visibility when available

2014-05-02 Thread Thierry Reding
ld fit. Others are either installed (and therefore shouldn't be exposing these macros) or have a very specific purpose (xf86atomic.h). Thierry -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140502/4a0ac752/attachment.sig>

[PATCH v2 libdrm 3/7] tegra: Add simple test for drm_tegra_open()

2014-05-02 Thread Thierry Reding
y `/home/kusma/src/libdrm/tests/tegra' > make: *** [check-am] Error 2 > make: Leaving directory `/home/kusma/src/libdrm/tests/tegra' I've modified the tests to default to /dev/dri/card0 if no device was specified on the command-line. Thierry -- next part ---

[PATCH v2 libdrm 6/7] tegra: Add gr2d-fill test

2014-05-02 Thread Thierry Reding
width / 2, fb->height / 2, > > 0x); > > + if (err < 0) { > > + fprintf(stderr, "failed to fill rectangle: %s\n", > > + strerror(-err)); > > + return 1; > > + } > > + > &g

[PATCH v2 libdrm 5/7] tegra: Add helper library for tests

2014-05-02 Thread Thierry Reding
NODEV; > > + > > + crtc = drmModeGetCrtc(screen->fd, encoder->crtc_id); > > + if (!crtc) { > > + drmModeFreeEncoder(encoder); > > + return -ENODEV; > > + } > > + > > + screen->old_fb = crtc->buffer_id; > > + > > + fb = drmModeGetFB(screen->fd, crtc->buffer_id); > > + if (!fb) { > > + /* TODO: create new framebuffer */ > > What's the implications of not doing what this TODO says? It currently just means that we don't want to deal with this situation, which I think shouldn't be happening in the first place anyway. So the TODO is there mostly as a reminder that this could happen and that there *might* be something more useful than returning an error that could be done. Thierry -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140502/13d24a80/attachment.sig>

[Bug 77677] HDMI audio on ati7750 choppy with ALSA multi-channel apps

2014-05-02 Thread bugzilla-dae...@freedesktop.org
//lists.freedesktop.org/archives/dri-devel/attachments/20140502/761ecc89/attachment.html>

[PATCH v2 libdrm 5/7] tegra: Add helper library for tests

2014-05-02 Thread Thierry Reding
And I have no setup where I could reproduce it. I eventually managed to trigger a similar error by explicitly passing both -Wl,--as-needed and -Wl,--no-copy-dt-needed-entries in LDFLAGS at configure time. I now have a version that builds with or without these flags, so I hope that everyone will now be happy. Thierry -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140502/eb599cf6/attachment-0001.sig>

[PATCH v2 libdrm 4/7] tegra: Add channel, job, pushbuf and fence APIs

2014-05-02 Thread Erik Faye-Lund
On Fri, May 2, 2014 at 4:06 PM, Thierry Reding wrote: > On Thu, Apr 10, 2014 at 07:13:22PM +0200, Erik Faye-Lund wrote: >> >> But this raises the question, how is job->cmdbufs (and job->relocs) >> supposed to get free'd? >> >> I'm a bit curious as to what the expected life-time of these objects >

[PATCH v2 libdrm 1/7] configure: Support symbol visibility when available

2014-05-02 Thread Erik Faye-Lund
On Fri, May 2, 2014 at 4:12 PM, Thierry Reding wrote: > On Thu, Apr 10, 2014 at 07:15:14PM +0200, Erik Faye-Lund wrote: >> On Wed, Apr 9, 2014 at 1:40 PM, Thierry Reding >> wrote: >> > diff --git a/libdrm.h b/libdrm.h >> > new file mode 100644 >> > index ..23926e6f6741 >> > --- /dev

[PATCH v2 libdrm 6/7] tegra: Add gr2d-fill test

2014-05-02 Thread Erik Faye-Lund
On Fri, May 2, 2014 at 4:25 PM, Thierry Reding wrote: > On Thu, Apr 10, 2014 at 07:28:16PM +0200, Erik Faye-Lund wrote: >> On Wed, Apr 9, 2014 at 1:40 PM, Thierry Reding >> wrote: >> > diff --git a/tests/tegra/gr2d-fill.c b/tests/tegra/gr2d-fill.c >> > new file mode 100644 >> > index 00

[Bug 75939] Natural Selection 2 causes a GPU Lockup at start

2014-05-02 Thread bugzilla-dae...@freedesktop.org
-- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140502/213b7103/attachment.html>

[PATCH v2 libdrm 5/7] tegra: Add helper library for tests

2014-05-02 Thread Erik Faye-Lund
On Fri, May 2, 2014 at 4:42 PM, Thierry Reding wrote: > On Thu, Apr 10, 2014 at 07:33:33PM +0200, Erik Faye-Lund wrote: >> On Wed, Apr 9, 2014 at 1:40 PM, Thierry Reding >> wrote: >> > From: Thierry Reding >> > >> > This library provides helpers for common functionality needed by test >> > pro

[PATCH v2 libdrm 4/7] tegra: Add channel, job, pushbuf and fence APIs

2014-05-02 Thread Thierry Reding
e that actively uses this API. It > > should be fairly safe to make more members public via drm_tegra_pushbuf > > rather than the other way around, so I'd like to err on the side of > > carefulness for a bit longer. > > Hmm, isn't it the *current* code that is "careless" in this case? The > client doesn't have enough context to validate this itself (without > having access to the end-pointer)? What I meant was being careful about how much we expose. Whatever we expose now we can potentially never hide again because code may depend on it being public. I don't think it's particularly careless to require the caller to prepare a buffer. If they then write past its end, that's their issue. That's like malloc()ing a buffer and then filling it with more bytes than you've allocated. That's not the level of safety that this API needs in my opinion. Thierry -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140502/d2f7fda4/attachment.sig>

[PATCH v2 libdrm 5/7] tegra: Add helper library for tests

2014-05-02 Thread Erik Faye-Lund
On Wed, Apr 9, 2014 at 1:40 PM, Thierry Reding wrote: > +int drm_open(const char *path) > +{ > + int fd, err; > + > + fd = open(path, O_RDWR); > + if (fd < 0) > + return -errno; > + > + err = drmSetMaster(fd); > + if (err < 0) { > + close(

[PATCH] drm/radeon: use pflip irq on R600+

2014-05-02 Thread Alex Deucher
On Mon, Apr 28, 2014 at 4:25 AM, Christian K?nig wrote: > From: Christian K?nig > > Testing the update pending bit directly after issuing an > update is nonsense cause depending on the pixel clock the > CRTC needs a bit of time to execute the flip even when we > are in the VBLANK period. > > This

[Bug 68059] with radeon.dpm=1, Xorg crashed a while after resume

2014-05-02 Thread bugzilla-dae...@freedesktop.org
part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140502/f04ac369/attachment.html>

[Bug 75211] Division error in radeon_compute_pll_avivo (X hang)

2014-05-02 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=75211 --- Comment #9 from Darren Salt --- No crash now. However, the kernel log is spammed with [drm:drm_crtc_helper_set_config] *ERROR* failed to set mode on [CRTC:14] I did notice what looked like some X spam too, but that's been lost over an X re

[PATCH v2 libdrm 4/7] tegra: Add channel, job, pushbuf and fence APIs

2014-05-02 Thread Erik Faye-Lund
On Fri, May 2, 2014 at 5:16 PM, Thierry Reding wrote: > On Fri, May 02, 2014 at 04:53:55PM +0200, Erik Faye-Lund wrote: >> On Fri, May 2, 2014 at 4:06 PM, Thierry Reding >> wrote: >> > On Thu, Apr 10, 2014 at 07:13:22PM +0200, Erik Faye-Lund wrote: >> >> > diff --git a/tegra/pushbuf.c b/tegra/p

[PATCH] drm/radeon: use pflip irq on R600+

2014-05-02 Thread Christian König
Am 02.05.2014 17:24, schrieb Alex Deucher: > On Mon, Apr 28, 2014 at 4:25 AM, Christian K?nig > wrote: >> From: Christian K?nig >> >> Testing the update pending bit directly after issuing an >> update is nonsense cause depending on the pixel clock the >> CRTC needs a bit of time to execute the fl

[PATCH] drm/radeon: use pflip irq on R600+

2014-05-02 Thread Alex Deucher
On Fri, May 2, 2014 at 12:23 PM, Christian K?nig wrote: > Am 02.05.2014 17:24, schrieb Alex Deucher: > >> On Mon, Apr 28, 2014 at 4:25 AM, Christian K?nig >> wrote: >>> >>> From: Christian K?nig >>> >>> Testing the update pending bit directly after issuing an >>> update is nonsense cause dependi

Lenovo x120e resume regression in 3.15-rc1 bisected to 'drm/crtc-helpers: fix dpms on logic'

2014-05-02 Thread Alex Deucher
RL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140502/598c24b9/attachment.patch>

Lenovo x120e resume regression in 3.15-rc1 bisected to 'drm/crtc-helpers: fix dpms on logic'

2014-05-02 Thread Tim Gardner
I've bisected a resume regression on a Lenovo x120e to 177cf92de4aa97ec1435987e91696ed8b5023130 (drm/crtc-helpers: fix dpms on logic). Everything works fine with this patch reverted on top of 3.15-rc3. I realize it is correcting a coding error that has been in place since 3.11, but it is also causi

Lenovo x120e resume regression in 3.15-rc1 bisected to 'drm/crtc-helpers: fix dpms on logic'

2014-05-02 Thread Tim Gardner
On 05/02/2014 11:21 AM, Alex Deucher wrote: > On Fri, May 2, 2014 at 12:40 PM, Tim Gardner > wrote: >> I've bisected a resume regression on a Lenovo x120e to >> 177cf92de4aa97ec1435987e91696ed8b5023130 (drm/crtc-helpers: fix dpms on >> logic). Everything works fine with this patch reverted on top

Lenovo x120e resume regression in 3.15-rc1 bisected to 'drm/crtc-helpers: fix dpms on logic'

2014-05-02 Thread Tim Gardner
ein the platform appears to be locked up (no console, >>> no network). See attached bisect log and lspci. The BIOS version is 1.15. >>> >> >> Does the attached patch help? I haven't had a chance to unwind all >> the logic in the crtc helper code. >> >&

[Bug 75241] radeon_compute_pll_avivo broken in 3.15-rc3

2014-05-02 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=75241 --- Comment #5 from Clemens Ladisch --- It's an Eizo S2100, but this should not matter because the clocks seen by the monitor are always about the same (162MHz/75kHz/60Hz). If some were out of range, the monitor would show an error message, but w

[Bug 77677] HDMI audio on ati7750 choppy with ALSA multi-channel apps

2014-05-02 Thread bugzilla-dae...@freedesktop.org
ake it work. -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140502/f965e205/attachment.html>

[ANNOUNCE] libdrm 2.4.54

2014-05-02 Thread Alex Deucher
Alex Deucher (1): bump version to 2.4.54 for release Daniel Kurtz (1): Use signed location for drmModeSetPlane Maarten Lankhorst (2): nouveau: safen up nouveau_device list usage against concurrent access amend previous commit to actually compile Rob Clark (2): modet

[Bug 77677] HDMI audio on ati7750 choppy with ALSA multi-channel apps

2014-05-02 Thread bugzilla-dae...@freedesktop.org
"upscacle" 1080 to 1080, cause that will kill performance. -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/2014