2010/5/5 Jerome Glisse jgli...@redhat.com:
If the memory is not iomem we should not try to
ioremap it. Should fix :
https://bugs.freedesktop.org/show_bug.cgi?id=27822
Signed-off-by: Jerome Glisse jgli...@redhat.com
Tested-by: Rafał Miłecki zaj...@gmail.com
Thanks!
--
Rafał
2010/5/6 valdis.kletni...@vt.edu:
Bisected down to:
82c5da6bf8b55a931b042fb531083863d26c8020 is the first bad commit
commit 82c5da6bf8b55a931b042fb531083863d26c8020
Author: Jerome Glisse jgli...@redhat.com
Date: Fri Apr 9 14:39:23 2010 +0200
drm/ttm: ttm_fault callback to allow
2010/5/10 Andy Furniss andy...@ukfsn.org:
The module parameter is obsolete. you can enable it dynamically via
sysfs (power_method). The default pm method is profile.
OK, I know dynpm was removed - but this is dynclks are the two the same?
dynclks is for disabling clocking unused blocks. It
2010/5/19 Alex Deucher alexdeuc...@gmail.com:
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 zaj...@gmail.com
--
Rafał
2010/5/27 Alex Deucher alexdeuc...@gmail.com:
diff --git a/drivers/gpu/drm/radeon/radeon_combios.c
b/drivers/gpu/drm/radeon/radeon_combios.c
index 7b5e10d..102c744 100644
--- a/drivers/gpu/drm/radeon/radeon_combios.c
+++ b/drivers/gpu/drm/radeon/radeon_combios.c
@@ -2454,7 +2454,12 @@
2010/6/4 Jerome Glisse jgli...@redhat.com:
Instead of dumping unprocessed dwords, dump the last 64
dwords of the ring. This make debugging of some case easier.
Signed-off-by: Jerome Glisse jgli...@redhat.com
---
drivers/gpu/drm/radeon/r600.c | 6 +++---
1 files changed, 3 insertions(+),
Signed-off-by: Rafał Miłecki zaj...@gmail.com
---
This fixes FDO bug #28375, must have for .35
V2: Fix on RV770+ as well. All other chipsets have only one clock mode per
state.
---
drivers/gpu/drm/radeon/r600.c |8
drivers/gpu/drm/radeon/rv770.c |7 ---
2 files changed, 8
Signed-off-by: Rafał Miłecki zaj...@gmail.com
---
This fixes FDO bug #28375, it's kind of regression, so quite important to have
it for .35.
V2: Fix on RV770+ as well. All other chipsets have only one clock mode per
state.
V3: I'm out of luck today. Grepped for voltage in r*.c and missed
We have similar tracking for engine and memory. We could think about some
solution for older GPUs as well, however there are not strict voltage values
set.
Signed-off-by: Rafał Miłecki zaj...@gmail.com
---
drivers/gpu/drm/radeon/evergreen.c |8 ++--
drivers/gpu/drm/radeon/r600.c
W dniu 7 czerwca 2010 07:00 użytkownik Alex Deucher
alexdeuc...@gmail.com napisał:
2010/6/6 Rafał Miłecki zaj...@gmail.com:
We have similar tracking for engine and memory. We could think about some
solution for older GPUs as well, however there are not strict voltage values
set.
Signed-off
W dniu 7 czerwca 2010 18:09 użytkownik Alex Deucher
alexdeuc...@gmail.com napisał:
2010/6/7 Rafał Miłecki zaj...@gmail.com:
W dniu 7 czerwca 2010 07:00 użytkownik Alex Deucher
alexdeuc...@gmail.com napisał:
2010/6/6 Rafał Miłecki zaj...@gmail.com:
We have similar tracking for engine
W dniu 7 czerwca 2010 18:24 użytkownik Alex Deucher
alexdeuc...@gmail.com napisał:
Only VOLTAGE_SW uses current_vddc so it's irrelevant for other voltage types.
I introduced displaying this value in radeom_pm_info debugfs in next patch.
--
Rafał
___
Any news on that? Maybe you can get it as is (for d-r-t) Dave and
eventually get another patch later?
--
Rafał
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
W dniu 9 czerwca 2010 16:25 użytkownik Alex Deucher
alexdeuc...@gmail.com napisał:
2010/6/9 Rafał Miłecki zaj...@gmail.com:
Any news on that? Maybe you can get it as is (for d-r-t) Dave and
eventually get another patch later?
I have a set of rebased patches built against drm-fixes (including
2010/6/14 Rafael J. Wysocki r...@sisk.pl:
On Monday, June 14, 2010, Alex Deucher wrote:
On Mon, Jun 14, 2010 at 10:53 AM, Rafael J. Wysocki r...@sisk.pl wrote:
Alex, Dave,
I'm afraid hibernation is broken on all machines using radeon/KMS with r300
after commit
2010/6/18 Rafael J. Wysocki r...@sisk.pl:
From: Rafael J. Wysocki r...@sisk.pl
Thanks for you recent involvement in radeon driver! I can see you used
way shorter commit title this time ;) Just as a minor note, maybe you
could follow prefix-style we used to see around? Like simple
drm/radeon/pm?
We will need method of selecting encoder that should receive HDMI block. For
now we assign HDMI block to first enabled encoder. Hopefully there are not many
RS6x0 chips with two digital encoders.
Signed-off-by: Rafał Miłecki zaj...@gmail.com
---
Is there anyone with RS6x0 and HDMI audio received
2010/6/25 Alex Deucher alexdeuc...@gmail.com:
Fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=28745
Signed-off-by: Alex Deucher alexdeuc...@gmail.com
Tested-by: Rafał Miłecki zaj...@gmail.com
--
Rafał
___
dri-devel mailing list
dri-devel
2010/6/25 Alex Deucher alexdeuc...@gmail.com:
Fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=28745
Signed-off-by: Alex Deucher alexdeuc...@gmail.com
This fixes div by 0 which kills my machine, so I really would like to
see this in .35
--
Rafał
=28774
and similar issues reported by Alberto Milone.
Signed-off-by: Alex Deucher alexdeuc...@gmail.com
Tested-by: Rafał Miłecki zaj...@gmail.com
It really fixes FDO #28774, thanks Alex. As this is not regression
fix, I guess it'll go for .36?
--
Rafał
Hi,
While it's quite easy to track initialization of existing KMS drivers
(plus we have http://www.botchco.com/agd5f/?p=50) I am not sure where
to find documentation of API. I know driver has to register some
outputs/encoders/transmitters related functions that will perform
querying and setting.
W dniu 4 lipca 2010 17:54 użytkownik Jesse Barnes
jbar...@virtuousgeek.org napisał:
You can edit the DocBook/Makefile to remove the broken docs from the
build. That should get you going with the drm doc itself.
I removed z8530book.xml but still got error. Then removed mcabook.xml
and I still
W dniu 4 lipca 2010 18:07 użytkownik Rafał Miłecki zaj...@gmail.com napisał:
W dniu 4 lipca 2010 17:54 użytkownik Jesse Barnes
jbar...@virtuousgeek.org napisał:
You can edit the DocBook/Makefile to remove the broken docs from the
build. That should get you going with the drm doc itself.
I
W dniu 4 lipca 2010 18:11 użytkownik Rafał Miłecki zaj...@gmail.com napisał:
However, generating HTML (make htmldocs) seems to work. I can live
with that, it's fine.
OK, HTMLs were generated fine for drm. I can see there are few
interesting sections, including Output configuration and Output
AFAIU EXA is collection of operations (Solid, Copy, UploadToScreen,
DownloadFromScreen) that touch VRAM. So we can tell hardware to move
xterm window 100px right (Copy) and fill freed place with blue
(Solid). Is that right?
So my question is: when implementing EXA (in DDX) needs DRM and when
it
W dniu 4 lipca 2010 22:37 użytkownik Dave Airlie airl...@gmail.com napisał:
2010/7/5 Rafał Miłecki zaj...@gmail.com:
W dniu 4 lipca 2010 22:24 użytkownik Dave Airlie airl...@gmail.com napisał:
2010/7/5 Rafał Miłecki zaj...@gmail.com:
AFAIU EXA is collection of operations (Solid, Copy
W dniu 25 czerwca 2010 21:24 użytkownik Rafał Miłecki
zaj...@gmail.com napisał:
Signed-off-by: Rafał Miłecki zaj...@gmail.com
---
Nothing serious, just annoying lack of \n made me touch this. Trivial fixes.
That's of course for some next merge window.
As I said it's trivial but still nice
I've installed openSUSE 11.3 which comes with 2.6.34 kernel and added
2.6.35-rc5 from package. In both cases suspending and resuming works
fine.
Then I downloaded 2.6.35-rc5 and compiled it myself. Suspending and
resuming works fine.
When trying d-r-t with the same config my machine locks up on
W dniu 20 lipca 2010 18:21 użytkownik Alex Deucher
alexdeuc...@gmail.com napisał:
The last upstream -rc to get merged into d-r-t was 2.6.35-rc4. If
-rc4 works, you could try bisecting from that point:
W dniu 20 lipca 2010 20:44 użytkownik Alex Deucher
alexdeuc...@gmail.com napisał:
Then merge Linus' tree into your local tree:
git pull linus
It was just about adding master after last one. Thanks a lot! :)
--
Rafał
___
dri-devel mailing list
W dniu 20 lipca 2010 13:15 użytkownik Marius Gröger
marius.groe...@googlemail.com napisał:
Am 20.07.2010 12:14, schrieb Rafał Miłecki:
I've installed openSUSE 11.3 which comes with 2.6.34 kernel and added
2.6.35-rc5 from package. In both cases suspending and resuming works
fine.
Then I
OK, next question :/ How can I rebase local d-r-t onto Linus's tree?
I've Linus's remote tree added and fetched but can not rebase against
it.
# git rebase linus
Current branch drm-radeon-testing is up to date.
# git rebase --onto linus drm-radeon-testing
Current branch drm-radeon-testing is up
W dniu 21 lipca 2010 00:36 użytkownik Dave Airlie airl...@redhat.com napisał:
On Tue, 2010-07-20 at 23:37 +0200, Rafał Miłecki wrote:
OK, next question :/ How can I rebase local d-r-t onto Linus's tree?
I've Linus's remote tree added and fetched but can not rebase against
it.
# git rebase
W dniu 21 lipca 2010 11:30 użytkownik Rafał Miłecki zaj...@gmail.com napisał:
First bisect try gave me:
bad: [d8c253f30d0eb975e5c42c31587ef718517f5067]
drm/radeon: optimize default 3D state for r6xx/r7xx blits
I'm leaving today, not sure if I manage to confirm this before next week.
I
W dniu 21 lipca 2010 19:23 użytkownik Alex Deucher
alexdeuc...@gmail.com napisał:
2010/7/21 Rafał Miłecki zaj...@gmail.com:
W dniu 21 lipca 2010 11:30 użytkownik Rafał Miłecki zaj...@gmail.com
napisał:
First bisect try gave me:
bad: [d8c253f30d0eb975e5c42c31587ef718517f5067]
drm/radeon
W dniu 24 lipca 2010 22:41 użytkownik Alex Deucher
alexdeuc...@gmail.com napisał:
2010/7/24 Rafał Miłecki zaj...@gmail.com:
W dniu 21 lipca 2010 19:23 użytkownik Alex Deucher
alexdeuc...@gmail.com napisał:
2010/7/21 Rafał Miłecki zaj...@gmail.com:
W dniu 21 lipca 2010 11:30 użytkownik Rafał
W dniu 26 lipca 2010 07:57 użytkownik Alex Deucher
alexdeuc...@gmail.com napisał:
How about v4 (attached)? Any better?
I counted up to 9 flashes after resume this time. Didn't try this
again (maybe different amount of flashses).
--
Rafał
___
W dniu 26 lipca 2010 20:55 użytkownik Alex Deucher
alexdeuc...@gmail.com napisał:
2010/7/26 Rafał Miłecki zaj...@gmail.com:
W dniu 26 lipca 2010 07:57 użytkownik Alex Deucher
alexdeuc...@gmail.com napisał:
How about v4 (attached)? Any better?
I counted up to 9 flashes after resume this time
W dniu 27 lipca 2010 17:27 użytkownik Alex Deucher
alexdeuc...@gmail.com napisał:
I'm an idiot. The sampler state needs to be there as it's not emitted
subsequently; I was thinking it got emitted with the texture fetch
constants like it does in the ddx. That was the issue all along.
Thanks
W dniu 28 lipca 2010 01:01 użytkownik Alex Deucher
alexdeuc...@gmail.com napisał:
2010/7/27 Rafał Miłecki zaj...@gmail.com:
W dniu 27 lipca 2010 17:27 użytkownik Alex Deucher
alexdeuc...@gmail.com napisał:
I'm an idiot. The sampler state needs to be there as it's not emitted
subsequently; I
2010/8/10 Benjamin Herrenschmidt b...@kernel.crashing.org:
+#ifdef CONFIG_X86
+ primary = dev-pdev-resource[PCI_ROM_RESOURCE].flags
IORESOURCE_ROM_SHADOW;
+#endif
It won't compile for CONFIG_X86, no dev.
--
Rafał
___
dri-devel mailing list
2010/8/16 Alex Deucher alexdeuc...@gmail.com:
Add options necessary bits for:
- SS on DP
- SS on LVDS
And SS stands for... ? ;)
--
Rafał
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
2010/9/18 Marcin Slusarz marcin.slus...@gmail.com:
On Fri, Sep 17, 2010 at 06:53:26PM -0400, Andy Walls wrote:
On my system, every 10 seconds drm_edid_block_valid() gets called 4
times by radeon_dvi_detect(). This results in 4 instances of a
multi-line hex dump of the same EDID (non-)data
2010/9/20 Andy Walls awa...@md.metrocast.net:
DRM KMS polling of connections providing errant EDID responses, or
polling of connectors that have chips responding on DDC I2C bus
address 0xA0/0xA1 with no actual physical connector nor EDID EEPROM,
will create perpetual noise in dmesg and the
2010/12/16 Mark Marshall mark.marsh...@csr.com:
On 16/12/2010 05:54, Dave Airlie wrote:
From: Dave Airlieairl...@redhat.com
int pci_set_vga_state(struct pci_dev *dev, bool decode,
- unsigned int command_bits, bool change_bridge)
+ unsigned int
2010/12/17 Alex Deucher alexdeuc...@gmail.com:
Users with TVs or monitors that don't overscan by default would prefer
to not have underscan enabled, while users with overscanning TVs prefer
underscan. This should hopefully make everyone happy as most monitors
with audio tend to be TVs which
2010/12/20 Alex Deucher alexdeuc...@gmail.com:
On resume, we were attemping to unblank the displays before the
timing and plls had be reprogrammed which led to atom timeouts
waiting for things that are not yet programmed. Re-program
the mode first, then reset the dpms state.
This fixes the
2011/1/5 Alex Deucher alexdeuc...@gmail.com:
Lots of HDMI TVs overscan the incoming image by default.
The underscan option was added as a way to compensate for
that by underscanning the image so that the edges would
not be cut off on an overscanning TV. However, the TV
provides no way of
2011/2/18 Anca Emanuel anca.eman...@gmail.com:
Nouveau OpenGL regresion
Tools used: http://packages.ubuntu.com/maverick/misc/glmark2
With 2.6.38-rc5 latest git:
nv50_screen_get_param:162 - Unknown PIPE_CAP 11
===
glmark2 10.07.1
2011/3/23 Thomas Renninger tr...@suse.de:
drm radeon: Return -EINVAL on wrong pm sysfs access
Throw an error if someone tries to fill this with
wrong data, instead of simply ignoring the input.
Now you get:
echo hello /sys/../power_method
-bash: echo: write error: Invalid argument
W dniu 26 marca 2011 16:38 użytkownik Rafał Miłecki zaj...@gmail.com napisał:
2011/3/23 Thomas Renninger tr...@suse.de:
drm radeon: Return -EINVAL on wrong pm sysfs access
Throw an error if someone tries to fill this with
wrong data, instead of simply ignoring the input.
Now you get:
echo
Hi Konrad,
2011/6/8 Konrad Rzeszutek Wilk konrad.w...@oracle.com:
The bug-fix ttm: Do not increment the amount of pages in a pool by the
current amount
I never observed, but found while looking at the code. The cleanup patch:
ttm: Fix spelling mistakes and remove unused #ifdef, I had posted
2011/7/11 Alex Deucher alexdeuc...@gmail.com:
Skip connectors that do not have an HPD pin.
Should fix:
https://bugs.freedesktop.org/show_bug.cgi?id=39027
Signed-off-by: Alex Deucher alexdeuc...@gmail.com
Tested-by: Rafał Miłecki zaj...@gmail.com
Fixes the regression.
--
Rafał
2011/8/2 Alan Cox a...@lxorguk.ukuu.org.uk:
But I believe this is a problem of all approaches which provide
multiple hardware-accelerated (or Xv-enabled) seats on a single GPU,
no matter if based on multiple DRM devices, on Xephyr or Xnest
with some kind of OpenGL or DRI passthrough, or on
2011/11/9 Greg Dietsche g...@gregd.org:
Hi,
I have a ASUS M4A89GTD motherboard and when I play back music in Rhythmbox,
there is no sound (hdmi connection). Also, the playback speed is in a sort
of fast forward (for example, after a few seconds of real time, rhythmbox
shows something like 30
W dniu 21 listopada 2011 23:22 użytkownik Linus Torvalds
torva...@linux-foundation.org napisał:
On Mon, Nov 21, 2011 at 1:49 PM, Rafael J. Wysocki r...@sisk.pl wrote:
Subject : [3.1-rc8 REGRESSION] sky2 hangs machine on turning off or
suspending
Submitter : Rafał Miłecki zaj...@gmail.com
Signed-off-by: Rafał Miłecki zaj...@gmail.com
---
drivers/gpu/drm/radeon/r600_audio.c | 37 +++---
drivers/gpu/drm/radeon/r600_hdmi.c | 14 ++--
2 files changed, 32 insertions(+), 19 deletions(-)
diff --git a/drivers/gpu/drm/radeon/r600_audio.c
b
---
drivers/gpu/drm/radeon/evergreen_reg.h |3 +++
drivers/gpu/drm/radeon/r600_hdmi.c | 16 ++--
2 files changed, 13 insertions(+), 6 deletions(-)
diff --git a/drivers/gpu/drm/radeon/evergreen_reg.h
b/drivers/gpu/drm/radeon/evergreen_reg.h
index b883911..2dc1365 100644
---
---
drivers/gpu/drm/radeon/atombios_encoders.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/gpu/drm/radeon/atombios_encoders.c
b/drivers/gpu/drm/radeon/atombios_encoders.c
index 39c04c1..6bb967d 100644
--- a/drivers/gpu/drm/radeon/atombios_encoders.c
+++
In theory function atombios_get_encoder_mode should report
ATOM_ENCODER_MODE_HDMI when TV supports audio. Current we report
ATOM_ENCODER_MODE_DVI if card is DCE4.
Is there any reason for it? Can we just drop that DCE4 condition? This
fixme seems to be here since ever.
--
Rafał
In theory function atombios_get_encoder_mode should report
ATOM_ENCODER_MODE_HDMI when TV supports audio. Current we report
ATOM_ENCODER_MODE_DVI if card is DCE4.
Is there any reason for it? Can we just drop that DCE4 condition? This
fixme seems to be here since ever.
--
Rafał
W dniu 7 grudnia 2011 14:53 użytkownik Alex Deucher
alexdeuc...@gmail.com napisał:
2011/12/7 Rafał Miłecki zaj...@gmail.com:
In theory function atombios_get_encoder_mode should report
ATOM_ENCODER_MODE_HDMI when TV supports audio. Current we report
ATOM_ENCODER_MODE_DVI if card is DCE4
W dniu 7 grudnia 2011 15:53 użytkownik Alex Deucher
alexdeuc...@gmail.com napisał:
2011/12/7 Rafał Miłecki zaj...@gmail.com:
W dniu 7 grudnia 2011 14:53 użytkownik Alex Deucher
alexdeuc...@gmail.com napisał:
2011/12/7 Rafał Miłecki zaj...@gmail.com:
In theory function
Signed-off-by: Rafał Miłecki zaj...@gmail.com
---
drivers/gpu/drm/radeon/r600_hdmi.c | 10 --
1 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/radeon/r600_hdmi.c
b/drivers/gpu/drm/radeon/r600_hdmi.c
index 5021372..06f923e 100644
--- a/drivers/gpu/drm
Signed-off-by: Rafał Miłecki zaj...@gmail.com
---
drivers/gpu/drm/radeon/evergreen.c | 14 ++
drivers/gpu/drm/radeon/evergreen_reg.h |8
drivers/gpu/drm/radeon/r600_audio.c| 22 +++---
3 files changed, 41 insertions(+), 3 deletions(-)
diff
Signed-off-by: Rafał Miłecki zaj...@gmail.com
---
drivers/gpu/drm/radeon/evergreen_reg.h | 10 +++
drivers/gpu/drm/radeon/r600_hdmi.c | 44 ++--
2 files changed, 46 insertions(+), 8 deletions(-)
diff --git a/drivers/gpu/drm/radeon/evergreen_reg.h
b
2011/12/7 Alex Deucher alexdeuc...@gmail.com:
2011/12/7 Rafał Miłecki zaj...@gmail.com:
Signed-off-by: Rafał Miłecki zaj...@gmail.com
---
drivers/gpu/drm/radeon/atombios_encoders.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/radeon
Signed-off-by: Rafał Miłecki zaj...@gmail.com
---
V2: don't duplicate check for radeon_audio
---
drivers/gpu/drm/radeon/atombios_encoders.c | 35 +--
1 files changed, 12 insertions(+), 23 deletions(-)
diff --git a/drivers/gpu/drm/radeon/atombios_encoders.c
b/drivers
Signed-off-by: Rafał Miłecki zaj...@gmail.com
---
drivers/gpu/drm/radeon/r600_hdmi.c | 10 --
1 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/radeon/r600_hdmi.c
b/drivers/gpu/drm/radeon/r600_hdmi.c
index 5021372..06f923e 100644
--- a/drivers/gpu/drm
Signed-off-by: Rafał Miłecki zaj...@gmail.com
---
V2: Don't touch DIG_CNTL manually, AtomBIOS does that for us.
My early testing was done with hacked code to enable HDMI on DVI. After
fixing atombios_get_encoder_mode the behaviour has changed a little,
that hack is not needed anymore
Cc: sta...@vger.kernel.org
Signed-off-by: Rafał Miłecki zaj...@gmail.com
---
I'd like to propose taking this patch into older releases. It's really
trivial while it fixes important feature.
This change was verified to fix both issues with no video I've
investigated. I've also checked checksum
Signed-off-by: Rafał Miłecki zaj...@gmail.com
---
V3: the earlier V2 wasn't applied, so I resend it with some changes.
I've switched HDMI block calculation to use register offsets known from
CRCT. This should match better the rest of Evergreen code.
Dave: this is on top of drm-radeon-testing
W dniu 23 grudnia 2011 20:32 użytkownik Rafał Miłecki
zaj...@gmail.com napisał:
Cc: sta...@vger.kernel.org
Signed-off-by: Rafał Miłecki zaj...@gmail.com
---
I'd like to propose taking this patch into older releases. It's really
trivial while it fixes important feature.
This change
The names has been taken from free M76 specs.
Signed-off-by: Rafał Miłecki zaj...@gmail.com
---
drivers/gpu/drm/radeon/r500_reg.h |2 ++
drivers/gpu/drm/radeon/r600_hdmi.c | 12
2 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/drivers/gpu/drm/radeon/r500_reg.h
Hey,
I want to do some RE-ing and I'm looking for libsegfault to trace Xorg
driver ops. Unfortunately I can't find libsegfault at
http://people.freedesktop.org/~glisse/ anymore.
Can someone share this, please?
--
Rafał
___
dri-devel mailing list
2012/1/20 alexdeuc...@gmail.com:
From: Alex Deucher alexander.deuc...@amd.com
We were previously just checking for audio.
So... Does every hdmi_monitor supports audio? Or should it rather be
if (drm_detect_monitor_audio(radeon_connector-edid)
drm_detect_hdmi_monitor(radeon_connector-edid))
?
---
drivers/gpu/drm/radeon/evergreen.c | 45
drivers/gpu/drm/radeon/r600_hdmi.c |7 -
drivers/gpu/drm/radeon/radeon.h|2 +-
3 files changed, 52 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/radeon/evergreen.c
2012/3/28 alexdeuc...@gmail.com:
+/* digital blocks */
+#define TMDSA_CNTL 0x7880
+# define TMDSA_HDMI_EN (1 2)
+#define LVTMA_CNTL 0x7a80
+# define LVTMA_HDMI_EN (1 2)
+#define DDIA_CNTL
2012/3/28 alexdeuc...@gmail.com:
From: Alex Deucher alexander.deuc...@amd.com
This adds register definitions for HDMI/DP audio on
DCE2/3/4/5 hardware.
OK, AICS we got PLL regs and HDMI blocks regs. May I ask about audio block regs?
Did you just missed them or do they need passing some
W dniu 30 marca 2012 11:09 użytkownik Rafał Miłecki zaj...@gmail.com napisał:
2012/3/28 alexdeuc...@gmail.com:
From: Alex Deucher alexander.deuc...@amd.com
This adds register definitions for HDMI/DP audio on
DCE2/3/4/5 hardware.
OK, AICS we got PLL regs and HDMI blocks regs. May I ask
both: R6xx and Evergreen).
Rafał Miłecki (5):
drm/radeon/kms: move audio params to separated struct
drm/radeon/kms: get rid of hdmi_config_offset
drm/radeon/kms: get rid of r600_hdmi_find_free_block
drm/radeon/kms: keep HDMI state in separated variable
drm/radeon/kms/hdmi: use relative
Signed-off-by: Rafał Miłecki zaj...@gmail.com
Signed-off-by: Alex Deucher alexander.deuc...@amd.com
---
drivers/gpu/drm/radeon/r600_audio.c | 34 +-
drivers/gpu/drm/radeon/radeon.h | 19 ++-
2 files changed, 27 insertions(+), 26 deletions
Signed-off-by: Rafał Miłecki zaj...@gmail.com
---
drivers/gpu/drm/radeon/evergreen_reg.h |2 --
drivers/gpu/drm/radeon/r600_hdmi.c | 14 --
drivers/gpu/drm/radeon/r600_reg.h |6 ++
drivers/gpu/drm/radeon/radeon_mode.h |1 -
4 files changed, 6 insertions
R6xx has routable blocks, but there's nothing wrong in assignment based
on dig_encoder. We didn't really need that algorithm.
Signed-off-by: Rafał Miłecki zaj...@gmail.com
---
drivers/gpu/drm/radeon/r600_hdmi.c | 45 ++-
1 files changed, 8 insertions(+), 37
If we want hdmi_offset to be relative to the first block, zero value can
be used also for enabled block.
Signed-off-by: Rafał Miłecki zaj...@gmail.com
---
drivers/gpu/drm/radeon/r600_hdmi.c | 16 +---
drivers/gpu/drm/radeon/radeon_mode.h |1 +
2 files changed, 10 insertions
Signed-off-by: Rafał Miłecki zaj...@gmail.com
---
drivers/gpu/drm/radeon/r600.c | 28 ++--
drivers/gpu/drm/radeon/r600_hdmi.c | 90 +++-
drivers/gpu/drm/radeon/r600_reg.h | 39 ---
drivers/gpu/drm/radeon/r600d.h |7 ++-
4
sent yesterday.
Again, tested on RV620 and HD6320. Unfortunately I don't have DCE32
card or sth to test code in r600_hdmi_enable/r600_hdmi_disable (pre
DCE3).
P.S.
I'm leaving civilization for the rest of this week.
Rafał Miłecki (3):
drm/radeon/kms/hdmi: enable audio packets at one place
drm
---
drivers/gpu/drm/radeon/r600_hdmi.c | 26 --
1 files changed, 16 insertions(+), 10 deletions(-)
diff --git a/drivers/gpu/drm/radeon/r600_hdmi.c
b/drivers/gpu/drm/radeon/r600_hdmi.c
index c6de0022..69839df 100644
--- a/drivers/gpu/drm/radeon/r600_hdmi.c
+++
---
drivers/gpu/drm/radeon/r600_hdmi.c | 42 +++
1 files changed, 27 insertions(+), 15 deletions(-)
diff --git a/drivers/gpu/drm/radeon/r600_hdmi.c
b/drivers/gpu/drm/radeon/r600_hdmi.c
index 69839df..7d24753 100644
--- a/drivers/gpu/drm/radeon/r600_hdmi.c
+++
---
drivers/gpu/drm/radeon/r600_hdmi.c | 61
drivers/gpu/drm/radeon/radeon.h| 14
2 files changed, 41 insertions(+), 34 deletions(-)
diff --git a/drivers/gpu/drm/radeon/r600_hdmi.c
b/drivers/gpu/drm/radeon/r600_hdmi.c
index 7d24753..0319619
This patch finally separates Evergreen code and applies changes
published as WIP by Alex.
Alex: I think we should add your Signed-o-b in PATCH 2, can you take a
look at this?
Rafał Miłecki (3):
drm/radeon/hdmi: separate evergreen code
drm/radeon/hdmi: update modesetting
drm/radeon/hdmi
Signed-off-by: Rafał Miłecki zaj...@gmail.com
---
drivers/gpu/drm/radeon/Makefile|5 +-
drivers/gpu/drm/radeon/atombios_encoders.c |5 +-
drivers/gpu/drm/radeon/evergreen_hdmi.c| 187
drivers/gpu/drm/radeon/r600_hdmi.c |9
Use defined macros by the way.
Signed-off-by: Rafał Miłecki zaj...@gmail.com
---
drivers/gpu/drm/radeon/r600_hdmi.c | 47 ---
1 files changed, 32 insertions(+), 15 deletions(-)
diff --git a/drivers/gpu/drm/radeon/r600_hdmi.c
b/drivers/gpu/drm/radeon
---
drivers/gpu/drm/radeon/r600_hdmi.c | 81 ++-
drivers/gpu/drm/radeon/radeon.h| 41 ++
2 files changed, 55 insertions(+), 67 deletions(-)
diff --git a/drivers/gpu/drm/radeon/r600_hdmi.c
b/drivers/gpu/drm/radeon/r600_hdmi.c
index
2012/5/6 Rafał Miłecki zaj...@gmail.com:
diff --git a/drivers/gpu/drm/radeon/r600_hdmi.c
b/drivers/gpu/drm/radeon/r600_hdmi.c
index c308432..b14c90a 100644
--- a/drivers/gpu/drm/radeon/r600_hdmi.c
+++ b/drivers/gpu/drm/radeon/r600_hdmi.c
@@ -134,78 +134,22 @@ static void
2012/5/6 Dave Airlie airl...@gmail.com:
On Sun, May 6, 2012 at 5:19 PM, Rafał Miłecki zaj...@gmail.com wrote:
2012/5/6 Rafał Miłecki zaj...@gmail.com:
diff --git a/drivers/gpu/drm/radeon/r600_hdmi.c
b/drivers/gpu/drm/radeon/r600_hdmi.c
index c308432..b14c90a 100644
--- a/drivers/gpu/drm
2012/5/6 Daniel Vetter dan...@ffwll.ch:
On Sun, May 06, 2012 at 05:22:59PM +0100, Dave Airlie wrote:
On Sun, May 6, 2012 at 5:19 PM, Rafał Miłecki zaj...@gmail.com wrote:
2012/5/6 Rafał Miłecki zaj...@gmail.com:
diff --git a/drivers/gpu/drm/radeon/r600_hdmi.c
b/drivers/gpu/drm/radeon
From: Alex Deucher alexander.deuc...@amd.com
Introduce special struct radeon_afmt for this purpose.
Signed-off-by: Alex Deucher alexander.deuc...@amd.com
Signed-off-by: Rafał Miłecki zaj...@gmail.com
---
drivers/gpu/drm/radeon/r600_reg.h |6 ++
drivers/gpu/drm/radeon/r600d.h
Signed-off-by: Rafał Miłecki zaj...@gmail.com
---
drivers/gpu/drm/radeon/atombios_encoders.c | 11 ++-
drivers/gpu/drm/radeon/evergreen_hdmi.c| 16 ++-
drivers/gpu/drm/radeon/r600_audio.c| 25 +
drivers/gpu/drm/radeon/r600_hdmi.c | 151
This optmizes calls, registers reads and assignments.
Signed-off-by: Rafał Miłecki zaj...@gmail.com
---
This should be applied on top of:
[PATCH 1/2] drm/radeon/hdmi: store info about all AFMT blocks
[PATCH 2/2] drm/radeon/hdmi: use new AFMT structs
---
drivers/gpu/drm/radeon/r600_audio.c
1 - 100 of 480 matches
Mail list logo