2010/5/19 Alex Deucher :
> Some LVDS connectors don't have a ddc bus, so reset the
> ddc bus to invalid before parsing the next connector
> to avoid using stale ddc bus data. Should fix
> fdo bug 28164.
It does, thanks :)
Tested-by: Rafał Miłecki
--
Rafał
_
Besides that this should leader to better gtt usage (by not favouring
small objects) this also fixes the eviction-ping-pong-of-doom.
Signed-off-by: Daniel Vetter
---
drivers/gpu/drm/i915/i915_gem.c | 79 +-
1 files changed, 52 insertions(+), 27 deletions(-)
This does two little changes:
- Add an alignment parameter for evict_something. It's not really great to
whack a carefully sized hole into the gtt with the wrong alignment.
Especially since the fallback path is a full evict.
- With the inactive scan stuff we need to evict more that one object
These helper functions can be used to efficiently scan lru list
for eviction. Eviction becomes a three stage process:
1. Scanning through the lru list until a suitable hole has been found.
2. Scan backwards to restore drm_mm consistency and find out which
objects fall into the hole.
3. Evict the
There are already two copies of this logic. And the new scanning
stuff will add some more. So extract it into a small helper
function.
Signed-off-by: Daniel Vetter
---
drivers/gpu/drm/drm_mm.c | 71 ++
1 files changed, 34 insertions(+), 37 deletions(
Yeah, I've kinda noticed that fl_entry is the free stack. Still
give it (and the memory node list ml_entry) decent names.
Signed-off-by: Daniel Vetter
---
drivers/gpu/drm/drm_mm.c | 72 ++---
include/drm/drm_mm.h | 11 --
2 files changed, 42 in
Signed-off-by: Daniel Vetter
---
drivers/gpu/drm/drm_mm.c | 45 -
1 files changed, 0 insertions(+), 45 deletions(-)
diff --git a/drivers/gpu/drm/drm_mm.c b/drivers/gpu/drm/drm_mm.c
index b75eb55..a5a7a16 100644
--- a/drivers/gpu/drm/drm_mm.c
+++ b/dr
Only ever assigned, never used.
Signed-off-by: Daniel Vetter
---
drivers/gpu/drm/i915/i915_gem.c |4 +---
drivers/gpu/drm/ttm/ttm_bo.c |6 --
drivers/gpu/drm/ttm/ttm_bo_util.c |2 --
include/drm/drm_mm.h |1 -
4 files changed, 1 insertions(+), 12 deletions
Signed-off-by: Daniel Vetter
---
drivers/gpu/drm/drm_mm.c |8 ++--
1 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/drivers/gpu/drm/drm_mm.c b/drivers/gpu/drm/drm_mm.c
index 2ac074c..b75eb55 100644
--- a/drivers/gpu/drm/drm_mm.c
+++ b/drivers/gpu/drm/drm_mm.c
@@ -332,7 +332,
i915 needs this.
Signed-off-by: Daniel Vetter
---
include/linux/list.h | 15 +++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/include/linux/list.h b/include/linux/list.h
index 8392884..21cdd99 100644
--- a/include/linux/list.h
+++ b/include/linux/list.h
@@ -544,6
Hi all,
This patch series implements the fair-lru eviction Chris Wilson already
posted with a twist. It's essentially the same idea & algorithm.
Differnences versus his patch:
- Doesn't do any allocations while scanning.
- Implemented in drm_mm.c
In other words, this should also be usable by ttm.
On Tue, 18 May 2010 23:11:42 +0200, Daniel Vetter
wrote:
> Hi all,
>
> This patch series implements the fair-lru eviction Chris Wilson already
> posted with a twist. It's essentially the same idea & algorithm.
> Differnences versus his patch:
> - Doesn't do any allocations while scanning.
> - Im
next part --
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL:
<http://lists.freedesktop.org/archives/dri-devel/attachments/20100518/59ec8db9/attachment.pgp>
https://bugs.freedesktop.org/show_bug.cgi?id=27901
--- Comment #3 from Conn Clark 2010-05-18 19:33:26 PDT
---
Alain,
Okay, The patch I just posted might fix this bug. It doesn't cause any
additional errors in piglit either. I think its working right with
http://github.com/jckarter/hello-gl-ch3
https://bugs.freedesktop.org/show_bug.cgi?id=27901
--- Comment #3 from Conn Clark 2010-05-18 19:33:26
PDT ---
Alain,
Okay, The patch I just posted might fix this bug. It doesn't cause any
additional errors in piglit either. I think its working right with
http://github.com/jckarter/hello-gl-ch3
- Use radeon hpd enum consistently (in both hotplug and dp)
- Legacy r100 with DVI should be HPD_1 not NONE
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/radeon/atombios_dp.c |2 +-
drivers/gpu/drm/radeon/radeon_atombios.c |3 +--
drivers/gpu/drm/radeon/radeon_combios.c |4 ++-
Some LVDS connectors don't have a ddc bus, so reset the
ddc bus to invalid before parsing the next connector
to avoid using stale ddc bus data. Should fix
fdo bug 28164.
Signed-off-by: Alex Deucher
Cc: stable at kernel.org
---
drivers/gpu/drm/radeon/radeon_atombios.c |5 ++---
1 files chang
https://bugs.freedesktop.org/show_bug.cgi?id=27901
--- Comment #2 from Conn Clark 2010-05-18 19:25:02 PDT
---
Created an attachment (id=35743)
View: https://bugs.freedesktop.org/attachment.cgi?id=35743
Review: https://bugs.freedesktop.org/review?bug=27901&attachment=35743
r700_assembler.c Tri
https://bugs.freedesktop.org/show_bug.cgi?id=27901
--- Comment #2 from Conn Clark 2010-05-18 19:25:02
PDT ---
Created an attachment (id=35743)
View: https://bugs.freedesktop.org/attachment.cgi?id=35743
Review: https://bugs.freedesktop.org/review?bug=27901&attachment=35743
r700_assembler.c Tri
This is a combined drm/agp tree.
Highlights:
core: initial dev docs, agp scratch page support
kms: framebuffer cleanup + improved disconnected monitor at boot handling,
lots of edid parser updates to bring us in line with the X.org code,
improved fbdev handover mechanism.
ttm: add AGP page poo
https://bugs.freedesktop.org/show_bug.cgi?id=28163
Alex Deucher changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|
https://bugs.freedesktop.org/show_bug.cgi?id=28163
Alex Deucher changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|
- Use radeon hpd enum consistently (in both hotplug and dp)
- Legacy r100 with DVI should be HPD_1 not NONE
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/radeon/atombios_dp.c |2 +-
drivers/gpu/drm/radeon/radeon_atombios.c |3 +--
drivers/gpu/drm/radeon/radeon_combios.c |4 ++-
Some LVDS connectors don't have a ddc bus, so reset the
ddc bus to invalid before parsing the next connector
to avoid using stale ddc bus data. Should fix
fdo bug 28164.
Signed-off-by: Alex Deucher
Cc: sta...@kernel.org
---
drivers/gpu/drm/radeon/radeon_atombios.c |5 ++---
1 files changed,
https://bugs.freedesktop.org/show_bug.cgi?id=28164
Rafał Miłecki changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|
https://bugs.freedesktop.org/show_bug.cgi?id=28164
Rafa? Mi?ecki changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|
https://bugs.freedesktop.org/show_bug.cgi?id=28165
Summary: TV-out issues
Product: DRI
Version: unspecified
Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Compone
https://bugs.freedesktop.org/show_bug.cgi?id=28165
Summary: TV-out issues
Product: DRI
Version: unspecified
Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Compone
https://bugs.freedesktop.org/show_bug.cgi?id=28164
--- Comment #2 from Alex Deucher 2010-05-18 14:53:36 PDT ---
Created an attachment (id=35742)
View: https://bugs.freedesktop.org/attachment.cgi?id=35742
Review: https://bugs.freedesktop.org/review?bug=28164&attachment=35742
possible fix
This
https://bugs.freedesktop.org/show_bug.cgi?id=28164
--- Comment #2 from Alex Deucher 2010-05-18 14:53:36 PDT
---
Created an attachment (id=35742)
View: https://bugs.freedesktop.org/attachment.cgi?id=35742
Review: https://bugs.freedesktop.org/review?bug=28164&attachment=35742
possible fix
This
https://bugs.freedesktop.org/show_bug.cgi?id=28164
--- Comment #1 from Alex Deucher 2010-05-18 14:32:47 PDT ---
Please attach your xorg log and dmesg.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assi
https://bugs.freedesktop.org/show_bug.cgi?id=28164
--- Comment #1 from Alex Deucher 2010-05-18 14:32:47 PDT
---
Please attach your xorg log and dmesg.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the ass
Besides that this should leader to better gtt usage (by not favouring
small objects) this also fixes the eviction-ping-pong-of-doom.
Signed-off-by: Daniel Vetter
---
drivers/gpu/drm/i915/i915_gem.c | 79 +-
1 files changed, 52 insertions(+), 27 deletions(-)
These helper functions can be used to efficiently scan lru list
for eviction. Eviction becomes a three stage process:
1. Scanning through the lru list until a suitable hole has been found.
2. Scan backwards to restore drm_mm consistency and find out which
objects fall into the hole.
3. Evict the
This does two little changes:
- Add an alignment parameter for evict_something. It's not really great to
whack a carefully sized hole into the gtt with the wrong alignment.
Especially since the fallback path is a full evict.
- With the inactive scan stuff we need to evict more that one object
Yeah, I've kinda noticed that fl_entry is the free stack. Still
give it (and the memory node list ml_entry) decent names.
Signed-off-by: Daniel Vetter
---
drivers/gpu/drm/drm_mm.c | 72 ++---
include/drm/drm_mm.h | 11 --
2 files changed, 42 in
There are already two copies of this logic. And the new scanning
stuff will add some more. So extract it into a small helper
function.
Signed-off-by: Daniel Vetter
---
drivers/gpu/drm/drm_mm.c | 71 ++
1 files changed, 34 insertions(+), 37 deletions(
Signed-off-by: Daniel Vetter
---
drivers/gpu/drm/drm_mm.c | 45 -
1 files changed, 0 insertions(+), 45 deletions(-)
diff --git a/drivers/gpu/drm/drm_mm.c b/drivers/gpu/drm/drm_mm.c
index b75eb55..a5a7a16 100644
--- a/drivers/gpu/drm/drm_mm.c
+++ b/dr
Only ever assigned, never used.
Signed-off-by: Daniel Vetter
---
drivers/gpu/drm/i915/i915_gem.c |4 +---
drivers/gpu/drm/ttm/ttm_bo.c |6 --
drivers/gpu/drm/ttm/ttm_bo_util.c |2 --
include/drm/drm_mm.h |1 -
4 files changed, 1 insertions(+), 12 deletions
Signed-off-by: Daniel Vetter
---
drivers/gpu/drm/drm_mm.c |8 ++--
1 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/drivers/gpu/drm/drm_mm.c b/drivers/gpu/drm/drm_mm.c
index 2ac074c..b75eb55 100644
--- a/drivers/gpu/drm/drm_mm.c
+++ b/drivers/gpu/drm/drm_mm.c
@@ -332,7 +332,
i915 needs this.
Signed-off-by: Daniel Vetter
---
include/linux/list.h | 15 +++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/include/linux/list.h b/include/linux/list.h
index 8392884..21cdd99 100644
--- a/include/linux/list.h
+++ b/include/linux/list.h
@@ -544,6
Hi all,
This patch series implements the fair-lru eviction Chris Wilson already
posted with a twist. It's essentially the same idea & algorithm.
Differnences versus his patch:
- Doesn't do any allocations while scanning.
- Implemented in drm_mm.c
In other words, this should also be usable by ttm.
https://bugs.freedesktop.org/show_bug.cgi?id=28164
Summary: [KMS] No LVDS native mode available after using VGA-0
Product: DRI
Version: unspecified
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priori
https://bugs.freedesktop.org/show_bug.cgi?id=28164
Summary: [KMS] No LVDS native mode available after using VGA-0
Product: DRI
Version: unspecified
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priori
https://bugs.freedesktop.org/show_bug.cgi?id=28163
Summary: Static on right part of screen when 3D happens on
rv350 using KMS
Product: DRI
Version: unspecified
Platform: Other
OS/Version: All
Status: NEW
S
https://bugs.freedesktop.org/show_bug.cgi?id=28163
Summary: Static on right part of screen when 3D happens on
rv350 using KMS
Product: DRI
Version: unspecified
Platform: Other
OS/Version: All
Status: NEW
S
https://bugs.freedesktop.org/show_bug.cgi?id=28136
--- Comment #1 from Marek Olšák 2010-05-18 09:43:06 PDT ---
I cannot reproduce it here (X Server 1.7.x). It appears to be related to a bug
in some other system component, maybe something with X/DRI2.
--
Configure bugmail: https://bugs.freedeskt
https://bugs.freedesktop.org/show_bug.cgi?id=28136
--- Comment #1 from Marek Ol??k 2010-05-18 09:43:06 PDT
---
I cannot reproduce it here (X Server 1.7.x). It appears to be related to a bug
in some other system component, maybe something with X/DRI2.
--
Configure bugmail: https://bugs.freedesk
https://bugs.freedesktop.org/show_bug.cgi?id=28154
Pavel Ondračka changed:
What|Removed |Added
URL||http://sourceforge.net/proj
https://bugs.freedesktop.org/show_bug.cgi?id=28154
Pavel Ondra?ka changed:
What|Removed |Added
URL||http://sourceforge.net/proj
https://bugs.freedesktop.org/show_bug.cgi?id=28154
Summary: [r300g] Freeorion crash when fleet icon is clicked
Product: Mesa
Version: git
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
https://bugs.freedesktop.org/show_bug.cgi?id=28154
Summary: [r300g] Freeorion crash when fleet icon is clicked
Product: Mesa
Version: git
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
https://bugs.freedesktop.org/show_bug.cgi?id=24322
Marek Olšák changed:
What|Removed |Added
Status|REOPENED|RESOLVED
Resolution|
https://bugs.freedesktop.org/show_bug.cgi?id=24322
Marek Ol??k changed:
What|Removed |Added
Status|REOPENED|RESOLVED
Resolution|
https://bugs.freedesktop.org/show_bug.cgi?id=24322
--- Comment #14 from Fabio Pedretti 2010-05-18 01:21:04
PDT ---
(In reply to comment #13)
> Could you please test r300g now?
On my RV530 both r300/r300g are working fine.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=em
https://bugs.freedesktop.org/show_bug.cgi?id=24322
--- Comment #14 from Fabio Pedretti 2010-05-18
01:21:04 PDT ---
(In reply to comment #13)
> Could you please test r300g now?
On my RV530 both r300/r300g are working fine.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=em
Should work better on some panels.
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/radeon/radeon_combios.c | 26 ++
1 files changed, 14 insertions(+), 12 deletions(-)
diff --git a/drivers/gpu/drm/radeon/radeon_combios.c
b/drivers/gpu/drm/radeon/radeon_combios.c
index
Fixes LVDS issues on some laptops; notably laptops with
2048x1536 panels.
Signed-off-by: Alex Deucher
Cc: stable at kernel.org
---
drivers/gpu/drm/radeon/radeon_atombios.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/gpu/drm/radeon/radeon_atombios.c
b/driver
58 matches
Mail list logo