Re: drm: Changes to 'debian-experimental'

2012-09-10 Thread Michel Dänzer
On Son, 2012-09-09 at 15:33 -0700, Jordan Justen wrote: New branch 'debian-experimental' available with the following commits: I think you pushed this to the wrong repository? -- Earthling Michel Dänzer | http://www.amd.com Libre software enthusiast

Re: CPU and GPU cache-coherence

2011-06-15 Thread Michel Dänzer
Michel Dänzer |http://www.vmware.com Libre software enthusiast | Debian, X and DRI developer -- EditLive Enterprise is the world's most technically advanced content authoring tool

Re: CPU and GPU cache-coherence

2011-06-15 Thread Michel Dänzer
On Mit, 2011-06-15 at 16:58 +0200, Michel Dänzer wrote: On Die, 2011-06-07 at 21:42 +0800, Donnie Fang wrote: 3D render image on WC AGP aperture BO and then CPU fetch the image from this bo, in order to achieve performance, after 3D finished rendering, validate this bo into cached system

Re: [PATCH 1/3] fb: fix overlapping test off-by-one.

2010-12-20 Thread Michel Dänzer
-base == hw-base) return true; /* is the generic aperture base inside the hw base-hw base+size */ - if (gen-base hw-base gen-base = hw-base + hw-size) + if (gen-base hw-base gen-base hw-base + hw-size) Good catch. Reviewed-by: Michel Dänzer mic...@daenzer.net

Re: radeon kms on ppc status

2010-08-10 Thread Michel Dänzer
endianness issues in the Mesa tree, in particular concerning r300g but also the classic driver related to the OpenGL blit functionality. I've been meaning to clean up and push my hacks for those but had little time recently. -- Earthling Michel Dänzer |http://www.vmware.com Libre

Re: [PATCH] drm: Fix support for PCI domains

2010-08-06 Thread Michel Dänzer
Herrenschmidt b...@kernel.crashing.org Reviewed-by: Michel Dänzer mic...@daenzer.net Thanks for tackling this, Ben! -- Earthling Michel Dänzer |http://www.vmware.com Libre software enthusiast | Debian, X and DRI developer

Re: [PATCH] drm/fbdev: rework output polling to be back in the core. (v3)

2010-05-06 Thread Michel Dänzer
sent to xorg-devel, add intel polled/hpd setting, add initial nouveau polled/hpd settings. v3: add config lock take inside polling, add intel/nouveau poll init/fini calls Signed-off-by: Dave Airlie airl...@redhat.com Core and radeon parts Reviewed-by: Michel Dänzer mic...@daenzer.net

Re: RFC: output polling + disconnected operation

2010-05-05 Thread Michel Dänzer
) by making the kernel fake information. Wouldn't it be better to address these in userspace? Otherwise if more similar issues turn up, we might end up in a twisty maze of fake information, possibly with conflicting requirements. -- Earthling Michel Dänzer |http://www.vmware.com

Re: RFC: output polling + disconnected operation

2010-05-05 Thread Michel Dänzer
On Mit, 2010-05-05 at 20:25 +1000, Dave Airlie wrote: 2010/5/5 Michel Dänzer mic...@daenzer.net: On Mit, 2010-05-05 at 11:12 +1000, Dave Airlie wrote: So at startup X drivers genearlly seem to ask for a list of connectors and status for them, and if it can't find any connected, it goes

Re: [PATCH] drm/radeon/kms: Expose backlight class device for legacy LVDS encoder.

2010-05-03 Thread Michel Dänzer
On Die, 2009-12-08 at 12:24 +0100, Rafał Miłecki wrote: W dniu 8 grudnia 2009 12:03 użytkownik Michel Dänzer mic...@daenzer.net napisał: On Tue, 2009-12-08 at 11:32 +0100, Rafał Miłecki wrote: 2009/12/8 Michel Dänzer mic...@daenzer.net: From: Michel Dänzer daen...@vmware.com Allows

Re: [PATCH] drm/radeon/bo: add some fallback placements for VRAM only objects. (v2)

2010-04-27 Thread Michel Dänzer
-placement.lpfn = rdev-mc.visible_vram_size PAGE_SHIFT; r = ttm_bo_validate(bo, rbo-placement, false, true, false); if (unlikely(r != 0)) This will impose rbo-placement.lpfn for GTT as well, but it's only required for VRAM. -- Earthling Michel

Re: [PATCH] drm/radeon/bo: add some fallback placements for VRAM only objects. (v2)

2010-04-27 Thread Michel Dänzer
*rdev, struct drm_gem_object *gobj, BTW, this means there won't be any busy placements if (domain != RADEON_GEM_DOMAIN_VRAM || pinned). Not sure if that's a problem. -- Earthling Michel Dänzer |http://www.vmware.com Libre software enthusiast | Debian, X

[PATCH] drm/radeon: R300 AD only has one quad pipe.

2010-04-02 Thread Michel Dänzer
From: Michel Dänzer daen...@vmware.com Gleaned from the Mesa code. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=27355 . Signed-off-by: Michel Dänzer daen...@vmware.com Cc: sta...@kernel.org --- drivers/gpu/drm/radeon/r300.c |6 +++--- drivers/gpu/drm/radeon/radeon_cp.c | 10

Re: AGP force use of scratch page

2010-04-01 Thread Michel Dänzer
, uninorth_insert_memory: entry 0x%x occupied (%x)\n, i, gp[i]); This won't work for pre-U3 bridges, as bound table entries are marked by setting bit 0. (Maybe the driver just shouldn't use agp_generic_mask_memory?) -- Earthling Michel Dänzer

Re: [git pull] drm fixes

2010-03-30 Thread Michel Dänzer
transfer mode. -- Earthling Michel Dänzer |http://www.vmware.com Libre software enthusiast | Debian, X and DRI developer -- Download Intel#174; Parallel Studio Eval Try the new

Re: [PATCH 1/2] drm/radeon/bo: add some fallback placements for VRAM only objects.

2010-03-28 Thread Michel Dänzer
On Fri, 2010-03-26 at 19:20 +0100, Michel Dänzer wrote: On Thu, 2010-03-25 at 19:56 +1000, Dave Airlie wrote: 2010/3/25 Michel Dänzer mic...@daenzer.net: On Fri, 2010-03-19 at 10:35 +1000, Dave Airlie wrote: From: Dave Airlie airl...@redhat.com On constrained r100 systems compiz

Re: [PATCHES] radeon kms pm patches

2010-03-27 Thread Michel Dänzer
software fallbacks in the 3D driver. -- Earthling Michel Dänzer |http://www.vmware.com Libre software enthusiast | Debian, X and DRI developer -- Download Intel#174; Parallel

Re: [PATCH 1/2] drm/radeon/bo: add some fallback placements for VRAM only objects.

2010-03-26 Thread Michel Dänzer
On Thu, 2010-03-25 at 19:56 +1000, Dave Airlie wrote: 2010/3/25 Michel Dänzer mic...@daenzer.net: On Fri, 2010-03-19 at 10:35 +1000, Dave Airlie wrote: From: Dave Airlie airl...@redhat.com On constrained r100 systems compiz would fail to start due to a lack of memory, we can just

[PATCH] drm/radeon/kms: Only restrict BO to visible VRAM size when pinning to VRAM.

2010-03-26 Thread Michel Dänzer
From: Michel Dänzer daen...@vmware.com This prevented radeon.test=1 from testing transfers from/to GTT beyond the visible VRAM size. Signed-off-by: Michel Dänzer daen...@vmware.com --- drivers/gpu/drm/radeon/radeon_object.c |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff

Re: [PATCH 1/2] drm/radeon/bo: add some fallback placements for VRAM only objects.

2010-03-25 Thread Michel Dänzer
as well, not sure. I don't think the way we currently use the same arrays for normal and busy placement makes a lot of sense, but we probably need a better mechanism to specify which placements are desirable / acceptable in each case. -- Earthling Michel Dänzer |http

Re: [git pull] drm fixes

2010-03-25 Thread Michel Dänzer
is unlikely to work with the R300 generation... (though I suspect the fact this isn't x86 may not exactly help) -- Earthling Michel Dänzer |http://www.vmware.com Libre software enthusiast | Debian, X and DRI developer

Re: [PATCH 1/2] drm/radeon/bo: add some fallback placements for VRAM only objects.

2010-03-25 Thread Michel Dänzer
On Don, 2010-03-25 at 19:56 +1000, Dave Airlie wrote: 2010/3/25 Michel Dänzer mic...@daenzer.net: On Fri, 2010-03-19 at 10:35 +1000, Dave Airlie wrote: From: Dave Airlie airl...@redhat.com On constrained r100 systems compiz would fail to start due to a lack of memory, we can just

Re: [PATCH 1/2] drm/radeon/bo: add some fallback placements for VRAM only objects.

2010-03-25 Thread Michel Dänzer
On Thu, 2010-03-25 at 11:11 +0100, Michel Dänzer wrote: On Don, 2010-03-25 at 19:56 +1000, Dave Airlie wrote: 2010/3/25 Michel Dänzer mic...@daenzer.net: On Fri, 2010-03-19 at 10:35 +1000, Dave Airlie wrote: From: Dave Airlie airl...@redhat.com On constrained r100 systems compiz

Re: [Mesa3d-dev] Move lists to freedesktop.org?

2010-03-23 Thread Michel Dänzer
On Die, 2010-03-23 at 12:32 -0700, Jesse Barnes wrote: On Thu, 4 Mar 2010 15:20:46 -0800 Jesse Barnes jbar...@virtuousgeek.org wrote: On Fri, 05 Mar 2010 00:16:45 +0100 Michel Dänzer mic...@daenzer.net wrote: On Thu, 2010-03-04 at 16:09 -0700, Brian Paul wrote: Jesse Barnes

Re: Commit 96a4c8d50de20da865296a380b996f73204d6b34 breaks PowerBook LVDS

2010-03-17 Thread Michel Dänzer
On Tue, 2010-03-16 at 10:56 -0400, Alex Deucher wrote: 2010/3/16 Michel Dänzer mic...@daenzer.net: Commit 96a4c8d50de20da865296a380b996f73204d6b34 ('drm/radeon/kms: fix i2c prescale calc on older radeons') breaks LVDS on my RV350 PowerBook again. Reverting just that commit on top of drm

Re: [Linux-fbdev-devel] drm_fb_helper: Impossible to change video mode

2010-03-16 Thread Michel Dänzer
. The VT layer is protected from calling in the interrupt context. TNor does fbcon call any fb_ops methods from a irq. E.g. printk? -- Earthling Michel Dänzer |http://www.vmware.com Libre software enthusiast | Debian, X and DRI developer

Commit 96a4c8d50de20da865296a380b996f73204d6b34 breaks PowerBook LVDS

2010-03-16 Thread Michel Dänzer
Commit 96a4c8d50de20da865296a380b996f73204d6b34 ('drm/radeon/kms: fix i2c prescale calc on older radeons') breaks LVDS on my RV350 PowerBook again. Reverting just that commit on top of drm-radeon-testing commit 589468458fa964c2020e23e4d9353be2ef8bd3be fixes it. -- Earthling Michel Dänzer

Re: Commit 96a4c8d50de20da865296a380b996f73204d6b34 breaks PowerBook LVDS

2010-03-16 Thread Michel Dänzer
On Tue, 2010-03-16 at 10:56 -0400, Alex Deucher wrote: 2010/3/16 Michel Dänzer mic...@daenzer.net: Commit 96a4c8d50de20da865296a380b996f73204d6b34 ('drm/radeon/kms: fix i2c prescale calc on older radeons') breaks LVDS on my RV350 PowerBook again. Reverting just that commit on top of drm

Re: [Linux-fbdev-devel] drm_fb_helper: Impossible to change video mode

2010-03-14 Thread Michel Dänzer
the TTM locking given that. Maybe James has ideas for this given his better familiarity with fbdev internals. [0] Though that was really only about making it possible to unpin the fbcon BO while it isn't being displayed, resizing it might involve other issues I'm not aware of. -- Earthling Michel

Re: [PATCH 2/3] libdrm_radeon: Optimize cs_gem_reloc to do less looping. (V2)

2010-03-12 Thread Michel Dänzer
automaticaly selected libdrm_(radeon|intel) This optimization decreases cs_write_reloc share of torcs profiling from 4.3% to 2.6%. Signed-off-by: Pauli Nieminen suok...@gmail.com Tested-by: Michel Dänzer mic...@daenzer.net -- Earthling Michel Dänzer |http

Re: [Linux-fbdev-devel] drm_fb_helper: Impossible to change video mode

2010-03-11 Thread Michel Dänzer
that, maybe that should only be enabled via some module option for developers. -- Earthling Michel Dänzer |http://www.vmware.com Libre software enthusiast | Debian, X and DRI developer

Re: [PATCH 2/2] libdrm_radeon: Optimize cs_gem_reloc to do less looping.

2010-03-11 Thread Michel Dänzer
!= xno; then + INTEL=yes + fi + if test x$RADEON != xno; then + RADEON=yes + fi fi fi -- Earthling Michel Dänzer |http://www.vmware.com Libre software enthusiast | Debian, X and DRI

Re: [PATCH 2/2] libdrm_radeon: Optimize reloc writing to do less looping.

2010-03-10 Thread Michel Dänzer
... presumably the latter should be called __sync_sub_and_fetch()? Do these stand any chance of working properly in circumstances where atomicity is actually important though? -- Earthling Michel Dänzer |http://www.vmware.com Libre software enthusiast | Debian

Re: Move lists to freedesktop.org?

2010-03-05 Thread Michel Dänzer
for me, but fdo is usually pretty quick. Can't say I've really noticed any difference, probably thanks to the awesome listadmin tool. But it certainly won't hurt. -- Earthling Michel Dänzer |http://www.vmware.com Libre software enthusiast | Debian, X

Re: [Mesa3d-dev] Move lists to freedesktop.org?

2010-03-04 Thread Michel Dänzer
the moderation queues for both lists on a daily basis and am volunteering to continue doing so, but other than that I'm not really keen on being a list admin. -- Earthling Michel Dänzer |http://www.vmware.com Libre software enthusiast | Debian, X and DRI

Re: [git pull] drm request 3

2010-03-04 Thread Michel Dänzer
version, and the patchlevel has no impact on the interface. All the other drivers are basically following this, only nouveau is abusing the patchlevel as a major version for reasons beyond me. -- Earthling Michel Dänzer |http://www.vmware.com Libre software enthusiast

Re: [RFC] drm/ttm: add pool wc/uc page allocator

2010-03-02 Thread Michel Dänzer
into pool fill and pool free code? Maybe we need userspace BO sub-allocation and/or caching. At least for the 'DMA' buffers it should be simple for userspace to keep a round robin list of buffers. -- Earthling Michel Dänzer |http://www.vmware.com Libre software

Re: [PATCH][RFC] time: add wait_interruptible_timeout macro to sleep (w. timeout) until wake_up

2010-03-01 Thread Michel Dänzer
of worker kernel thread. -- Earthling Michel Dänzer |http://www.vmware.com Libre software enthusiast | Debian, X and DRI developer -- Download Intel#174; Parallel Studio Eval Try

Re: drm/radeon/kms: request for rebasing

2010-02-25 Thread Michel Dänzer
even? I think it's great to keep branches based on the last release as long as possible. It allows testing DRM changes easily without pulling in random other changes. -- Earthling Michel Dänzer |http://www.vmware.com Libre software enthusiast | Debian, X

Re: Vmwgfx: lack of 3D acceleration

2010-02-18 Thread Michel Dänzer
was enabled for the xserver and Gallium build? -- Earthling Michel Dänzer |http://www.vmware.com Libre software enthusiast | Debian, X and DRI developer -- Download Intel#174

[PATCH] drm/radeon/kms: Test rdev-bios centrally in combios_get_table_offset().

2010-02-10 Thread Michel Dänzer
From: Michel Dänzer daen...@vmware.com It's happened time and time again (most recently with the support for EDID hardcoded in the BIOS ROM) that new code didn't check for rdev-bios being non-NULL before triggering dereferences of it. This would result in an oops/panic on setups with no BIOS ROM

Re: [PATCH 1/2] drm/vmwgfx: Request SVGA version 2

2010-01-28 Thread Michel Dänzer
!= SVGA_ID_2) { DRM_ERROR(Unsupported SVGA ID 0x%lx\n, svga_id); /* Bail */ } -- Earthling Michel Dänzer |http://www.vmware.com Libre software enthusiast | Debian, X and DRI developer

drm-radeon-testing commit 8131660130d3dc2629a150d47e6a04c8a1a6244b breaks LVDS on my PowerBook

2010-01-27 Thread Michel Dänzer
:10.0: LVDS-1: EDID invalid. [0.762960] [drm:radeon_dvi_detect] *ERROR* DVI-I-1: probed a monitor but no|invalid EDID -- Earthling Michel Dänzer |http://www.vmware.com Libre software enthusiast | Debian, X and DRI developer

Re: drm-radeon-testing commit 8131660130d3dc2629a150d47e6a04c8a1a6244b breaks LVDS on my PowerBook

2010-01-27 Thread Michel Dänzer
On Wed, 2010-01-27 at 10:30 -0500, Alex Deucher wrote: 2010/1/27 Michel Dänzer mic...@daenzer.net: your commit 8131660130d3dc2629a150d47e6a04c8a1a6244b ('drm/radeon/kms: add support for hw i2c on r1xx-r5xx') breaks LVDS on my PowerBook. It looks kinda like blooming, though I can actually

[PATCH] drm/radeon/kms: Fix oops after radeon_cs_parser_init() failure.

2010-01-22 Thread Michel Dänzer
From: Michel Dänzer daen...@vmware.com If radeon_cs_parser_init() fails, radeon_cs_ioctl() calls radeon_cs_parser_fini() with the non-zero error value. The latter dereferenced parser-ib which hasn't been initialized yet - boom. Add a test for parser-ib being non-NULL before dereferencing

Re: [PATCH] drm/radeon/kms: fix up LVDS handling on macs

2010-01-12 Thread Michel Dänzer
); + } WREG32(RADEON_LVDS_GEN_CNTL, lvds_gen_cntl); WREG32_PLL(RADEON_PIXCLKS_CNTL, pixclks_cntl); break; Minor niggle here: You could leave a single udelay() after the if (is_mac) blocks. Other than that, Reviewed-by: Michel Dänzer mic...@daenzer.net Tested-by: Michel

[PATCH RESEND] drm/radeon/kms: Fix crash getting TV info with no BIOS.

2010-01-10 Thread Michel Dänzer
From: Michel Dänzer daen...@vmware.com Signed-off-by: Michel Dänzer daen...@vmware.com --- Looks like this simple fix got lost last time... drivers/gpu/drm/radeon/radeon_combios.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_combios.c

Re: [PATCH] drm/radeon/kms: Workaround RV410/R420 CP errata (V2)

2010-01-06 Thread Michel Dänzer
resync_scratch; struct mutexcs_mutex; struct radeon_wbwb; struct radeon_dummy_pagedummy_page; Indentation still looks wrong in this hunk. -- Earthling Michel Dänzer |http://www.vmware.com Libre software enthusiast

Re: drm/radeon/kms: pm: single frame corruptions on reclocking

2009-12-29 Thread Michel Dänzer
interrupt, have you tried doing it in the interrupt handler for the vblank interrupt instead? -- Earthling Michel Dänzer |http://www.vmware.com Libre software enthusiast | Debian, X and DRI developer

[PATCH] drm/radeon/kms: Fix crash getting TV info with no BIOS.

2009-12-23 Thread Michel Dänzer
From: Michel Dänzer daen...@vmware.com Signed-off-by: Michel Dänzer daen...@vmware.com --- drivers/gpu/drm/radeon/radeon_combios.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_combios.c b/drivers/gpu/drm/radeon/radeon_combios.c index

[PATCH] drm/radeon/kms: Only flush the HDP read cache for BOs which are in VRAM.

2009-12-23 Thread Michel Dänzer
From: Michel Dänzer daen...@vmware.com The HDP read cache should only affect CPU reads from VRAM. Signed-off-by: Michel Dänzer daen...@vmware.com --- drivers/gpu/drm/radeon/radeon_gem.c | 12 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/radeon

Re: drm/radeon/kms: pm: single frame corruptions on reclocking

2009-12-23 Thread Michel Dänzer
the interrupt itself. Way back when I implemented DRI1 tear-free buffer swaps for i945, I had to use a tasklet to reliably do work within the vertical blank period. -- Earthling Michel Dänzer |http://www.vmware.com Libre software enthusiast | Debian, X

Re: [PATCH] drm/radeon/kms: add cvt mode if we only have lvds w/h and no edid

2009-12-22 Thread Michel Dänzer
, 60, true, false, false); + DRM_DEBUG(Adding native panel mode %s\n, mode-name); Might be worth reflecting in the message that it's not really the native mode but a generated approximation of it. -- Earthling Michel Dänzer |http://www.vmware.com Libre

Re: [PATCH] drivers/radeon/kms: Workaround RV410/R420 CP errata.

2009-12-18 Thread Michel Dänzer
problem: it's specific to the 2D engine, which doesn't exist anymore as of R6xx, and it would also happen with UMS. -- Earthling Michel Dänzer |http://www.vmware.com Libre software enthusiast | Debian, X and DRI developer

Re: [RFC] radeon bo/cs API cleanup

2009-12-17 Thread Michel Dänzer
/ddx/mesa (no r300g bits yet) to clean the API of all of this. I'd like to then declare this as the stable API going forward. Thanks Dave, these look good. -- Earthling Michel Dänzer |http://www.vmware.com Libre software enthusiast | Debian, X

Re: Testing an AGPGART driver with radeon.test=1

2009-12-16 Thread Michel Dänzer
On Tue, 2009-12-15 at 22:26 +0100, Gerhard Pircher wrote: Von: Michel Dänzer mic...@daenzer.net On Tue, 2009-12-15 at 13:37 +0100, Gerhard Pircher wrote: Von: Michel Dänzer mic...@daenzer.net guess there could be many possible causes for the problem, but the most likely

Re: Testing an AGPGART driver with radeon.test=1

2009-12-15 Thread Michel Dänzer
On Tue, 2009-12-15 at 13:37 +0100, Gerhard Pircher wrote: Original-Nachricht Datum: Tue, 15 Dec 2009 00:01:50 +0100 Von: Michel Dänzer mic...@daenzer.net An: Gerhard Pircher gerhard_pirc...@gmx.net CC: dri-devel@lists.sourceforge.net Betreff: Re: Testing an AGPGART

Re: Testing an AGPGART driver with radeon.test=1

2009-12-14 Thread Michel Dänzer
simple to catch that kind of problem. I don't suppose higher transfer rates work any better? :) I guess there could be many possible causes for the problem, but the most likely seems some kind of coherency issue between the CPU writes and GPU reads. Hope this helps, -- Earthling Michel Dänzer

[PATCH] drm/radeon/kms: Expose backlight class device for legacy LVDS encoder.

2009-12-08 Thread Michel Dänzer
From: Michel Dänzer daen...@vmware.com Allows e.g. power management daemons to control the backlight level. Inspired by the corresponding code in radeonfb. Signed-off-by: Michel Dänzer daen...@vmware.com --- Does anyone have an idea if this will interact well with x86 laptop hotkeys / ACPI

Re: [PATCH] drm/radeon/kms: Expose backlight class device for legacy LVDS encoder.

2009-12-08 Thread Michel Dänzer
On Tue, 2009-12-08 at 11:32 +0100, Rafał Miłecki wrote: 2009/12/8 Michel Dänzer mic...@daenzer.net: From: Michel Dänzer daen...@vmware.com Allows e.g. power management daemons to control the backlight level. Inspired by the corresponding code in radeonfb. Signed-off-by: Michel

Re: [PATCH] drm/radeon/kms: Add support for interrupts on r6xx/r7xx chips

2009-12-01 Thread Michel Dänzer
On Tue, 2009-12-01 at 09:43 +0100, Rafał Miłecki wrote: W dniu 1 grudnia 2009 08:33 użytkownik Michel Dänzer mic...@daenzer.net napisał: On Tue, 2009-12-01 at 08:03 +0100, Rafał Miłecki wrote: 2009/12/1 Alex Deucher alexdeuc...@gmail.com: On Mon, Nov 30, 2009 at 2:02 PM, Alex Deucher

Re: [PATCH] drm/radeon/kms: Add support for interrupts on r6xx/r7xx chips

2009-12-01 Thread Michel Dänzer
On Tue, 2009-12-01 at 10:01 +0100, Rafał Miłecki wrote: W dniu 1 grudnia 2009 09:59 użytkownik Michel Dänzer mic...@daenzer.net napisał: Could you tell me how can I wait for vblank from kernel space, please? I see there is drm_wait_vblank but this is not yet exported. I tried export

Re: [PATCH] drm/radeon/kms: Add support for interrupts on r6xx/r7xx chips

2009-11-30 Thread Michel Dänzer
. -- Earthling Michel Dänzer |http://www.vmware.com Libre software enthusiast | Debian, X and DRI developer -- Join us December 9, 2009 for the Red Hat Virtual Experience, a free

Re: RFC: libdrm repo

2009-11-23 Thread Michel Dänzer
will get installed? -- Earthling Michel Dänzer |http://www.vmware.com Libre software enthusiast | Debian, X and DRI developer -- Let Crystal Reports handle the reporting - Free

Re: radeon modeset=1 agpmode=-1 does not work in 2.6.32-rc8

2009-11-23 Thread Michel Dänzer
, the AGP mode needs to be configured in xorg.conf. -- Earthling Michel Dänzer |http://www.vmware.com Libre software enthusiast | Debian, X and DRI developer -- Let Crystal

Re: RFC: libdrm repo

2009-11-23 Thread Michel Dänzer
On Mon, 2009-11-23 at 10:55 -0500, Kristian Høgsberg wrote: 2009/11/23 Michel Dänzer mic...@daenzer.net: On Fri, 2009-11-20 at 17:20 -0500, Kristian Høgsberg wrote: 2009/11/19 Eric Anholt e...@anholt.net: On Tue, 2009-11-17 at 11:33 -0500, Kristian Høgsberg wrote: 2009/11/6 Kristian

Re: RFC: libdrm repo

2009-11-23 Thread Michel Dänzer
On Mon, 2009-11-23 at 11:43 -0500, Kristian Høgsberg wrote: 2009/11/23 Michel Dänzer mic...@daenzer.net: On Mon, 2009-11-23 at 10:55 -0500, Kristian Høgsberg wrote: 2009/11/23 Michel Dänzer mic...@daenzer.net: On Fri, 2009-11-20 at 17:20 -0500, Kristian Høgsberg wrote: 2009/11/19 Eric

Re: [PATCH] drm/radeon/kms: fix coherency issues on AGP cards.

2009-11-06 Thread Michel Dänzer
: Michel Dänzer daen...@vmware.com Date: Wed Nov 4 08:41:25 2009 +0100 drm/radeon: Tweak TTM eviction flags to include GTT for eviction from VRAM. Signed-off-by: Michel Dänzer daen...@vmware.com diff --git a/drivers/gpu/drm/radeon/radeon_ttm.c b/drivers/gpu/drm/radeon/radeon_ttm.c

Re: [Bug 23693] KMS has been broken on ATI RV250 Lf (Radeon M9)

2009-10-09 Thread Michel Dänzer
: [8.226741] [drm:r100_cp_init] *ERROR* Failed to load firmware! If you're using an initrd it might be as simple as copying the needed firmware file(s) there, otherwise if the radeon DRM is built into the kernel you may have to enable CONFIG_FIRMWARE_IN_KERNEL . -- Earthling Michel Dänzer

[PATCH 2/2] drm/radeon/kms: Fix apparent typo in legacy CRTC memory bandwidth calculation.

2009-10-08 Thread Michel Dänzer
From: Michel Dänzer daen...@vmware.com While investigating the cause of CRTC FIFO underruns, I noticed that when converting the memory bandwidth calculation from the userspac X driver code, an instance of '8.0' was apparently accidentally converted to '80'. Signed-off-by: Michel Dänzer daen

[PATCH 1/2] drm/radeon/kms: Update memory bandwidth requirements in mode_set_base hook.

2009-10-08 Thread Michel Dänzer
From: Michel Dänzer daen...@vmware.com The hook may change the number of bytes per pixel being scanned out, which affects the CRTC memory bandwidth requirements. E.g. booting in 8bpp and then running X in 32bpp would result in the bandwidth requirements being underestimated for the latter

Re: [PATCH] drm/radeon/kms: don't require up to 64k allocations. (v2)

2009-09-24 Thread Michel Dänzer
characters in one go, if my math is right). -- Earthling Michel Dänzer |http://www.vmware.com Libre software enthusiast | Debian, X and DRI developer -- Come build with us

Re: [PATCH] [RFC] drm/radeon/kms: don't require up to 64k allocations.

2009-09-23 Thread Michel Dänzer
, this works on my PowerBook but seems to drop x11perf -aa10text numbers from about 370k/s to about 315k/s. -- Earthling Michel Dänzer |http://www.vmware.com Libre software enthusiast | Debian, X and DRI developer

Re: [PATCH] drm/radeon/kms: Move radeon_get_clock_info() call out of radeon_clocks_init().

2009-09-18 Thread Michel Dänzer
On Fri, 2009-09-18 at 07:45 +0100, Dave Airlie wrote: From: Michel Dänzer daen...@vmware.com Someone on IRC reported problems after commit 95a8f1bf4f48b434c9f839ab5a0773f66b39d7c6 ('drm/radeon/kms: Move radeon_clocks_init() call back after getting VRAM info.'). And indeed, at least

Re: [PATCH] drm/radeon/kms: reprogram format in set base.

2009-09-17 Thread Michel Dänzer
, RADEON_GEM_DOMAIN_VRAM, base)) { return -EINVAL; Even if depth 8 doesn't work properly yet, it would be nice not to further proliferate these switch statements on crtc-fb-bits_per_pixel without a case 8. That said, it does work for me. -- Earthling Michel Dänzer

[PATCH] drm/radeon/kms: Move radeon_get_clock_info() call out of radeon_clocks_init().

2009-09-17 Thread Michel Dänzer
From: Michel Dänzer daen...@vmware.com Someone on IRC reported problems after commit 95a8f1bf4f48b434c9f839ab5a0773f66b39d7c6 ('drm/radeon/kms: Move radeon_clocks_init() call back after getting VRAM info.'). And indeed, at least some ASIC vram_info hooks use the clock info obtained

Re: [PATCH] drm/radeon/kms: Use surfaces for scanout / cursor byte swapping on big endian.

2009-09-16 Thread Michel Dänzer
On Wed, 2009-09-16 at 08:10 +1000, Dave Airlie wrote: 2009/9/16 Michel Dänzer mic...@daenzer.net: From: Michel Dänzer daen...@vmware.com diff --git a/include/drm/radeon_drm.h b/include/drm/radeon_drm.h index 2ba61e1..341c21a 100644 --- a/include/drm/radeon_drm.h +++ b/include/drm

Re: [PATCH] drm/radeon/kms: Use depth 16 for console.

2009-09-16 Thread Michel Dänzer
On Wed, 2009-09-16 at 08:20 +1000, Dave Airlie wrote: 2009/9/16 Michel Dänzer mic...@daenzer.net: On Wed, 2009-09-16 at 08:03 +1000, Dave Airlie wrote: 2009/9/16 Michel Dänzer mic...@daenzer.net: From: Michel Dänzer daen...@vmware.com Now that we can handle 16 bpp on big endian

Re: [PATCH] drm/radeon/kms: Use depth 16 for console.

2009-09-16 Thread Michel Dänzer
On Wed, 2009-09-16 at 17:16 +1000, Dave Airlie wrote: 2009/9/16 Michel Dänzer mic...@daenzer.net: On Wed, 2009-09-16 at 08:20 +1000, Dave Airlie wrote: 2009/9/16 Michel Dänzer mic...@daenzer.net: On Wed, 2009-09-16 at 08:03 +1000, Dave Airlie wrote: 2009/9/16 Michel Dänzer mic

Re: [PATCH] drm/radeon/kms: Use surfaces for scanout / cursor byte swapping on big endian.

2009-09-16 Thread Michel Dänzer
On Wed, 2009-09-16 at 17:13 +1000, Dave Airlie wrote: 2009/9/16 Michel Dänzer mic...@daenzer.net: On Wed, 2009-09-16 at 08:10 +1000, Dave Airlie wrote: 2009/9/16 Michel Dänzer mic...@daenzer.net: From: Michel Dänzer daen...@vmware.com diff --git a/include/drm/radeon_drm.h b/include

[PATCH] drm/radeon/kms: Get LVDS native mode details from EDID if necessary.

2009-09-15 Thread Michel Dänzer
From: Michel Dänzer daen...@vmware.com Fixes RMX problems on older Apple laptops which don't have an x86 BIOS ROM. Signed-off-by: Michel Dänzer daen...@vmware.com --- drivers/gpu/drm/radeon/radeon_combios.c| 12 ++--- drivers/gpu/drm/radeon/radeon_connectors.c | 34

[PATCH] drm/radeon/kms: Use depth 16 for console.

2009-09-15 Thread Michel Dänzer
From: Michel Dänzer daen...@vmware.com Now that we can handle 16 bpp on big endian as well, we can save VRAM like this and probably also improve console output speed. The console only uses a limited number of colours anyway. (8 bpp might be even better, but that doesn't seem to work properly yet

[PATCH] drm/radeon/kms: Don't kzalloc memory which is immediately overwritten.

2009-09-15 Thread Michel Dänzer
From: Michel Dänzer daen...@vmware.com Signed-off-by: Michel Dänzer daen...@vmware.com --- drivers/gpu/drm/radeon/radeon_cs.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_cs.c b/drivers/gpu/drm/radeon/radeon_cs.c index 0b8d184..12f5990

[PATCH] drm/radeon/kms: Use surfaces for scanout / cursor byte swapping on big endian.

2009-09-15 Thread Michel Dänzer
From: Michel Dänzer daen...@vmware.com Signed-off-by: Michel Dänzer daen...@vmware.com --- drivers/gpu/drm/radeon/r100.c |5 ++ drivers/gpu/drm/radeon/radeon_fb.c | 121 +--- drivers/gpu/drm/radeon/radeon_object.c |2 + include/drm/radeon_drm.h

[PATCH] drm/kms: Force full modeset if depth/bpp changes.

2009-09-15 Thread Michel Dänzer
From: Michel Dänzer daen...@vmware.com Signed-off-by: Michel Dänzer daen...@vmware.com --- drivers/gpu/drm/drm_crtc_helper.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/drm_crtc_helper.c b/drivers/gpu/drm/drm_crtc_helper.c index ff447f1..eaed0f5

[PATCH] drm/radeon/kms: Move radeon_clocks_init() call back after getting VRAM info.

2009-09-15 Thread Michel Dänzer
From: Michel Dänzer daen...@vmware.com It may indirectly call radeon_set_clock_gating() which relies on the VRAM info. Signed-off-by: Michel Dänzer daen...@vmware.com --- drivers/gpu/drm/radeon/radeon_device.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers

[PATCH] drm/radeon/kms: Only add common modes which fit in both panel dimensions.

2009-09-15 Thread Michel Dänzer
From: Michel Dänzer daen...@vmware.com Signed-off-by: Michel Dänzer daen...@vmware.com --- drivers/gpu/drm/radeon/radeon_connectors.c |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_connectors.c b/drivers/gpu/drm/radeon

[PATCH] drm/radeon/kms: Free CS parser state tracking memory.

2009-09-15 Thread Michel Dänzer
From: Michel Dänzer daen...@vmware.com Fixes leak hidden in commit 9f022ddfb23793b475ff7e57ac08a766dd5d31bd ('drm/radeon/kms: convert r4xx to new init path'). Signed-off-by: Michel Dänzer daen...@vmware.com --- drivers/gpu/drm/radeon/radeon_cs.c |1 + 1 files changed, 1 insertions(+), 0

Re: [PATCH] drm/kms: Force full modeset if depth/bpp changes.

2009-09-15 Thread Michel Dänzer
On Wed, 2009-09-16 at 08:02 +1000, Dave Airlie wrote: 2009/9/16 Michel Dänzer mic...@daenzer.net: From: Michel Dänzer daen...@vmware.com This one confuses me, the bit depth and stuff should all be setup in the set base function, I wonder is there a bug somewhere that we aren't dealing

Re: [PATCH] drm/radeon/kms: Use depth 16 for console.

2009-09-15 Thread Michel Dänzer
On Wed, 2009-09-16 at 08:03 +1000, Dave Airlie wrote: 2009/9/16 Michel Dänzer mic...@daenzer.net: From: Michel Dänzer daen...@vmware.com Now that we can handle 16 bpp on big endian as well, we can save VRAM like this and probably also improve console output speed. The console only

Re: [PATCH] drm/radeon/kms: Use surfaces for scanout / cursor byte swapping on big endian.

2009-09-15 Thread Michel Dänzer
On Wed, 2009-09-16 at 08:10 +1000, Dave Airlie wrote: 2009/9/16 Michel Dänzer mic...@daenzer.net: From: Michel Dänzer daen...@vmware.com @@ -200,6 +201,7 @@ void radeon_object_kunmap(struct radeon_object *robj) } robj-kptr = NULL; spin_unlock(robj-tobj.lock

Re: [PATCH] drm/radeon/kms: add initial connector properties

2009-09-13 Thread Michel Dänzer
= radeon_legacy_get_tmds_info_from_combios(encoder, tmds); + else + ret = radeon_atombios_get_tmds_info(encoder, tmds); + + if (ret == false) + radeon_legacy_get_tmds_info_from_table(encoder, tmds); + + return tmds; +} -- Earthling Michel Dänzer

Re: Power management in KMS

2009-09-09 Thread Michel Dänzer
On Wed, 2009-09-09 at 10:50 +0200, Rafał Miłecki wrote: 5) SLOW_3D /* Simple 3D activity, e.g. compiz (Q: how to select? indirect rendering only? */ FWIW: No, compiz (and any other GLX compositing manager, for that matter) works with direct rendering with DRI2. -- Earthling Michel Dänzer

Re: [PATCH] dri2proto: protocol requests for OML_sync_control and SGI_video_sync

2009-09-08 Thread Michel Dänzer
On Sun, 2009-09-06 at 09:46 -0700, Jesse Barnes wrote: On Sun, 06 Sep 2009 12:23:12 +0200 Michel Dänzer mic...@daenzer.net wrote: On Fri, 2009-09-04 at 12:17 -0700, Jesse Barnes wrote: I've been working on coding up the server and client side of SGI_video_sync, OML_sync_control

Re: [PATCH] dri2proto: protocol requests for OML_sync_control and SGI_video_sync

2009-09-06 Thread Michel Dänzer
per frame. -- Earthling Michel Dänzer |http://www.vmware.com Libre software enthusiast | Debian, X and DRI developer -- Let Crystal Reports handle the reporting - Free Crystal

Re: [PATCH 6/6] [drm/i915] implement drmmode overlay support v2

2009-09-02 Thread Michel Dänzer
, the suggestion to use command streams for the overlay doesn't make much sense to me. If that was a good idea, why aren't we doing modesetting that way? -- Earthling Michel Dänzer |http://www.vmware.com Libre software enthusiast | Debian, X and DRI developer

RE: Partial updates with glX/DRI

2009-08-30 Thread Michel Dänzer
] for the mesa3d-dev list: This was complicated by the GLX code re-indenting in master. I wonder if that was worth the trouble... -- Earthling Michel Dänzer |http://www.vmware.com Libre software enthusiast | Debian, X and DRI developer

Re: Kernel fails to boot with radeondrmfb

2009-08-28 Thread Michel Dänzer
. -- Earthling Michel Dänzer |http://www.vmware.com Libre software enthusiast | Debian, X and DRI developer -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30

Re: [PATCH] Add modesetting pageflip ioctl and corresponding drm event

2009-08-28 Thread Michel Dänzer
it seems like (ab)using DRI2GetBuffers for this will only allow clients to avoid synchronous rendering with triple buffering, which would be a shame. If you disagree, can you explain why that isn't the case? -- Earthling Michel Dänzer |http://www.vmware.com Libre software

Re: [PATCH] Add modesetting pageflip ioctl and corresponding drm event

2009-08-28 Thread Michel Dänzer
if just plain blocking turns out to be a real problem in practice - doubtful IME) on command submission if those buffers still have pending flips. -- Earthling Michel Dänzer |http://www.vmware.com Libre software enthusiast | Debian, X and DRI developer

  1   2   3   4   5   6   7   8   9   10   >