2010-01-12 17:54:34 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-06-08 10:02:41 +02:00
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
2019-12-03 11:04:02 +01:00
|
|
|
|
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
percpu.h is included by sched.h and module.h and thus ends up being
included when building most .c files. percpu.h includes slab.h which
in turn includes gfp.h making everything defined by the two files
universally available and complicating inclusion dependencies.
percpu.h -> slab.h dependency is about to be removed. Prepare for
this change by updating users of gfp and slab facilities include those
headers directly instead of assuming availability. As this conversion
needs to touch large number of source files, the following script is
used as the basis of conversion.
http://userweb.kernel.org/~tj/misc/slabh-sweep.py
The script does the followings.
* Scan files for gfp and slab usages and update includes such that
only the necessary includes are there. ie. if only gfp is used,
gfp.h, if slab is used, slab.h.
* When the script inserts a new include, it looks at the include
blocks and try to put the new include such that its order conforms
to its surrounding. It's put in the include block which contains
core kernel includes, in the same order that the rest are ordered -
alphabetical, Christmas tree, rev-Xmas-tree or at the end if there
doesn't seem to be any matching order.
* If the script can't find a place to put a new include (mostly
because the file doesn't have fitting include block), it prints out
an error message indicating which .h file needs to be added to the
file.
The conversion was done in the following steps.
1. The initial automatic conversion of all .c files updated slightly
over 4000 files, deleting around 700 includes and adding ~480 gfp.h
and ~3000 slab.h inclusions. The script emitted errors for ~400
files.
2. Each error was manually checked. Some didn't need the inclusion,
some needed manual addition while adding it to implementation .h or
embedding .c file was more appropriate for others. This step added
inclusions to around 150 files.
3. The script was run again and the output was compared to the edits
from #2 to make sure no file was left behind.
4. Several build tests were done and a couple of problems were fixed.
e.g. lib/decompress_*.c used malloc/free() wrappers around slab
APIs requiring slab.h to be added manually.
5. The script was run on all .h files but without automatically
editing them as sprinkling gfp.h and slab.h inclusions around .h
files could easily lead to inclusion dependency hell. Most gfp.h
inclusion directives were ignored as stuff from gfp.h was usually
wildly available and often used in preprocessor macros. Each
slab.h inclusion directive was examined and added manually as
necessary.
6. percpu.h was updated not to include slab.h.
7. Build test were done on the following configurations and failures
were fixed. CONFIG_GCOV_KERNEL was turned off for all tests (as my
distributed build env didn't work with gcov compiles) and a few
more options had to be turned off depending on archs to make things
build (like ipr on powerpc/64 which failed due to missing writeq).
* x86 and x86_64 UP and SMP allmodconfig and a custom test config.
* powerpc and powerpc64 SMP allmodconfig
* sparc and sparc64 SMP allmodconfig
* ia64 SMP allmodconfig
* s390 SMP allmodconfig
* alpha SMP allmodconfig
* um on x86_64 SMP allmodconfig
8. percpu.h modifications were reverted so that it could be applied as
a separate patch and serve as bisection point.
Given the fact that I had only a couple of failures from tests on step
6, I'm fairly confident about the coverage of this conversion patch.
If there is a breakage, it's likely to be something in one of the arch
headers which should be easily discoverable easily on most builds of
the specific arch.
Signed-off-by: Tejun Heo <tj@kernel.org>
Guess-its-ok-by: Christoph Lameter <cl@linux-foundation.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Lee Schermerhorn <Lee.Schermerhorn@hp.com>
2010-03-24 17:04:11 +09:00
|
|
|
|
2019-06-08 10:02:41 +02:00
|
|
|
|
2023-12-12 15:53:38 +02:00
|
|
|
|
2019-06-08 10:02:41 +02:00
|
|
|
|
|
|
|
|
|
2021-08-05 18:45:57 +08:00
|
|
|
|
2022-06-14 12:54:49 +03:00
|
|
|
|
2019-06-08 10:02:41 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-11-16 17:36:53 +00:00
|
|
|
|
2020-11-16 17:36:37 +00:00
|
|
|
|
2020-11-16 17:29:31 +00:00
|
|
|
|
2020-11-16 17:29:34 +00:00
|
|
|
|
2019-06-08 10:02:41 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
2010-03-11 21:19:17 +00:00
|
|
|
|
2014-12-22 17:26:51 -05:00
|
|
|
|
2013-01-11 15:33:13 -05:00
|
|
|
|
2020-11-16 17:36:51 +00:00
|
|
|
|
2010-03-24 13:36:43 -04:00
|
|
|
|
drm/radeon: Cleanup display interrupt handling for evergreen, si
The current code here is really, really bad. A huge amount of it looks
to be copy pasted, it has some weird hatred of arrays and code sharing,
switch cases everywhere for things that really don't need them, and it
makes the file seem immensely more complex then it actually is. This is
a pain for maintanence, and is vulnerable to more weird irq handling
bugs.
So, let's start cleaning this up a bit. Modify all of the IRQ handlers
for evergreen/si so that they just use for loops. As well, we add a
helper function radeon_irq_kms_set_irq_n_enabled(), whose purpose is
just to update the state of registers that enable/disable interrupts
while printing any changes to the set of enabled interrupts to the
kernel log.
Note in this commit, since vblank/vline irq acking is intertwined with
page flip irq acking, we can't cut out all of the copy paste in
evergreen/si_irq_ack() just yet.
Changes since v1:
- Preserve order we write back all registers
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Lyude <lyude@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-05-19 19:48:37 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
radeon: Deinline indirect register accessor functions
This patch deinlines indirect register accessor functions.
These functions perform two mmio accesses, framed by spin lock/unlock.
Spin lock/unlock by itself takes more than 50 cycles in ideal case
(if lock is exclusively cached on current CPU).
With this .config: http://busybox.net/~vda/kernel_config,
after uninlining these functions have sizes and callsite counts
as follows:
r600_uvd_ctx_rreg: 111 bytes, 4 callsites
r600_uvd_ctx_wreg: 113 bytes, 5 callsites
eg_pif_phy0_rreg: 106 bytes, 13 callsites
eg_pif_phy0_wreg: 108 bytes, 13 callsites
eg_pif_phy1_rreg: 107 bytes, 13 callsites
eg_pif_phy1_wreg: 108 bytes, 13 callsites
rv370_pcie_rreg: 111 bytes, 21 callsites
rv370_pcie_wreg: 113 bytes, 24 callsites
r600_rcu_rreg: 111 bytes, 16 callsites
r600_rcu_wreg: 113 bytes, 25 callsites
cik_didt_rreg: 106 bytes, 10 callsites
cik_didt_wreg: 107 bytes, 10 callsites
tn_smc_rreg: 106 bytes, 126 callsites
tn_smc_wreg: 107 bytes, 116 callsites
eg_cg_rreg: 107 bytes, 20 callsites
eg_cg_wreg: 108 bytes, 52 callsites
Functions r100_mm_rreg() and r100_mm_rreg() have a fast path and
a locked (slow) path. This patch deinlines only slow path.
r100_mm_rreg_slow: 78 bytes, 2083 callsites
r100_mm_wreg_slow: 81 bytes, 3570 callsites
Reduction in code size is more than 65,000 bytes:
text data bss dec hex filename
85740176 22294680 20627456 128662312 7ab3b28 vmlinux.before
85674192 22294776 20627456 128598664 7aa4288 vmlinux
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Cc: Christian König <christian.koenig@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2015-05-20 13:02:37 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
2013-04-08 12:41:33 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-04-29 11:55:02 +02:00
|
|
|
|
2013-04-08 12:41:33 +02:00
|
|
|
|
|
|
|
|
|
2013-04-18 15:25:58 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-04-29 11:55:02 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-04-08 12:41:33 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-04-29 11:55:02 +02:00
|
|
|
|
2013-04-08 12:41:33 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-04-29 11:55:02 +02:00
|
|
|
|
2013-04-08 12:41:33 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-04-29 11:55:02 +02:00
|
|
|
|
2013-04-08 12:41:33 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-04-29 11:55:02 +02:00
|
|
|
|
2013-04-08 12:41:33 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-04-29 11:55:02 +02:00
|
|
|
|
2013-04-08 12:41:33 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-09-01 17:46:15 +00:00
|
|
|
|
|
|
|
|
|
2013-09-09 21:13:08 +08:00
|
|
|
|
|
|
|
|
|
2011-09-01 17:46:15 +00:00
|
|
|
|
2013-09-09 21:13:08 +08:00
|
|
|
|
|
|
|
|
|
2011-09-01 17:46:15 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-09-09 21:13:08 +08:00
|
|
|
|
|
|
|
|
|
2011-09-01 17:46:15 +00:00
|
|
|
|
|
|
|
|
|
2013-09-23 12:22:11 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-09-24 17:26:26 -04:00
|
|
|
|
2013-09-23 12:22:11 -04:00
|
|
|
|
2013-09-24 17:26:26 -04:00
|
|
|
|
|
|
|
|
|
2013-09-23 12:22:11 -04:00
|
|
|
|
2013-09-24 17:26:26 -04:00
|
|
|
|
|
|
|
|
|
2013-09-23 12:22:11 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-09-24 17:26:26 -04:00
|
|
|
|
2013-09-23 12:22:11 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-09-24 17:26:26 -04:00
|
|
|
|
2013-09-23 12:22:11 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-04-09 18:49:59 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-07-17 14:02:42 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-02-23 17:53:37 -05:00
|
|
|
|
|
|
|
|
|
2013-04-09 18:49:59 -04:00
|
|
|
|
2012-02-23 17:53:37 -05:00
|
|
|
|
2012-08-15 17:13:53 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-04-09 18:49:59 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-02-23 17:53:37 -05:00
|
|
|
|
|
|
|
|
|
2013-04-09 18:49:59 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-02-23 17:53:37 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-07-17 14:02:42 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-11-10 19:30:43 +00:00
|
|
|
|
2012-07-17 14:02:42 -04:00
|
|
|
|
2015-10-23 12:56:51 -04:00
|
|
|
|
|
|
|
|
|
2012-07-17 14:02:42 -04:00
|
|
|
|
2016-04-01 18:51:34 +09:00
|
|
|
|
|
|
|
|
|
2010-11-21 10:59:01 -05:00
|
|
|
|
|
|
|
|
|
2021-08-05 18:45:57 +08:00
|
|
|
|
2010-11-21 10:59:01 -05:00
|
|
|
|
2021-08-05 18:45:57 +08:00
|
|
|
|
2016-04-01 18:51:34 +09:00
|
|
|
|
|
|
|
|
|
2021-08-05 18:45:57 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-11-21 10:59:01 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-10-23 12:56:51 -04:00
|
|
|
|
|
|
|
|
|
2014-05-27 16:49:20 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-11-21 10:59:01 -05:00
|
|
|
|
|
|
|
|
|
2014-05-27 16:49:20 +02:00
|
|
|
|
|
|
|
|
|
2010-11-21 10:59:01 -05:00
|
|
|
|
|
|
|
|
|
2010-07-02 12:58:16 -04:00
|
|
|
|
2011-02-01 16:12:34 -05:00
|
|
|
|
2010-07-02 12:58:16 -04:00
|
|
|
|
2011-06-14 19:15:53 +00:00
|
|
|
|
|
|
|
|
|
2010-07-02 12:58:16 -04:00
|
|
|
|
2011-05-25 18:45:37 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-07-02 12:58:16 -04:00
|
|
|
|
2011-05-25 18:45:37 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-07-17 14:02:42 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-04-23 17:57:27 -04:00
|
|
|
|
|
|
|
|
|
2010-06-07 18:20:25 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-12-16 16:02:38 +05:30
|
|
|
|
2010-04-23 17:57:27 -04:00
|
|
|
|
2011-04-12 14:49:24 -04:00
|
|
|
|
2013-07-05 13:14:30 -04:00
|
|
|
|
|
|
|
|
|
2011-06-20 13:00:31 -04:00
|
|
|
|
2011-04-12 14:49:24 -04:00
|
|
|
|
2011-04-12 14:49:23 -04:00
|
|
|
|
2010-06-07 18:15:18 -04:00
|
|
|
|
2025-12-16 16:02:38 +05:30
|
|
|
|
2011-04-12 14:49:24 -04:00
|
|
|
|
2013-02-11 08:44:48 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-07-05 13:14:30 -04:00
|
|
|
|
|
|
|
|
|
2011-06-20 13:00:31 -04:00
|
|
|
|
2011-04-12 14:49:24 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-12-16 16:02:38 +05:30
|
|
|
|
2010-06-07 18:15:18 -04:00
|
|
|
|
|
|
|
|
|
2010-04-23 17:57:27 -04:00
|
|
|
|
|
|
|
|
|
2012-07-17 14:02:42 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-04-23 17:57:27 -04:00
|
|
|
|
|
|
|
|
|
2024-06-30 12:59:21 -04:00
|
|
|
|
2010-04-23 17:57:27 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-07-17 14:02:42 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-04-23 17:57:27 -04:00
|
|
|
|
|
|
|
|
|
2024-06-30 12:59:21 -04:00
|
|
|
|
2010-04-23 17:57:27 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-07-17 14:02:42 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
|
|
|
|
|
drm/radeon: Cleanup display interrupt handling for evergreen, si
The current code here is really, really bad. A huge amount of it looks
to be copy pasted, it has some weird hatred of arrays and code sharing,
switch cases everywhere for things that really don't need them, and it
makes the file seem immensely more complex then it actually is. This is
a pain for maintanence, and is vulnerable to more weird irq handling
bugs.
So, let's start cleaning this up a bit. Modify all of the IRQ handlers
for evergreen/si so that they just use for loops. As well, we add a
helper function radeon_irq_kms_set_irq_n_enabled(), whose purpose is
just to update the state of registers that enable/disable interrupts
while printing any changes to the set of enabled interrupts to the
kernel log.
Note in this commit, since vblank/vline irq acking is intertwined with
page flip irq acking, we can't cut out all of the copy paste in
evergreen/si_irq_ack() just yet.
Changes since v1:
- Preserve order we write back all registers
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Lyude <lyude@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-05-19 19:48:37 -04:00
|
|
|
|
|
|
|
|
|
2010-02-26 13:57:45 -05:00
|
|
|
|
drm/radeon: Cleanup display interrupt handling for evergreen, si
The current code here is really, really bad. A huge amount of it looks
to be copy pasted, it has some weird hatred of arrays and code sharing,
switch cases everywhere for things that really don't need them, and it
makes the file seem immensely more complex then it actually is. This is
a pain for maintanence, and is vulnerable to more weird irq handling
bugs.
So, let's start cleaning this up a bit. Modify all of the IRQ handlers
for evergreen/si so that they just use for loops. As well, we add a
helper function radeon_irq_kms_set_irq_n_enabled(), whose purpose is
just to update the state of registers that enable/disable interrupts
while printing any changes to the set of enabled interrupts to the
kernel log.
Note in this commit, since vblank/vline irq acking is intertwined with
page flip irq acking, we can't cut out all of the copy paste in
evergreen/si_irq_ack() just yet.
Changes since v1:
- Preserve order we write back all registers
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Lyude <lyude@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-05-19 19:48:37 -04:00
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
|
|
|
|
|
2012-07-17 14:02:42 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-02-26 13:57:45 -05:00
|
|
|
|
|
|
|
|
|
drm/radeon: Cleanup display interrupt handling for evergreen, si
The current code here is really, really bad. A huge amount of it looks
to be copy pasted, it has some weird hatred of arrays and code sharing,
switch cases everywhere for things that really don't need them, and it
makes the file seem immensely more complex then it actually is. This is
a pain for maintanence, and is vulnerable to more weird irq handling
bugs.
So, let's start cleaning this up a bit. Modify all of the IRQ handlers
for evergreen/si so that they just use for loops. As well, we add a
helper function radeon_irq_kms_set_irq_n_enabled(), whose purpose is
just to update the state of registers that enable/disable interrupts
while printing any changes to the set of enabled interrupts to the
kernel log.
Note in this commit, since vblank/vline irq acking is intertwined with
page flip irq acking, we can't cut out all of the copy paste in
evergreen/si_irq_ack() just yet.
Changes since v1:
- Preserve order we write back all registers
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Lyude <lyude@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-05-19 19:48:37 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
|
|
|
|
|
2012-07-17 14:02:42 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
|
|
|
|
|
2024-06-30 12:59:21 -04:00
|
|
|
|
2010-02-26 13:57:45 -05:00
|
|
|
|
2012-05-17 01:33:30 +02:00
|
|
|
|
2010-02-26 13:57:45 -05:00
|
|
|
|
|
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
2010-02-26 13:57:45 -05:00
|
|
|
|
drm/radeon: Cleanup display interrupt handling for evergreen, si
The current code here is really, really bad. A huge amount of it looks
to be copy pasted, it has some weird hatred of arrays and code sharing,
switch cases everywhere for things that really don't need them, and it
makes the file seem immensely more complex then it actually is. This is
a pain for maintanence, and is vulnerable to more weird irq handling
bugs.
So, let's start cleaning this up a bit. Modify all of the IRQ handlers
for evergreen/si so that they just use for loops. As well, we add a
helper function radeon_irq_kms_set_irq_n_enabled(), whose purpose is
just to update the state of registers that enable/disable interrupts
while printing any changes to the set of enabled interrupts to the
kernel log.
Note in this commit, since vblank/vline irq acking is intertwined with
page flip irq acking, we can't cut out all of the copy paste in
evergreen/si_irq_ack() just yet.
Changes since v1:
- Preserve order we write back all registers
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Lyude <lyude@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-05-19 19:48:37 -04:00
|
|
|
|
|
|
|
|
|
2013-04-11 12:45:34 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
drm/radeon: Cleanup display interrupt handling for evergreen, si
The current code here is really, really bad. A huge amount of it looks
to be copy pasted, it has some weird hatred of arrays and code sharing,
switch cases everywhere for things that really don't need them, and it
makes the file seem immensely more complex then it actually is. This is
a pain for maintanence, and is vulnerable to more weird irq handling
bugs.
So, let's start cleaning this up a bit. Modify all of the IRQ handlers
for evergreen/si so that they just use for loops. As well, we add a
helper function radeon_irq_kms_set_irq_n_enabled(), whose purpose is
just to update the state of registers that enable/disable interrupts
while printing any changes to the set of enabled interrupts to the
kernel log.
Note in this commit, since vblank/vline irq acking is intertwined with
page flip irq acking, we can't cut out all of the copy paste in
evergreen/si_irq_ack() just yet.
Changes since v1:
- Preserve order we write back all registers
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Lyude <lyude@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-05-19 19:48:37 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-02-26 13:57:45 -05:00
|
|
|
|
2012-05-17 01:33:30 +02:00
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
|
|
|
|
|
2012-07-17 14:02:42 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
2010-02-26 13:57:45 -05:00
|
|
|
|
2024-06-30 12:59:21 -04:00
|
|
|
|
2010-02-26 13:57:45 -05:00
|
|
|
|
2012-05-17 01:33:30 +02:00
|
|
|
|
2010-02-26 13:57:45 -05:00
|
|
|
|
|
|
|
|
|
drm/radeon: Cleanup display interrupt handling for evergreen, si
The current code here is really, really bad. A huge amount of it looks
to be copy pasted, it has some weird hatred of arrays and code sharing,
switch cases everywhere for things that really don't need them, and it
makes the file seem immensely more complex then it actually is. This is
a pain for maintanence, and is vulnerable to more weird irq handling
bugs.
So, let's start cleaning this up a bit. Modify all of the IRQ handlers
for evergreen/si so that they just use for loops. As well, we add a
helper function radeon_irq_kms_set_irq_n_enabled(), whose purpose is
just to update the state of registers that enable/disable interrupts
while printing any changes to the set of enabled interrupts to the
kernel log.
Note in this commit, since vblank/vline irq acking is intertwined with
page flip irq acking, we can't cut out all of the copy paste in
evergreen/si_irq_ack() just yet.
Changes since v1:
- Preserve order we write back all registers
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Lyude <lyude@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-05-19 19:48:37 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-02-26 13:57:45 -05:00
|
|
|
|
2012-05-17 01:33:30 +02:00
|
|
|
|
2010-02-26 13:57:45 -05:00
|
|
|
|
|
|
|
|
|
2010-10-22 02:51:05 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-08-19 11:06:50 -04:00
|
|
|
|
|
|
|
|
|
2010-10-22 02:51:05 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-04-14 19:07:34 -04:00
|
|
|
|
2010-10-22 02:51:05 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-04-14 19:07:34 -04:00
|
|
|
|
2010-10-22 02:51:05 -04:00
|
|
|
|
|
|
|
|
|
2011-04-14 19:07:34 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-08-19 11:06:50 -04:00
|
|
|
|
2010-10-22 02:51:05 -04:00
|
|
|
|
2013-08-19 11:06:50 -04:00
|
|
|
|
|
|
|
|
|
2011-04-14 19:07:34 -04:00
|
|
|
|
2013-08-19 11:06:50 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-04-14 19:07:34 -04:00
|
|
|
|
2013-08-19 11:06:50 -04:00
|
|
|
|
|
|
|
|
|
2010-10-22 02:51:05 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-08-19 11:06:50 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-04-14 19:07:34 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
2012-03-13 16:25:11 -04:00
|
|
|
|
2010-10-22 02:51:05 -04:00
|
|
|
|
2012-03-13 16:25:11 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-04-24 01:33:09 +02:00
|
|
|
|
2012-03-13 16:25:11 -04:00
|
|
|
|
|
|
|
|
|
2010-10-22 02:51:05 -04:00
|
|
|
|
2012-03-13 16:25:11 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-10-22 02:51:05 -04:00
|
|
|
|
2012-03-13 16:25:11 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-04-24 01:33:09 +02:00
|
|
|
|
2012-03-13 16:25:11 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-10-22 02:51:05 -04:00
|
|
|
|
|
|
|
|
|
2012-03-13 16:25:11 -04:00
|
|
|
|
2010-10-22 02:51:05 -04:00
|
|
|
|
2012-03-13 16:25:11 -04:00
|
|
|
|
2010-10-22 02:51:05 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-03-13 16:25:11 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-10-22 02:51:05 -04:00
|
|
|
|
2025-12-16 16:02:38 +05:30
|
|
|
|
2010-10-22 02:51:05 -04:00
|
|
|
|
2012-03-13 16:25:11 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-12-16 16:02:38 +05:30
|
|
|
|
2010-10-22 02:51:05 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
drm/radeon: Fixup hw vblank counter/ts for new drm_update_vblank_count() (v2)
commit 4dfd6486 "drm: Use vblank timestamps to guesstimate how many
vblanks were missed" introduced in Linux 4.4-rc1 makes the drm core
more fragile to drivers which don't update hw vblank counters and
vblank timestamps in sync with firing of the vblank irq and
essentially at leading edge of vblank.
This exposed a problem with radeon-kms/amdgpu-kms which do not
satisfy above requirements:
The vblank irq fires a few scanlines before start of vblank, but
programmed pageflips complete at start of vblank and
vblank timestamps update at start of vblank, whereas the
hw vblank counter increments only later, at start of vsync.
This leads to problems like off by one errors for vblank counter
updates, vblank counters apparently going backwards or vblank
timestamps apparently having time going backwards. The net result
is stuttering of graphics in games, or little hangs, as well as
total failure of timing sensitive applications.
See bug #93147 for an example of the regression on Linux 4.4-rc:
https://bugs.freedesktop.org/show_bug.cgi?id=93147
This patch tries to align all above events better from the
viewpoint of the drm core / of external callers to fix the problem:
1. The apparent start of vblank is shifted a few scanlines earlier,
so the vblank irq now always happens after start of this extended
vblank interval and thereby drm_update_vblank_count() always samples
the updated vblank count and timestamp of the new vblank interval.
To achieve this, the reporting of scanout positions by
radeon_get_crtc_scanoutpos() now operates as if the vblank starts
radeon_crtc->lb_vblank_lead_lines before the real start of the hw
vblank interval. This means that the vblank timestamps which are based
on these scanout positions will now update at this earlier start of
vblank.
2. The driver->get_vblank_counter() function will bump the returned
vblank count as read from the hw by +1 if the query happens after
the shifted earlier start of the vblank, but before the real hw increment
at start of vsync, so the counter appears to increment at start of vblank
in sync with the timestamp update.
3. Calls from vblank irq-context and regular non-irq calls are now
treated identical, always simulating the shifted vblank start, to
avoid inconsistent results for queries happening from vblank irq vs.
happening from drm_vblank_enable() or vblank_disable_fn().
4. The radeon_flip_work_func will delay mmio programming a pageflip until
the start of the real vblank iff it happens to execute inside the shifted
earlier start of the vblank, so pageflips now also appear to execute at
start of the shifted vblank, in sync with vblank counter and timestamp
updates. This to avoid some races between updates of vblank count and
timestamps that are used for swap scheduling and pageflip execution which
could cause pageflips to execute before the scheduled target vblank.
The lb_vblank_lead_lines "fudge" value is calculated as the size of
the display controllers line buffer in scanlines for the given video
mode: Vblank irq's are triggered by the line buffer logic when the line
buffer refill for a video frame ends, ie. when the line buffer source read
position enters the hw vblank. This means that a vblank irq could fire at
most as many scanlines before the current reported scanout position of the
crtc timing generator as the number of scanlines the line buffer can
maximally hold for a given video mode.
This patch has been successfully tested on a RV730 card with DCE-3 display
engine and on a evergreen card with DCE-4 display engine, in single-display
and dual-display configuration, with different video modes.
A similar patch is needed for amdgpu-kms to fix the same problem.
Limitations:
- Line buffer sizes in pixels are hard-coded on < DCE-4 to a value
i just guessed to be high enough to work ok, lacking info on the true
sizes atm.
Fixes: fdo#93147
Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: Michel Dänzer <michel.daenzer@amd.com>
Cc: Harry Wentland <Harry.Wentland@amd.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
(v1) Tested-by: Dave Witbrodt <dawitbro@sbcglobal.net>
(v2) Refine radeon_flip_work_func() for better efficiency:
In radeon_flip_work_func, replace the busy waiting udelay(5)
with event lock held by a more performance and energy efficient
usleep_range() until at least predicted true start of hw vblank,
with some slack for scheduler happiness. Release the event lock
during waits to not delay other outputs in doing their stuff, as
the waiting can last up to 200 usecs in some cases.
Retested on DCE-3 and DCE-4 to verify it still works nicely.
(v2) Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2015-11-25 20:14:31 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-10-22 02:51:05 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-03-21 10:38:49 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-10-22 02:51:05 -04:00
|
|
|
|
|
|
|
|
|
2012-07-17 14:02:42 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-02-26 13:57:45 -05:00
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
2010-10-22 02:51:05 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-11-03 09:57:46 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-10-22 02:51:05 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
|
|
|
|
|
2012-07-17 14:02:42 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-03-02 20:07:33 -05:00
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-03-24 13:20:41 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-12-15 11:01:56 -05:00
|
|
|
|
|
|
|
|
|
2010-03-24 13:20:41 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-02-28 04:55:52 -08:00
|
|
|
|
2010-03-24 13:20:41 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-08-31 13:43:50 -04:00
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
|
|
|
|
|
2010-03-24 13:20:41 -04:00
|
|
|
|
2025-12-16 16:02:38 +05:30
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
2011-11-03 11:16:49 -04:00
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-05-03 19:28:02 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-05-31 18:54:43 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-05-03 19:28:02 -04:00
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-05-28 15:51:59 +02:00
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-03-24 13:20:41 -04:00
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
2010-03-24 13:20:41 -04:00
|
|
|
|
2025-12-16 16:02:38 +05:30
|
|
|
|
2011-08-31 21:54:07 +00:00
|
|
|
|
|
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-08-31 13:43:50 -04:00
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-03-24 13:20:41 -04:00
|
|
|
|
|
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-11-03 11:16:49 -04:00
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
|
|
|
|
|
2012-08-31 13:43:50 -04:00
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-08-31 13:43:50 -04:00
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-03-24 13:20:41 -04:00
|
|
|
|
|
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
|
|
|
|
|
2024-01-11 08:51:58 +00:00
|
|
|
|
2016-04-14 13:34:03 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-01-11 08:51:58 +00:00
|
|
|
|
2016-04-14 13:34:03 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-01-11 08:51:58 +00:00
|
|
|
|
2016-04-14 13:34:03 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-01-11 08:51:58 +00:00
|
|
|
|
drm/radeon: Cleanup display interrupt handling for evergreen, si
The current code here is really, really bad. A huge amount of it looks
to be copy pasted, it has some weird hatred of arrays and code sharing,
switch cases everywhere for things that really don't need them, and it
makes the file seem immensely more complex then it actually is. This is
a pain for maintanence, and is vulnerable to more weird irq handling
bugs.
So, let's start cleaning this up a bit. Modify all of the IRQ handlers
for evergreen/si so that they just use for loops. As well, we add a
helper function radeon_irq_kms_set_irq_n_enabled(), whose purpose is
just to update the state of registers that enable/disable interrupts
while printing any changes to the set of enabled interrupts to the
kernel log.
Note in this commit, since vblank/vline irq acking is intertwined with
page flip irq acking, we can't cut out all of the copy paste in
evergreen/si_irq_ack() just yet.
Changes since v1:
- Preserve order we write back all registers
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Lyude <lyude@redhat.com>
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-12-16 16:02:38 +05:30
|
|
|
|
2016-04-14 13:34:03 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-01-11 08:51:58 +00:00
|
|
|
|
2016-04-14 13:34:03 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-01-11 08:51:58 +00:00
|
|
|
|
2025-12-16 16:02:38 +05:30
|
|
|
|
2016-04-14 13:34:03 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-03-02 20:07:33 -05:00
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
2012-08-15 17:18:42 -04:00
|
|
|
|
|
|
|
|
|
2016-04-14 13:34:03 -04:00
|
|
|
|
2012-08-15 17:18:42 -04:00
|
|
|
|
2012-08-30 14:34:30 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
2012-08-30 14:34:30 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-08-15 17:18:42 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-04-10 19:08:14 -04:00
|
|
|
|
2012-08-15 17:18:42 -04:00
|
|
|
|
|
|
|
|
|
2014-11-05 17:14:32 -05:00
|
|
|
|
2012-08-15 17:18:42 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-04-10 19:08:14 -04:00
|
|
|
|
2012-08-15 17:18:42 -04:00
|
|
|
|
|
|
|
|
|
2013-04-10 19:08:14 -04:00
|
|
|
|
2012-08-15 17:18:42 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-04-14 13:34:03 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-01-11 08:51:58 +00:00
|
|
|
|
2016-04-14 13:34:03 -04:00
|
|
|
|
|
|
|
|
|
2013-04-10 19:08:14 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-11-19 09:11:27 -05:00
|
|
|
|
|
|
|
|
|
2012-08-15 17:18:42 -04:00
|
|
|
|
2010-11-22 17:56:28 -05:00
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
2012-08-15 17:18:42 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-07-08 11:44:56 -04:00
|
|
|
|
2013-01-31 09:00:52 -05:00
|
|
|
|
|
|
|
|
|
2013-04-10 09:58:42 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
|
|
|
|
|
2011-03-02 20:07:33 -05:00
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
2012-08-15 17:18:42 -04:00
|
|
|
|
|
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
2012-08-15 17:18:42 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-11-22 17:56:28 -05:00
|
|
|
|
2012-08-15 17:18:42 -04:00
|
|
|
|
2010-11-22 17:56:28 -05:00
|
|
|
|
2012-08-15 17:18:42 -04:00
|
|
|
|
2010-11-22 17:56:28 -05:00
|
|
|
|
2012-08-15 17:18:42 -04:00
|
|
|
|
2010-11-22 17:56:28 -05:00
|
|
|
|
2011-07-08 11:44:56 -04:00
|
|
|
|
2012-08-30 14:34:30 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-08-15 17:18:42 -04:00
|
|
|
|
2013-04-10 09:58:42 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-08-04 12:39:40 +09:00
|
|
|
|
drm/radeon: Prevent too early kms-pageflips triggered by vblank.
Since 3.16-rc1 we have this new failure:
When the userspace XOrg ddx schedules vblank events to
trigger deferred kms-pageflips, e.g., via the OML_sync_control
extension call glXSwapBuffersMscOML(), or if a glXSwapBuffers()
is called immediately after completion of a previous swapbuffers
call, e.g., in a tight rendering loop with minimal rendering,
it happens frequently that the pageflip ioctl() is executed
within the same vblank in which a previous kms-pageflip completed,
or - for deferred swaps - always one vblank earlier than requested
by the client app.
This causes premature pageflips and detection of failure by
the ddx, e.g., XOrg log warnings like...
"(WW) RADEON(1): radeon_dri2_flip_event_handler: Pageflip
completion event has impossible msc 201025 < target_msc 201026"
... and error/invalid return values of glXWaitForSbcOML() and
Intel_swap_events extension.
Reason is the new way in which kms-pageflips are programmed
since 3.16.
This commit changes the time window in which the hw can
execute pending programmed pageflips. Before, a pending flip
would get executed anywhere within the vblank interval. Now
a pending flip only gets executed at the leading edge of
vblank (start of front porch), making sure that a invocation
of the pageflip ioctl() within a given vblank interval will
only lead to pageflip completion in the following vblank.
Tested to death on a DCE-4 card.
Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2014-07-03 03:45:02 +02:00
|
|
|
|
2013-04-10 09:58:42 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-08-15 17:18:42 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-11-05 16:34:58 +00:00
|
|
|
|
2012-08-15 17:18:42 -04:00
|
|
|
|
|
|
|
|
|
2014-07-30 17:57:28 -04:00
|
|
|
|
2013-01-26 11:10:58 -05:00
|
|
|
|
2012-08-15 17:18:42 -04:00
|
|
|
|
2013-01-26 11:10:58 -05:00
|
|
|
|
2012-08-15 17:18:42 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-01-26 11:10:58 -05:00
|
|
|
|
2012-08-15 17:18:42 -04:00
|
|
|
|
2013-01-26 11:10:58 -05:00
|
|
|
|
2012-08-15 17:18:42 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-08-30 14:34:30 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
|
|
|
|
|
2011-03-02 20:07:34 -05:00
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-11-10 08:59:39 -05:00
|
|
|
|
2012-03-20 17:18:37 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-12-15 11:04:10 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-01-06 19:12:37 -05:00
|
|
|
|
2010-06-03 19:34:48 +02:00
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-02-02 12:37:40 -05:00
|
|
|
|
|
|
|
|
|
2012-05-08 14:24:01 +02:00
|
|
|
|
2012-07-17 14:02:31 -04:00
|
|
|
|
2011-09-23 15:11:23 +02:00
|
|
|
|
2011-02-02 12:37:40 -05:00
|
|
|
|
2011-10-23 12:56:27 +02:00
|
|
|
|
|
|
|
|
|
2012-07-06 16:22:55 +02:00
|
|
|
|
|
|
|
|
|
2012-07-17 14:02:31 -04:00
|
|
|
|
2012-07-06 16:22:55 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-07-17 14:02:31 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-07-06 16:22:55 +02:00
|
|
|
|
|
|
|
|
|
2011-10-23 12:56:27 +02:00
|
|
|
|
|
|
|
|
|
2011-02-13 19:06:33 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-10-23 12:56:27 +02:00
|
|
|
|
|
|
|
|
|
2011-02-02 12:37:40 -05:00
|
|
|
|
|
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-03-24 13:36:43 -04:00
|
|
|
|
|
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
2010-03-24 13:36:43 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-02-13 19:06:33 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-03-24 13:36:43 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-09-02 21:32:32 -04:00
|
|
|
|
|
|
|
|
|
2011-10-23 12:56:27 +02:00
|
|
|
|
2010-10-21 13:31:38 -04:00
|
|
|
|
2010-09-02 21:32:32 -04:00
|
|
|
|
2025-12-16 16:02:38 +05:30
|
|
|
|
2010-09-02 21:32:32 -04:00
|
|
|
|
2011-10-23 12:56:27 +02:00
|
|
|
|
2010-09-02 21:32:32 -04:00
|
|
|
|
2025-12-16 16:02:38 +05:30
|
|
|
|
2010-09-02 21:32:32 -04:00
|
|
|
|
|
|
|
|
|
2011-10-23 12:56:27 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-08-18 17:34:55 +09:00
|
|
|
|
2010-09-02 21:32:32 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-10-23 12:56:27 +02:00
|
|
|
|
2010-09-02 21:32:32 -04:00
|
|
|
|
2025-12-16 16:02:38 +05:30
|
|
|
|
2010-09-02 21:32:32 -04:00
|
|
|
|
|
|
|
|
|
2010-10-21 13:31:38 -04:00
|
|
|
|
|
|
|
|
|
2011-10-23 12:56:27 +02:00
|
|
|
|
|
|
|
|
|
2010-10-21 13:31:38 -04:00
|
|
|
|
|
|
|
|
|
2011-10-23 12:56:27 +02:00
|
|
|
|
2010-10-21 13:31:38 -04:00
|
|
|
|
2011-10-23 12:56:27 +02:00
|
|
|
|
|
|
|
|
|
2010-10-21 13:31:38 -04:00
|
|
|
|
|
|
|
|
|
2011-10-23 12:56:27 +02:00
|
|
|
|
|
|
|
|
|
2010-10-21 13:31:38 -04:00
|
|
|
|
|
|
|
|
|
2011-10-23 12:56:27 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-10-21 13:31:38 -04:00
|
|
|
|
|
|
|
|
|
2011-10-23 12:56:27 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-10-21 13:31:38 -04:00
|
|
|
|
2011-10-23 12:56:27 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-02-02 12:37:41 -05:00
|
|
|
|
2014-08-18 17:34:55 +09:00
|
|
|
|
2010-09-02 21:32:32 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-08-31 13:43:50 -04:00
|
|
|
|
2010-03-24 13:36:43 -04:00
|
|
|
|
2011-10-23 12:56:27 +02:00
|
|
|
|
2010-03-24 13:36:43 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-08-24 20:00:17 +00:00
|
|
|
|
2010-03-24 13:36:43 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-07-10 14:11:59 +02:00
|
|
|
|
|
|
|
|
|
2010-03-24 13:36:43 -04:00
|
|
|
|
|
|
|
|
|
2010-03-24 13:33:47 -04:00
|
|
|
|
2010-03-24 13:36:43 -04:00
|
|
|
|
2011-09-15 19:02:22 +02:00
|
|
|
|
2012-01-20 14:47:43 -05:00
|
|
|
|
2010-03-24 13:36:43 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-10-23 12:56:27 +02:00
|
|
|
|
|
|
|
|
|
2010-08-27 18:25:25 -04:00
|
|
|
|
2012-09-19 21:48:00 -04:00
|
|
|
|
2011-02-13 19:06:33 -05:00
|
|
|
|
|
|
|
|
|
2010-08-27 18:25:25 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-03-24 13:36:43 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-10-23 12:56:27 +02:00
|
|
|
|
2010-03-24 13:36:43 -04:00
|
|
|
|
|
|
|
|
|
2010-09-02 21:32:32 -04:00
|
|
|
|
2011-10-23 12:56:27 +02:00
|
|
|
|
2012-02-23 17:53:45 -05:00
|
|
|
|
2010-03-24 13:36:43 -04:00
|
|
|
|
2011-10-23 12:56:27 +02:00
|
|
|
|
2010-03-24 13:36:43 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-05-31 19:00:25 -04:00
|
|
|
|
2010-03-24 13:33:47 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-11-22 17:56:29 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-05-31 19:00:25 -04:00
|
|
|
|
2010-11-22 17:56:29 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-05-31 15:42:48 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-05-31 19:00:25 -04:00
|
|
|
|
2011-05-31 15:42:48 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-12-11 11:56:52 -05:00
|
|
|
|
2011-05-31 15:42:48 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-12-11 11:56:52 -05:00
|
|
|
|
2011-05-31 15:42:48 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-10-01 19:54:33 -04:00
|
|
|
|
2011-05-31 15:42:48 -04:00
|
|
|
|
|
|
|
|
|
2011-01-06 21:19:24 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-12-11 11:56:52 -05:00
|
|
|
|
2011-01-06 21:19:24 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-05-31 19:00:25 -04:00
|
|
|
|
2011-01-06 21:19:24 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-05-31 19:00:25 -04:00
|
|
|
|
2011-01-06 21:19:24 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-12-11 11:56:52 -05:00
|
|
|
|
2011-01-06 21:19:24 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-03-24 13:33:47 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-05-31 19:00:25 -04:00
|
|
|
|
2010-03-24 13:33:47 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-02-18 13:19:28 +01:00
|
|
|
|
|
|
|
|
|
2010-03-24 13:33:47 -04:00
|
|
|
|
2011-09-01 17:46:15 +00:00
|
|
|
|
|
|
|
|
|
2020-11-10 19:30:44 +00:00
|
|
|
|
2012-03-20 17:18:37 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-05-11 03:15:24 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-03-24 13:33:47 -04:00
|
|
|
|
2010-11-17 12:11:03 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-06-23 00:49:29 -04:00
|
|
|
|
2011-05-20 12:35:22 -04:00
|
|
|
|
2011-06-23 00:49:29 -04:00
|
|
|
|
2012-05-31 18:53:36 -04:00
|
|
|
|
2012-07-31 11:01:10 -04:00
|
|
|
|
|
|
|
|
|
2012-05-31 18:53:36 -04:00
|
|
|
|
2012-07-31 11:01:10 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-05-31 18:53:36 -04:00
|
|
|
|
2012-05-31 19:00:25 -04:00
|
|
|
|
2010-11-17 12:11:03 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-05-31 19:00:25 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-04-12 11:27:20 -04:00
|
|
|
|
|
|
|
|
|
2012-05-31 19:00:25 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-04-09 10:13:22 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-05-31 19:00:25 -04:00
|
|
|
|
2014-06-02 16:13:21 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-05-31 19:00:25 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-03-24 13:33:47 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-12-04 15:25:59 -05:00
|
|
|
|
2013-04-08 12:41:37 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-03-24 13:33:47 -04:00
|
|
|
|
2013-01-30 13:57:40 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-01-09 13:43:03 +10:00
|
|
|
|
2012-05-31 19:00:25 -04:00
|
|
|
|
2010-03-24 13:33:47 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-06-14 22:06:36 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-03-24 13:33:47 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-11-22 17:56:29 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-05-31 15:42:48 -04:00
|
|
|
|
|
|
|
|
|
2011-01-06 21:19:24 -05:00
|
|
|
|
2010-03-24 13:33:47 -04:00
|
|
|
|
|
|
|
|
|
2010-11-22 17:56:29 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-03-24 13:33:47 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-01-11 08:51:58 +00:00
|
|
|
|
2010-03-24 13:33:47 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-11-22 17:56:29 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-05-31 15:42:48 -04:00
|
|
|
|
|
|
|
|
|
2010-03-24 13:33:47 -04:00
|
|
|
|
2010-11-22 17:56:29 -05:00
|
|
|
|
|
|
|
|
|
2010-03-24 13:33:47 -04:00
|
|
|
|
2010-11-22 17:56:29 -05:00
|
|
|
|
|
|
|
|
|
2010-03-24 13:33:47 -04:00
|
|
|
|
|
|
|
|
|
2010-06-16 12:24:07 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-03-24 13:33:47 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-11-22 17:56:29 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-05-31 15:42:48 -04:00
|
|
|
|
|
|
|
|
|
2011-01-06 21:19:24 -05:00
|
|
|
|
2010-03-24 13:33:47 -04:00
|
|
|
|
2010-11-22 17:56:29 -05:00
|
|
|
|
|
|
|
|
|
2010-03-24 13:33:47 -04:00
|
|
|
|
2010-11-22 17:56:29 -05:00
|
|
|
|
|
|
|
|
|
2010-03-24 13:33:47 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-02-02 12:37:40 -05:00
|
|
|
|
2010-03-24 13:33:47 -04:00
|
|
|
|
|
|
|
|
|
2010-06-29 17:03:35 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-03-24 13:33:47 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-06-29 17:03:35 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-05-19 11:07:57 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-03-24 13:33:47 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-03-20 17:18:37 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-07-01 13:18:28 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-05-27 13:40:24 -06:00
|
|
|
|
|
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
2012-03-20 17:18:37 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-11-22 17:56:27 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-03-20 17:18:37 -04:00
|
|
|
|
2013-05-18 21:19:23 +02:00
|
|
|
|
|
|
|
|
|
2010-11-22 17:56:27 -05:00
|
|
|
|
2010-02-19 14:33:54 +00:00
|
|
|
|
2010-11-22 17:56:26 -05:00
|
|
|
|
2010-03-16 20:54:38 -04:00
|
|
|
|
|
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
|
|
|
|
|
drm/radeon/kms: simplify memory controller setup V2
Get rid of _location and use _start/_end also simplify the
computation of vram_start|end & gtt_start|end. For R1XX-R2XX
we place VRAM at the same address of PCI aperture, those GPU
shouldn't have much memory and seems to behave better when
setup that way. For R3XX and newer we place VRAM at 0. For
R6XX-R7XX AGP we place VRAM before or after AGP aperture this
might limit to limit the VRAM size but it's very unlikely.
For IGP we don't change the VRAM placement.
Tested on (compiz,quake3,suspend/resume):
PCI/PCIE:RV280,R420,RV515,RV570,RV610,RV710
AGP:RV100,RV280,R420,RV350,RV620(RPB*),RV730
IGP:RS480(RPB*),RS690,RS780(RPB*),RS880
RPB: resume previously broken
V2 correct commit message to reflect more accurately the bug
and move VRAM placement to 0 for most of the GPU to avoid
limiting VRAM.
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-02-17 21:54:29 +00:00
|
|
|
|
2013-01-18 14:51:38 -05:00
|
|
|
|
2010-03-24 13:26:36 -04:00
|
|
|
|
2013-01-02 17:30:35 -05:00
|
|
|
|
2010-03-24 13:26:36 -04:00
|
|
|
|
2013-01-02 17:30:35 -05:00
|
|
|
|
2010-03-24 13:26:36 -04:00
|
|
|
|
2013-01-02 17:30:35 -05:00
|
|
|
|
2010-03-24 13:26:36 -04:00
|
|
|
|
2013-01-02 17:30:35 -05:00
|
|
|
|
2010-03-24 13:26:36 -04:00
|
|
|
|
2013-01-18 18:55:54 -05:00
|
|
|
|
|
|
|
|
|
2012-06-27 12:25:01 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-01-03 12:40:13 -05:00
|
|
|
|
|
|
|
|
|
2013-01-18 19:17:22 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
2013-02-28 10:03:08 -05:00
|
|
|
|
|
|
|
|
|
2025-12-16 16:02:38 +05:30
|
|
|
|
2013-02-28 10:03:08 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-01-18 18:55:54 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-01-03 12:40:13 -05:00
|
|
|
|
|
|
|
|
|
2013-01-18 14:28:41 -05:00
|
|
|
|
|
|
|
|
|
2013-01-14 11:04:39 -05:00
|
|
|
|
2013-01-03 12:40:13 -05:00
|
|
|
|
2013-01-18 18:55:54 -05:00
|
|
|
|
2013-01-03 12:40:13 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-01-18 14:28:41 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-01-23 18:57:56 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-01-18 14:28:41 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-01-03 12:40:13 -05:00
|
|
|
|
|
|
|
|
|
2013-01-18 14:28:41 -05:00
|
|
|
|
|
|
|
|
|
2013-01-18 18:55:54 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-03-18 16:58:38 +01:00
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
2013-01-18 18:55:54 -05:00
|
|
|
|
|
|
|
|
|
2016-03-18 16:58:38 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-01-18 18:55:54 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-11-01 16:25:10 -04:00
|
|
|
|
2013-01-18 18:55:54 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-11-01 16:25:10 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-01-18 18:55:54 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
|
|
|
|
|
2013-01-24 11:37:19 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-02-18 14:52:33 +01:00
|
|
|
|
2013-01-24 11:37:19 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-04-12 13:52:52 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-07-23 09:41:05 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-04-12 13:52:52 -04:00
|
|
|
|
|
|
|
|
|
2013-07-23 09:41:05 -04:00
|
|
|
|
|
|
|
|
|
2013-04-12 13:52:52 -04:00
|
|
|
|
|
|
|
|
|
2013-04-17 17:53:50 -04:00
|
|
|
|
2013-04-12 13:52:52 -04:00
|
|
|
|
|
|
|
|
|
2013-08-13 12:48:06 -04:00
|
|
|
|
2013-04-12 13:52:52 -04:00
|
|
|
|
2013-04-17 17:53:50 -04:00
|
|
|
|
2013-04-12 13:52:52 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-08-22 11:57:46 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-04-12 13:52:52 -04:00
|
|
|
|
|
|
|
|
|
2013-04-17 17:22:05 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-07-17 19:01:08 +09:00
|
|
|
|
2014-09-18 14:11:56 +02:00
|
|
|
|
2013-04-17 17:22:05 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-04-12 13:52:52 -04:00
|
|
|
|
|
|
|
|
|
2013-04-17 17:22:05 -04:00
|
|
|
|
|
|
|
|
|
2013-04-12 13:52:52 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-04-17 17:22:05 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-04-12 13:52:52 -04:00
|
|
|
|
|
|
|
|
|
2013-04-17 17:22:05 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-04-17 17:53:50 -04:00
|
|
|
|
|
|
|
|
|
2013-08-13 12:48:06 -04:00
|
|
|
|
2013-10-23 18:27:10 -04:00
|
|
|
|
2013-04-17 17:53:50 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-10-23 18:27:10 -04:00
|
|
|
|
2013-04-17 17:53:50 -04:00
|
|
|
|
|
|
|
|
|
2013-10-23 18:27:10 -04:00
|
|
|
|
2013-04-17 17:22:05 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-08-22 11:57:46 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-08-13 12:48:06 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-04-17 17:22:05 -04:00
|
|
|
|
2013-08-13 12:48:06 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-04-17 17:22:05 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-08-13 12:48:06 -04:00
|
|
|
|
2014-07-17 19:01:08 +09:00
|
|
|
|
2014-09-18 14:11:56 +02:00
|
|
|
|
2013-04-17 17:22:05 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-08-22 11:57:46 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-08-13 12:48:06 -04:00
|
|
|
|
2013-10-23 18:27:10 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-08-13 12:48:06 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-10-23 18:27:10 -04:00
|
|
|
|
2013-08-13 12:48:06 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-10-23 18:27:10 -04:00
|
|
|
|
2013-08-13 12:48:06 -04:00
|
|
|
|
2013-04-17 17:22:05 -04:00
|
|
|
|
2013-08-13 12:48:06 -04:00
|
|
|
|
2013-10-23 18:27:10 -04:00
|
|
|
|
2013-08-13 12:48:06 -04:00
|
|
|
|
2013-04-17 17:22:05 -04:00
|
|
|
|
2013-08-13 12:48:06 -04:00
|
|
|
|
2013-10-23 18:27:10 -04:00
|
|
|
|
2013-08-13 12:48:06 -04:00
|
|
|
|
2013-04-17 17:22:05 -04:00
|
|
|
|
2013-08-13 12:48:06 -04:00
|
|
|
|
|
|
|
|
|
2013-10-23 18:27:10 -04:00
|
|
|
|
2013-08-13 12:48:06 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-04-17 17:22:05 -04:00
|
|
|
|
|
|
|
|
|
2013-10-23 18:27:10 -04:00
|
|
|
|
2013-04-17 17:22:05 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-04-12 13:52:52 -04:00
|
|
|
|
2013-07-23 09:41:05 -04:00
|
|
|
|
|
|
|
|
|
2014-07-17 19:01:08 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|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12 13:52:52 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-03-24 13:55:51 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-08-15 17:10:32 -04:00
|
|
|
|
2010-03-24 13:55:51 -04:00
|
|
|
|
2012-08-15 17:10:32 -04:00
|
|
|
|
|
|
|
|
|
2010-03-24 13:55:51 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
drm/radeon: Cleanup display interrupt handling for evergreen, si
The current code here is really, really bad. A huge amount of it looks
to be copy pasted, it has some weird hatred of arrays and code sharing,
switch cases everywhere for things that really don't need them, and it
makes the file seem immensely more complex then it actually is. This is
a pain for maintanence, and is vulnerable to more weird irq handling
bugs.
So, let's start cleaning this up a bit. Modify all of the IRQ handlers
for evergreen/si so that they just use for loops. As well, we add a
helper function radeon_irq_kms_set_irq_n_enabled(), whose purpose is
just to update the state of registers that enable/disable interrupts
while printing any changes to the set of enabled interrupts to the
kernel log.
Note in this commit, since vblank/vline irq acking is intertwined with
page flip irq acking, we can't cut out all of the copy paste in
evergreen/si_irq_ack() just yet.
Changes since v1:
- Preserve order we write back all registers
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Lyude <lyude@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-05-19 19:48:37 -04:00
|
|
|
|
2010-03-24 13:55:51 -04:00
|
|
|
|
|
|
|
|
|
2011-11-17 20:13:28 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-12-04 15:27:33 -05:00
|
|
|
|
|
|
|
|
|
2011-11-17 20:13:28 -05:00
|
|
|
|
|
|
|
|
|
2012-12-04 15:25:59 -05:00
|
|
|
|
|
|
|
|
|
2010-03-24 13:55:51 -04:00
|
|
|
|
2015-02-18 13:19:28 +01:00
|
|
|
|
drm/radeon: Cleanup display interrupt handling for evergreen, si
The current code here is really, really bad. A huge amount of it looks
to be copy pasted, it has some weird hatred of arrays and code sharing,
switch cases everywhere for things that really don't need them, and it
makes the file seem immensely more complex then it actually is. This is
a pain for maintanence, and is vulnerable to more weird irq handling
bugs.
So, let's start cleaning this up a bit. Modify all of the IRQ handlers
for evergreen/si so that they just use for loops. As well, we add a
helper function radeon_irq_kms_set_irq_n_enabled(), whose purpose is
just to update the state of registers that enable/disable interrupts
while printing any changes to the set of enabled interrupts to the
kernel log.
Note in this commit, since vblank/vline irq acking is intertwined with
page flip irq acking, we can't cut out all of the copy paste in
evergreen/si_irq_ack() just yet.
Changes since v1:
- Preserve order we write back all registers
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Lyude <lyude@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-05-19 19:48:37 -04:00
|
|
|
|
|
|
|
|
|
2017-05-19 19:48:39 -04:00
|
|
|
|
|
|
|
|
|
2010-03-24 13:55:51 -04:00
|
|
|
|
2014-01-27 11:54:44 -05:00
|
|
|
|
|
|
|
|
|
2012-03-20 17:18:37 -04:00
|
|
|
|
2010-03-24 13:55:51 -04:00
|
|
|
|
|
|
|
|
|
drm/radeon: Cleanup display interrupt handling for evergreen, si
The current code here is really, really bad. A huge amount of it looks
to be copy pasted, it has some weird hatred of arrays and code sharing,
switch cases everywhere for things that really don't need them, and it
makes the file seem immensely more complex then it actually is. This is
a pain for maintanence, and is vulnerable to more weird irq handling
bugs.
So, let's start cleaning this up a bit. Modify all of the IRQ handlers
for evergreen/si so that they just use for loops. As well, we add a
helper function radeon_irq_kms_set_irq_n_enabled(), whose purpose is
just to update the state of registers that enable/disable interrupts
while printing any changes to the set of enabled interrupts to the
kernel log.
Note in this commit, since vblank/vline irq acking is intertwined with
page flip irq acking, we can't cut out all of the copy paste in
evergreen/si_irq_ack() just yet.
Changes since v1:
- Preserve order we write back all registers
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Lyude <lyude@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-05-19 19:48:37 -04:00
|
|
|
|
|
|
|
|
|
2010-03-24 13:55:51 -04:00
|
|
|
|
|
|
|
|
|
drm/radeon: Cleanup display interrupt handling for evergreen, si
The current code here is really, really bad. A huge amount of it looks
to be copy pasted, it has some weird hatred of arrays and code sharing,
switch cases everywhere for things that really don't need them, and it
makes the file seem immensely more complex then it actually is. This is
a pain for maintanence, and is vulnerable to more weird irq handling
bugs.
So, let's start cleaning this up a bit. Modify all of the IRQ handlers
for evergreen/si so that they just use for loops. As well, we add a
helper function radeon_irq_kms_set_irq_n_enabled(), whose purpose is
just to update the state of registers that enable/disable interrupts
while printing any changes to the set of enabled interrupts to the
kernel log.
Note in this commit, since vblank/vline irq acking is intertwined with
page flip irq acking, we can't cut out all of the copy paste in
evergreen/si_irq_ack() just yet.
Changes since v1:
- Preserve order we write back all registers
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Lyude <lyude@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-05-19 19:48:37 -04:00
|
|
|
|
2010-03-24 13:55:51 -04:00
|
|
|
|
|
|
|
|
|
drm/radeon: Cleanup display interrupt handling for evergreen, si
The current code here is really, really bad. A huge amount of it looks
to be copy pasted, it has some weird hatred of arrays and code sharing,
switch cases everywhere for things that really don't need them, and it
makes the file seem immensely more complex then it actually is. This is
a pain for maintanence, and is vulnerable to more weird irq handling
bugs.
So, let's start cleaning this up a bit. Modify all of the IRQ handlers
for evergreen/si so that they just use for loops. As well, we add a
helper function radeon_irq_kms_set_irq_n_enabled(), whose purpose is
just to update the state of registers that enable/disable interrupts
while printing any changes to the set of enabled interrupts to the
kernel log.
Note in this commit, since vblank/vline irq acking is intertwined with
page flip irq acking, we can't cut out all of the copy paste in
evergreen/si_irq_ack() just yet.
Changes since v1:
- Preserve order we write back all registers
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Lyude <lyude@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-05-19 19:48:37 -04:00
|
|
|
|
2010-03-24 13:55:51 -04:00
|
|
|
|
2011-11-17 20:13:28 -05:00
|
|
|
|
2010-04-22 12:52:11 -04:00
|
|
|
|
2012-12-04 15:27:33 -05:00
|
|
|
|
2013-06-26 00:33:35 -04:00
|
|
|
|
2025-12-16 16:02:38 +05:30
|
|
|
|
2010-03-24 13:55:51 -04:00
|
|
|
|
|
|
|
|
|
2010-10-30 21:08:30 +00:00
|
|
|
|
2010-03-24 13:55:51 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-04-12 16:40:41 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-03-24 13:55:51 -04:00
|
|
|
|
2012-12-04 15:25:59 -05:00
|
|
|
|
|
|
|
|
|
2011-11-17 20:13:28 -05:00
|
|
|
|
|
|
|
|
|
2012-05-17 19:52:00 +02:00
|
|
|
|
2025-12-16 16:02:38 +05:30
|
|
|
|
2011-11-17 20:13:28 -05:00
|
|
|
|
|
|
|
|
|
2012-05-17 19:52:00 +02:00
|
|
|
|
2025-12-16 16:02:38 +05:30
|
|
|
|
2011-11-17 20:13:28 -05:00
|
|
|
|
|
|
|
|
|
2012-05-17 19:52:00 +02:00
|
|
|
|
2025-12-16 16:02:38 +05:30
|
|
|
|
2011-11-17 20:13:28 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-05-17 19:52:00 +02:00
|
|
|
|
2025-12-16 16:02:38 +05:30
|
|
|
|
2011-11-17 20:13:28 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-03-24 13:55:51 -04:00
|
|
|
|
2011-11-17 20:13:28 -05:00
|
|
|
|
2012-12-04 15:25:59 -05:00
|
|
|
|
2025-12-16 16:02:38 +05:30
|
|
|
|
2012-12-04 15:25:59 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-12-04 15:27:33 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-12-16 16:02:38 +05:30
|
|
|
|
2012-12-04 15:27:33 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-06-26 00:33:35 -04:00
|
|
|
|
2025-12-16 16:02:38 +05:30
|
|
|
|
2013-06-26 00:33:35 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-11-17 20:13:28 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-12-04 15:25:59 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-12-04 15:27:33 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-04-22 12:52:11 -04:00
|
|
|
|
2010-03-24 13:55:51 -04:00
|
|
|
|
drm/radeon: Cleanup display interrupt handling for evergreen, si
The current code here is really, really bad. A huge amount of it looks
to be copy pasted, it has some weird hatred of arrays and code sharing,
switch cases everywhere for things that really don't need them, and it
makes the file seem immensely more complex then it actually is. This is
a pain for maintanence, and is vulnerable to more weird irq handling
bugs.
So, let's start cleaning this up a bit. Modify all of the IRQ handlers
for evergreen/si so that they just use for loops. As well, we add a
helper function radeon_irq_kms_set_irq_n_enabled(), whose purpose is
just to update the state of registers that enable/disable interrupts
while printing any changes to the set of enabled interrupts to the
kernel log.
Note in this commit, since vblank/vline irq acking is intertwined with
page flip irq acking, we can't cut out all of the copy paste in
evergreen/si_irq_ack() just yet.
Changes since v1:
- Preserve order we write back all registers
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Lyude <lyude@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-05-19 19:48:37 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-11-22 17:56:28 -05:00
|
|
|
|
2010-03-24 13:55:51 -04:00
|
|
|
|
2017-05-19 19:48:39 -04:00
|
|
|
|
|
|
|
|
|
2010-11-21 10:59:01 -05:00
|
|
|
|
drm/radeon: Cleanup display interrupt handling for evergreen, si
The current code here is really, really bad. A huge amount of it looks
to be copy pasted, it has some weird hatred of arrays and code sharing,
switch cases everywhere for things that really don't need them, and it
makes the file seem immensely more complex then it actually is. This is
a pain for maintanence, and is vulnerable to more weird irq handling
bugs.
So, let's start cleaning this up a bit. Modify all of the IRQ handlers
for evergreen/si so that they just use for loops. As well, we add a
helper function radeon_irq_kms_set_irq_n_enabled(), whose purpose is
just to update the state of registers that enable/disable interrupts
while printing any changes to the set of enabled interrupts to the
kernel log.
Note in this commit, since vblank/vline irq acking is intertwined with
page flip irq acking, we can't cut out all of the copy paste in
evergreen/si_irq_ack() just yet.
Changes since v1:
- Preserve order we write back all registers
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Lyude <lyude@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-05-19 19:48:37 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-04-12 16:40:41 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-03-24 13:55:51 -04:00
|
|
|
|
2017-05-19 19:48:38 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-03-30 08:59:57 -04:00
|
|
|
|
2015-03-02 20:42:53 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
drm/radeon: Cleanup display interrupt handling for evergreen, si
The current code here is really, really bad. A huge amount of it looks
to be copy pasted, it has some weird hatred of arrays and code sharing,
switch cases everywhere for things that really don't need them, and it
makes the file seem immensely more complex then it actually is. This is
a pain for maintanence, and is vulnerable to more weird irq handling
bugs.
So, let's start cleaning this up a bit. Modify all of the IRQ handlers
for evergreen/si so that they just use for loops. As well, we add a
helper function radeon_irq_kms_set_irq_n_enabled(), whose purpose is
just to update the state of registers that enable/disable interrupts
while printing any changes to the set of enabled interrupts to the
kernel log.
Note in this commit, since vblank/vline irq acking is intertwined with
page flip irq acking, we can't cut out all of the copy paste in
evergreen/si_irq_ack() just yet.
Changes since v1:
- Preserve order we write back all registers
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Lyude <lyude@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-05-19 19:48:37 -04:00
|
|
|
|
2011-10-13 16:08:46 -07:00
|
|
|
|
2010-03-24 13:55:51 -04:00
|
|
|
|
2017-05-19 19:48:39 -04:00
|
|
|
|
|
|
|
|
|
drm/radeon: Cleanup display interrupt handling for evergreen, si
The current code here is really, really bad. A huge amount of it looks
to be copy pasted, it has some weird hatred of arrays and code sharing,
switch cases everywhere for things that really don't need them, and it
makes the file seem immensely more complex then it actually is. This is
a pain for maintanence, and is vulnerable to more weird irq handling
bugs.
So, let's start cleaning this up a bit. Modify all of the IRQ handlers
for evergreen/si so that they just use for loops. As well, we add a
helper function radeon_irq_kms_set_irq_n_enabled(), whose purpose is
just to update the state of registers that enable/disable interrupts
while printing any changes to the set of enabled interrupts to the
kernel log.
Note in this commit, since vblank/vline irq acking is intertwined with
page flip irq acking, we can't cut out all of the copy paste in
evergreen/si_irq_ack() just yet.
Changes since v1:
- Preserve order we write back all registers
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Lyude <lyude@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-05-19 19:48:37 -04:00
|
|
|
|
2017-05-19 19:48:38 -04:00
|
|
|
|
2010-03-24 13:55:51 -04:00
|
|
|
|
2017-05-19 19:48:38 -04:00
|
|
|
|
drm/radeon: Cleanup display interrupt handling for evergreen, si
The current code here is really, really bad. A huge amount of it looks
to be copy pasted, it has some weird hatred of arrays and code sharing,
switch cases everywhere for things that really don't need them, and it
makes the file seem immensely more complex then it actually is. This is
a pain for maintanence, and is vulnerable to more weird irq handling
bugs.
So, let's start cleaning this up a bit. Modify all of the IRQ handlers
for evergreen/si so that they just use for loops. As well, we add a
helper function radeon_irq_kms_set_irq_n_enabled(), whose purpose is
just to update the state of registers that enable/disable interrupts
while printing any changes to the set of enabled interrupts to the
kernel log.
Note in this commit, since vblank/vline irq acking is intertwined with
page flip irq acking, we can't cut out all of the copy paste in
evergreen/si_irq_ack() just yet.
Changes since v1:
- Preserve order we write back all registers
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Lyude <lyude@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-05-19 19:48:37 -04:00
|
|
|
|
2017-05-19 19:48:38 -04:00
|
|
|
|
2017-05-19 19:48:39 -04:00
|
|
|
|
|
|
|
|
|
2017-05-19 19:48:38 -04:00
|
|
|
|
drm/radeon: Cleanup display interrupt handling for evergreen, si
The current code here is really, really bad. A huge amount of it looks
to be copy pasted, it has some weird hatred of arrays and code sharing,
switch cases everywhere for things that really don't need them, and it
makes the file seem immensely more complex then it actually is. This is
a pain for maintanence, and is vulnerable to more weird irq handling
bugs.
So, let's start cleaning this up a bit. Modify all of the IRQ handlers
for evergreen/si so that they just use for loops. As well, we add a
helper function radeon_irq_kms_set_irq_n_enabled(), whose purpose is
just to update the state of registers that enable/disable interrupts
while printing any changes to the set of enabled interrupts to the
kernel log.
Note in this commit, since vblank/vline irq acking is intertwined with
page flip irq acking, we can't cut out all of the copy paste in
evergreen/si_irq_ack() just yet.
Changes since v1:
- Preserve order we write back all registers
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Lyude <lyude@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-05-19 19:48:37 -04:00
|
|
|
|
2017-05-19 19:48:39 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-03-24 13:55:51 -04:00
|
|
|
|
2017-05-19 19:48:39 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-07-08 11:44:56 -04:00
|
|
|
|
2010-03-24 13:55:51 -04:00
|
|
|
|
drm/radeon: Cleanup display interrupt handling for evergreen, si
The current code here is really, really bad. A huge amount of it looks
to be copy pasted, it has some weird hatred of arrays and code sharing,
switch cases everywhere for things that really don't need them, and it
makes the file seem immensely more complex then it actually is. This is
a pain for maintanence, and is vulnerable to more weird irq handling
bugs.
So, let's start cleaning this up a bit. Modify all of the IRQ handlers
for evergreen/si so that they just use for loops. As well, we add a
helper function radeon_irq_kms_set_irq_n_enabled(), whose purpose is
just to update the state of registers that enable/disable interrupts
while printing any changes to the set of enabled interrupts to the
kernel log.
Note in this commit, since vblank/vline irq acking is intertwined with
page flip irq acking, we can't cut out all of the copy paste in
evergreen/si_irq_ack() just yet.
Changes since v1:
- Preserve order we write back all registers
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Lyude <lyude@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-05-19 19:48:37 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-03-24 13:55:51 -04:00
|
|
|
|
2015-02-24 09:23:57 +10:00
|
|
|
|
drm/radeon: Cleanup display interrupt handling for evergreen, si
The current code here is really, really bad. A huge amount of it looks
to be copy pasted, it has some weird hatred of arrays and code sharing,
switch cases everywhere for things that really don't need them, and it
makes the file seem immensely more complex then it actually is. This is
a pain for maintanence, and is vulnerable to more weird irq handling
bugs.
So, let's start cleaning this up a bit. Modify all of the IRQ handlers
for evergreen/si so that they just use for loops. As well, we add a
helper function radeon_irq_kms_set_irq_n_enabled(), whose purpose is
just to update the state of registers that enable/disable interrupts
while printing any changes to the set of enabled interrupts to the
kernel log.
Note in this commit, since vblank/vline irq acking is intertwined with
page flip irq acking, we can't cut out all of the copy paste in
evergreen/si_irq_ack() just yet.
Changes since v1:
- Preserve order we write back all registers
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Lyude <lyude@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-05-19 19:48:37 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-02-24 09:23:57 +10:00
|
|
|
|
|
|
|
|
|
2017-05-19 19:48:38 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-03-30 08:59:57 -04:00
|
|
|
|
2010-03-24 13:55:51 -04:00
|
|
|
|
|
|
|
|
|
2012-08-31 13:43:50 -04:00
|
|
|
|
2010-03-24 13:55:51 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-11-21 10:59:01 -05:00
|
|
|
|
2010-03-24 13:55:51 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-03-02 20:07:34 -05:00
|
|
|
|
2010-03-24 13:55:51 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-10-13 16:08:46 -07:00
|
|
|
|
2010-03-24 13:55:51 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-08-27 18:25:25 -04:00
|
|
|
|
2011-04-19 11:07:13 -04:00
|
|
|
|
2010-08-27 18:25:25 -04:00
|
|
|
|
|
|
|
|
|
2010-03-24 13:55:51 -04:00
|
|
|
|
|
|
|
|
|
2014-09-19 12:07:11 +09:00
|
|
|
|
2010-03-24 13:55:51 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-09-19 12:22:07 +09:00
|
|
|
|
|
|
|
|
|
2010-03-24 13:55:51 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
drm/radeon: Cleanup display interrupt handling for evergreen, si
The current code here is really, really bad. A huge amount of it looks
to be copy pasted, it has some weird hatred of arrays and code sharing,
switch cases everywhere for things that really don't need them, and it
makes the file seem immensely more complex then it actually is. This is
a pain for maintanence, and is vulnerable to more weird irq handling
bugs.
So, let's start cleaning this up a bit. Modify all of the IRQ handlers
for evergreen/si so that they just use for loops. As well, we add a
helper function radeon_irq_kms_set_irq_n_enabled(), whose purpose is
just to update the state of registers that enable/disable interrupts
while printing any changes to the set of enabled interrupts to the
kernel log.
Note in this commit, since vblank/vline irq acking is intertwined with
page flip irq acking, we can't cut out all of the copy paste in
evergreen/si_irq_ack() just yet.
Changes since v1:
- Preserve order we write back all registers
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Lyude <lyude@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-05-19 19:48:37 -04:00
|
|
|
|
2017-05-19 19:48:38 -04:00
|
|
|
|
|
|
|
|
|
drm/radeon: Cleanup display interrupt handling for evergreen, si
The current code here is really, really bad. A huge amount of it looks
to be copy pasted, it has some weird hatred of arrays and code sharing,
switch cases everywhere for things that really don't need them, and it
makes the file seem immensely more complex then it actually is. This is
a pain for maintanence, and is vulnerable to more weird irq handling
bugs.
So, let's start cleaning this up a bit. Modify all of the IRQ handlers
for evergreen/si so that they just use for loops. As well, we add a
helper function radeon_irq_kms_set_irq_n_enabled(), whose purpose is
just to update the state of registers that enable/disable interrupts
while printing any changes to the set of enabled interrupts to the
kernel log.
Note in this commit, since vblank/vline irq acking is intertwined with
page flip irq acking, we can't cut out all of the copy paste in
evergreen/si_irq_ack() just yet.
Changes since v1:
- Preserve order we write back all registers
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Lyude <lyude@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-05-19 19:48:37 -04:00
|
|
|
|
2011-06-18 03:59:51 +00:00
|
|
|
|
|
|
|
|
|
2010-03-24 13:55:51 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-03-30 08:59:57 -04:00
|
|
|
|
2015-02-24 09:23:57 +10:00
|
|
|
|
2013-06-26 00:33:35 -04:00
|
|
|
|
2013-06-13 18:26:25 -04:00
|
|
|
|
drm/radeon: Cleanup display interrupt handling for evergreen, si
The current code here is really, really bad. A huge amount of it looks
to be copy pasted, it has some weird hatred of arrays and code sharing,
switch cases everywhere for things that really don't need them, and it
makes the file seem immensely more complex then it actually is. This is
a pain for maintanence, and is vulnerable to more weird irq handling
bugs.
So, let's start cleaning this up a bit. Modify all of the IRQ handlers
for evergreen/si so that they just use for loops. As well, we add a
helper function radeon_irq_kms_set_irq_n_enabled(), whose purpose is
just to update the state of registers that enable/disable interrupts
while printing any changes to the set of enabled interrupts to the
kernel log.
Note in this commit, since vblank/vline irq acking is intertwined with
page flip irq acking, we can't cut out all of the copy paste in
evergreen/si_irq_ack() just yet.
Changes since v1:
- Preserve order we write back all registers
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Lyude <lyude@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-05-19 19:48:37 -04:00
|
|
|
|
2025-12-16 16:02:38 +05:30
|
|
|
|
2010-03-24 13:55:51 -04:00
|
|
|
|
2011-06-18 03:59:51 +00:00
|
|
|
|
2010-03-24 13:55:51 -04:00
|
|
|
|
|
|
|
|
|
2011-06-18 03:59:51 +00:00
|
|
|
|
2012-05-16 21:45:24 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-06-18 03:59:51 +00:00
|
|
|
|
2025-12-16 16:02:38 +05:30
|
|
|
|
2010-03-24 13:55:51 -04:00
|
|
|
|
2011-07-13 16:28:19 +10:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-03-24 13:55:51 -04:00
|
|
|
|
2010-11-21 10:59:01 -05:00
|
|
|
|
2010-03-24 13:55:51 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-02-13 19:06:33 -05:00
|
|
|
|
|
|
|
|
|
2010-03-24 13:55:51 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
drm/radeon: Cleanup display interrupt handling for evergreen, si
The current code here is really, really bad. A huge amount of it looks
to be copy pasted, it has some weird hatred of arrays and code sharing,
switch cases everywhere for things that really don't need them, and it
makes the file seem immensely more complex then it actually is. This is
a pain for maintanence, and is vulnerable to more weird irq handling
bugs.
So, let's start cleaning this up a bit. Modify all of the IRQ handlers
for evergreen/si so that they just use for loops. As well, we add a
helper function radeon_irq_kms_set_irq_n_enabled(), whose purpose is
just to update the state of registers that enable/disable interrupts
while printing any changes to the set of enabled interrupts to the
kernel log.
Note in this commit, since vblank/vline irq acking is intertwined with
page flip irq acking, we can't cut out all of the copy paste in
evergreen/si_irq_ack() just yet.
Changes since v1:
- Preserve order we write back all registers
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Lyude <lyude@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-05-19 19:48:37 -04:00
|
|
|
|
drm/radeon: Handle irqs only based on irq ring, not irq status regs.
Trying to resolve issues with missed vblanks and impossible
values inside delivered kms pageflip completion events showed
that radeon's irq handling sometimes doesn't handle valid irqs,
but silently skips them. This was observed for vblank interrupts.
Although those irqs have corresponding events queued in the gpu's
irq ring at time of interrupt, and therefore the corresponding
handling code gets triggered by these events, the handling code
sometimes silently skipped processing the irq. The reason for those
skips is that the handling code double-checks for each irq event if
the corresponding irq status bits in the irq status registers
are set. Sometimes those bits are not set at time of check
for valid irqs, maybe due to some hardware race on some setups?
The problem only seems to happen on some machine + card combos
sometimes, e.g., never happened during my testing of different PC
cards of the DCE-2/3/4 generation a year ago, but happens consistently
now on two different Apple Mac cards (RV730, DCE-3, Apple iMac and
Evergreen JUNIPER, DCE-4 in a Apple MacPro). It also doesn't happen
at each interrupt but only occassionally every couple of
hundred or thousand vblank interrupts.
This results in XOrg warning messages like
"[ 7084.472] (WW) RADEON(0): radeon_dri2_flip_event_handler:
Pageflip completion event has impossible msc 420120 < target_msc 420121"
as well as skipped frames and problems for applications that
use kms pageflip events or vblank events, e.g., users of DRI2 and
DRI3/Present, Waylands Weston compositor, etc. See also
https://bugs.freedesktop.org/show_bug.cgi?id=85203
After some talking to Alex and Michel, we decided to fix this
by turning the double-check for asserted irq status bits into a
warning. Whenever a irq event is queued in the IH ring, always
execute the corresponding interrupt handler. Still check the irq
status bits, but only to log a DRM_DEBUG message on a mismatch.
This fixed the problems reliably on both previously failing
cards, RV-730 dual-head tested on both crtcs (pipes D1 and D2)
and a triple-output Juniper HD-5770 card tested on all three
available crtcs (D1/D2/D3). The r600 and evergreen irq handling
is therefore tested, but the cik an si handling is only compile
tested due to lack of hw.
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
CC: Michel Dänzer <michel.daenzer@amd.com>
CC: Alex Deucher <alexander.deucher@amd.com>
CC: <stable@vger.kernel.org> # v3.16+
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2015-07-03 06:03:06 +02:00
|
|
|
|
drm/radeon: Cleanup display interrupt handling for evergreen, si
The current code here is really, really bad. A huge amount of it looks
to be copy pasted, it has some weird hatred of arrays and code sharing,
switch cases everywhere for things that really don't need them, and it
makes the file seem immensely more complex then it actually is. This is
a pain for maintanence, and is vulnerable to more weird irq handling
bugs.
So, let's start cleaning this up a bit. Modify all of the IRQ handlers
for evergreen/si so that they just use for loops. As well, we add a
helper function radeon_irq_kms_set_irq_n_enabled(), whose purpose is
just to update the state of registers that enable/disable interrupts
while printing any changes to the set of enabled interrupts to the
kernel log.
Note in this commit, since vblank/vline irq acking is intertwined with
page flip irq acking, we can't cut out all of the copy paste in
evergreen/si_irq_ack() just yet.
Changes since v1:
- Preserve order we write back all registers
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Lyude <lyude@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-05-19 19:48:37 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-06-30 12:59:21 -04:00
|
|
|
|
drm/radeon: Handle irqs only based on irq ring, not irq status regs.
Trying to resolve issues with missed vblanks and impossible
values inside delivered kms pageflip completion events showed
that radeon's irq handling sometimes doesn't handle valid irqs,
but silently skips them. This was observed for vblank interrupts.
Although those irqs have corresponding events queued in the gpu's
irq ring at time of interrupt, and therefore the corresponding
handling code gets triggered by these events, the handling code
sometimes silently skipped processing the irq. The reason for those
skips is that the handling code double-checks for each irq event if
the corresponding irq status bits in the irq status registers
are set. Sometimes those bits are not set at time of check
for valid irqs, maybe due to some hardware race on some setups?
The problem only seems to happen on some machine + card combos
sometimes, e.g., never happened during my testing of different PC
cards of the DCE-2/3/4 generation a year ago, but happens consistently
now on two different Apple Mac cards (RV730, DCE-3, Apple iMac and
Evergreen JUNIPER, DCE-4 in a Apple MacPro). It also doesn't happen
at each interrupt but only occassionally every couple of
hundred or thousand vblank interrupts.
This results in XOrg warning messages like
"[ 7084.472] (WW) RADEON(0): radeon_dri2_flip_event_handler:
Pageflip completion event has impossible msc 420120 < target_msc 420121"
as well as skipped frames and problems for applications that
use kms pageflip events or vblank events, e.g., users of DRI2 and
DRI3/Present, Waylands Weston compositor, etc. See also
https://bugs.freedesktop.org/show_bug.cgi?id=85203
After some talking to Alex and Michel, we decided to fix this
by turning the double-check for asserted irq status bits into a
warning. Whenever a irq event is queued in the IH ring, always
execute the corresponding interrupt handler. Still check the irq
status bits, but only to log a DRM_DEBUG message on a mismatch.
This fixed the problems reliably on both previously failing
cards, RV-730 dual-head tested on both crtcs (pipes D1 and D2)
and a triple-output Juniper HD-5770 card tested on all three
available crtcs (D1/D2/D3). The r600 and evergreen irq handling
is therefore tested, but the cik an si handling is only compile
tested due to lack of hw.
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
CC: Michel Dänzer <michel.daenzer@amd.com>
CC: Alex Deucher <alexander.deucher@amd.com>
CC: <stable@vger.kernel.org> # v3.16+
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2015-07-03 06:03:06 +02:00
|
|
|
|
|
|
|
|
|
2010-03-24 13:55:51 -04:00
|
|
|
|
drm/radeon: Cleanup display interrupt handling for evergreen, si
The current code here is really, really bad. A huge amount of it looks
to be copy pasted, it has some weird hatred of arrays and code sharing,
switch cases everywhere for things that really don't need them, and it
makes the file seem immensely more complex then it actually is. This is
a pain for maintanence, and is vulnerable to more weird irq handling
bugs.
So, let's start cleaning this up a bit. Modify all of the IRQ handlers
for evergreen/si so that they just use for loops. As well, we add a
helper function radeon_irq_kms_set_irq_n_enabled(), whose purpose is
just to update the state of registers that enable/disable interrupts
while printing any changes to the set of enabled interrupts to the
kernel log.
Note in this commit, since vblank/vline irq acking is intertwined with
page flip irq acking, we can't cut out all of the copy paste in
evergreen/si_irq_ack() just yet.
Changes since v1:
- Preserve order we write back all registers
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Lyude <lyude@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-05-19 19:48:37 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
drm/radeon: Handle irqs only based on irq ring, not irq status regs.
Trying to resolve issues with missed vblanks and impossible
values inside delivered kms pageflip completion events showed
that radeon's irq handling sometimes doesn't handle valid irqs,
but silently skips them. This was observed for vblank interrupts.
Although those irqs have corresponding events queued in the gpu's
irq ring at time of interrupt, and therefore the corresponding
handling code gets triggered by these events, the handling code
sometimes silently skipped processing the irq. The reason for those
skips is that the handling code double-checks for each irq event if
the corresponding irq status bits in the irq status registers
are set. Sometimes those bits are not set at time of check
for valid irqs, maybe due to some hardware race on some setups?
The problem only seems to happen on some machine + card combos
sometimes, e.g., never happened during my testing of different PC
cards of the DCE-2/3/4 generation a year ago, but happens consistently
now on two different Apple Mac cards (RV730, DCE-3, Apple iMac and
Evergreen JUNIPER, DCE-4 in a Apple MacPro). It also doesn't happen
at each interrupt but only occassionally every couple of
hundred or thousand vblank interrupts.
This results in XOrg warning messages like
"[ 7084.472] (WW) RADEON(0): radeon_dri2_flip_event_handler:
Pageflip completion event has impossible msc 420120 < target_msc 420121"
as well as skipped frames and problems for applications that
use kms pageflip events or vblank events, e.g., users of DRI2 and
DRI3/Present, Waylands Weston compositor, etc. See also
https://bugs.freedesktop.org/show_bug.cgi?id=85203
After some talking to Alex and Michel, we decided to fix this
by turning the double-check for asserted irq status bits into a
warning. Whenever a irq event is queued in the IH ring, always
execute the corresponding interrupt handler. Still check the irq
status bits, but only to log a DRM_DEBUG message on a mismatch.
This fixed the problems reliably on both previously failing
cards, RV-730 dual-head tested on both crtcs (pipes D1 and D2)
and a triple-output Juniper HD-5770 card tested on all three
available crtcs (D1/D2/D3). The r600 and evergreen irq handling
is therefore tested, but the cik an si handling is only compile
tested due to lack of hw.
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
CC: Michel Dänzer <michel.daenzer@amd.com>
CC: Alex Deucher <alexander.deucher@amd.com>
CC: <stable@vger.kernel.org> # v3.16+
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2015-07-03 06:03:06 +02:00
|
|
|
|
drm/radeon: Cleanup display interrupt handling for evergreen, si
The current code here is really, really bad. A huge amount of it looks
to be copy pasted, it has some weird hatred of arrays and code sharing,
switch cases everywhere for things that really don't need them, and it
makes the file seem immensely more complex then it actually is. This is
a pain for maintanence, and is vulnerable to more weird irq handling
bugs.
So, let's start cleaning this up a bit. Modify all of the IRQ handlers
for evergreen/si so that they just use for loops. As well, we add a
helper function radeon_irq_kms_set_irq_n_enabled(), whose purpose is
just to update the state of registers that enable/disable interrupts
while printing any changes to the set of enabled interrupts to the
kernel log.
Note in this commit, since vblank/vline irq acking is intertwined with
page flip irq acking, we can't cut out all of the copy paste in
evergreen/si_irq_ack() just yet.
Changes since v1:
- Preserve order we write back all registers
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Lyude <lyude@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-05-19 19:48:37 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-12-16 16:02:38 +05:30
|
|
|
|
drm/radeon: Cleanup display interrupt handling for evergreen, si
The current code here is really, really bad. A huge amount of it looks
to be copy pasted, it has some weird hatred of arrays and code sharing,
switch cases everywhere for things that really don't need them, and it
makes the file seem immensely more complex then it actually is. This is
a pain for maintanence, and is vulnerable to more weird irq handling
bugs.
So, let's start cleaning this up a bit. Modify all of the IRQ handlers
for evergreen/si so that they just use for loops. As well, we add a
helper function radeon_irq_kms_set_irq_n_enabled(), whose purpose is
just to update the state of registers that enable/disable interrupts
while printing any changes to the set of enabled interrupts to the
kernel log.
Note in this commit, since vblank/vline irq acking is intertwined with
page flip irq acking, we can't cut out all of the copy paste in
evergreen/si_irq_ack() just yet.
Changes since v1:
- Preserve order we write back all registers
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Lyude <lyude@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-05-19 19:48:37 -04:00
|
|
|
|
2010-03-24 13:55:51 -04:00
|
|
|
|
|
|
|
|
|
drm/radeon: Cleanup display interrupt handling for evergreen, si
The current code here is really, really bad. A huge amount of it looks
to be copy pasted, it has some weird hatred of arrays and code sharing,
switch cases everywhere for things that really don't need them, and it
makes the file seem immensely more complex then it actually is. This is
a pain for maintanence, and is vulnerable to more weird irq handling
bugs.
So, let's start cleaning this up a bit. Modify all of the IRQ handlers
for evergreen/si so that they just use for loops. As well, we add a
helper function radeon_irq_kms_set_irq_n_enabled(), whose purpose is
just to update the state of registers that enable/disable interrupts
while printing any changes to the set of enabled interrupts to the
kernel log.
Note in this commit, since vblank/vline irq acking is intertwined with
page flip irq acking, we can't cut out all of the copy paste in
evergreen/si_irq_ack() just yet.
Changes since v1:
- Preserve order we write back all registers
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Lyude <lyude@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-05-19 19:48:37 -04:00
|
|
|
|
|
|
|
|
|
2025-12-16 16:02:38 +05:30
|
|
|
|
drm/radeon: Cleanup display interrupt handling for evergreen, si
The current code here is really, really bad. A huge amount of it looks
to be copy pasted, it has some weird hatred of arrays and code sharing,
switch cases everywhere for things that really don't need them, and it
makes the file seem immensely more complex then it actually is. This is
a pain for maintanence, and is vulnerable to more weird irq handling
bugs.
So, let's start cleaning this up a bit. Modify all of the IRQ handlers
for evergreen/si so that they just use for loops. As well, we add a
helper function radeon_irq_kms_set_irq_n_enabled(), whose purpose is
just to update the state of registers that enable/disable interrupts
while printing any changes to the set of enabled interrupts to the
kernel log.
Note in this commit, since vblank/vline irq acking is intertwined with
page flip irq acking, we can't cut out all of the copy paste in
evergreen/si_irq_ack() just yet.
Changes since v1:
- Preserve order we write back all registers
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Lyude <lyude@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-05-19 19:48:37 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-12-16 16:02:38 +05:30
|
|
|
|
drm/radeon: Cleanup display interrupt handling for evergreen, si
The current code here is really, really bad. A huge amount of it looks
to be copy pasted, it has some weird hatred of arrays and code sharing,
switch cases everywhere for things that really don't need them, and it
makes the file seem immensely more complex then it actually is. This is
a pain for maintanence, and is vulnerable to more weird irq handling
bugs.
So, let's start cleaning this up a bit. Modify all of the IRQ handlers
for evergreen/si so that they just use for loops. As well, we add a
helper function radeon_irq_kms_set_irq_n_enabled(), whose purpose is
just to update the state of registers that enable/disable interrupts
while printing any changes to the set of enabled interrupts to the
kernel log.
Note in this commit, since vblank/vline irq acking is intertwined with
page flip irq acking, we can't cut out all of the copy paste in
evergreen/si_irq_ack() just yet.
Changes since v1:
- Preserve order we write back all registers
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Lyude <lyude@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-05-19 19:48:37 -04:00
|
|
|
|
2010-03-24 13:55:51 -04:00
|
|
|
|
2014-04-23 20:46:06 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-12-16 16:02:38 +05:30
|
|
|
|
2014-07-29 06:21:44 +02:00
|
|
|
|
|
|
|
|
|
2014-04-23 20:46:06 +02:00
|
|
|
|
2010-03-24 13:55:51 -04:00
|
|
|
|
drm/radeon: Cleanup display interrupt handling for evergreen, si
The current code here is really, really bad. A huge amount of it looks
to be copy pasted, it has some weird hatred of arrays and code sharing,
switch cases everywhere for things that really don't need them, and it
makes the file seem immensely more complex then it actually is. This is
a pain for maintanence, and is vulnerable to more weird irq handling
bugs.
So, let's start cleaning this up a bit. Modify all of the IRQ handlers
for evergreen/si so that they just use for loops. As well, we add a
helper function radeon_irq_kms_set_irq_n_enabled(), whose purpose is
just to update the state of registers that enable/disable interrupts
while printing any changes to the set of enabled interrupts to the
kernel log.
Note in this commit, since vblank/vline irq acking is intertwined with
page flip irq acking, we can't cut out all of the copy paste in
evergreen/si_irq_ack() just yet.
Changes since v1:
- Preserve order we write back all registers
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Lyude <lyude@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-05-19 19:48:37 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
drm/radeon: Handle irqs only based on irq ring, not irq status regs.
Trying to resolve issues with missed vblanks and impossible
values inside delivered kms pageflip completion events showed
that radeon's irq handling sometimes doesn't handle valid irqs,
but silently skips them. This was observed for vblank interrupts.
Although those irqs have corresponding events queued in the gpu's
irq ring at time of interrupt, and therefore the corresponding
handling code gets triggered by these events, the handling code
sometimes silently skipped processing the irq. The reason for those
skips is that the handling code double-checks for each irq event if
the corresponding irq status bits in the irq status registers
are set. Sometimes those bits are not set at time of check
for valid irqs, maybe due to some hardware race on some setups?
The problem only seems to happen on some machine + card combos
sometimes, e.g., never happened during my testing of different PC
cards of the DCE-2/3/4 generation a year ago, but happens consistently
now on two different Apple Mac cards (RV730, DCE-3, Apple iMac and
Evergreen JUNIPER, DCE-4 in a Apple MacPro). It also doesn't happen
at each interrupt but only occassionally every couple of
hundred or thousand vblank interrupts.
This results in XOrg warning messages like
"[ 7084.472] (WW) RADEON(0): radeon_dri2_flip_event_handler:
Pageflip completion event has impossible msc 420120 < target_msc 420121"
as well as skipped frames and problems for applications that
use kms pageflip events or vblank events, e.g., users of DRI2 and
DRI3/Present, Waylands Weston compositor, etc. See also
https://bugs.freedesktop.org/show_bug.cgi?id=85203
After some talking to Alex and Michel, we decided to fix this
by turning the double-check for asserted irq status bits into a
warning. Whenever a irq event is queued in the IH ring, always
execute the corresponding interrupt handler. Still check the irq
status bits, but only to log a DRM_DEBUG message on a mismatch.
This fixed the problems reliably on both previously failing
cards, RV-730 dual-head tested on both crtcs (pipes D1 and D2)
and a triple-output Juniper HD-5770 card tested on all three
available crtcs (D1/D2/D3). The r600 and evergreen irq handling
is therefore tested, but the cik an si handling is only compile
tested due to lack of hw.
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
CC: Michel Dänzer <michel.daenzer@amd.com>
CC: Alex Deucher <alexander.deucher@amd.com>
CC: <stable@vger.kernel.org> # v3.16+
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2015-07-03 06:03:06 +02:00
|
|
|
|
drm/radeon: Cleanup display interrupt handling for evergreen, si
The current code here is really, really bad. A huge amount of it looks
to be copy pasted, it has some weird hatred of arrays and code sharing,
switch cases everywhere for things that really don't need them, and it
makes the file seem immensely more complex then it actually is. This is
a pain for maintanence, and is vulnerable to more weird irq handling
bugs.
So, let's start cleaning this up a bit. Modify all of the IRQ handlers
for evergreen/si so that they just use for loops. As well, we add a
helper function radeon_irq_kms_set_irq_n_enabled(), whose purpose is
just to update the state of registers that enable/disable interrupts
while printing any changes to the set of enabled interrupts to the
kernel log.
Note in this commit, since vblank/vline irq acking is intertwined with
page flip irq acking, we can't cut out all of the copy paste in
evergreen/si_irq_ack() just yet.
Changes since v1:
- Preserve order we write back all registers
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Lyude <lyude@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-05-19 19:48:37 -04:00
|
|
|
|
drm/radeon: Handle irqs only based on irq ring, not irq status regs.
Trying to resolve issues with missed vblanks and impossible
values inside delivered kms pageflip completion events showed
that radeon's irq handling sometimes doesn't handle valid irqs,
but silently skips them. This was observed for vblank interrupts.
Although those irqs have corresponding events queued in the gpu's
irq ring at time of interrupt, and therefore the corresponding
handling code gets triggered by these events, the handling code
sometimes silently skipped processing the irq. The reason for those
skips is that the handling code double-checks for each irq event if
the corresponding irq status bits in the irq status registers
are set. Sometimes those bits are not set at time of check
for valid irqs, maybe due to some hardware race on some setups?
The problem only seems to happen on some machine + card combos
sometimes, e.g., never happened during my testing of different PC
cards of the DCE-2/3/4 generation a year ago, but happens consistently
now on two different Apple Mac cards (RV730, DCE-3, Apple iMac and
Evergreen JUNIPER, DCE-4 in a Apple MacPro). It also doesn't happen
at each interrupt but only occassionally every couple of
hundred or thousand vblank interrupts.
This results in XOrg warning messages like
"[ 7084.472] (WW) RADEON(0): radeon_dri2_flip_event_handler:
Pageflip completion event has impossible msc 420120 < target_msc 420121"
as well as skipped frames and problems for applications that
use kms pageflip events or vblank events, e.g., users of DRI2 and
DRI3/Present, Waylands Weston compositor, etc. See also
https://bugs.freedesktop.org/show_bug.cgi?id=85203
After some talking to Alex and Michel, we decided to fix this
by turning the double-check for asserted irq status bits into a
warning. Whenever a irq event is queued in the IH ring, always
execute the corresponding interrupt handler. Still check the irq
status bits, but only to log a DRM_DEBUG message on a mismatch.
This fixed the problems reliably on both previously failing
cards, RV-730 dual-head tested on both crtcs (pipes D1 and D2)
and a triple-output Juniper HD-5770 card tested on all three
available crtcs (D1/D2/D3). The r600 and evergreen irq handling
is therefore tested, but the cik an si handling is only compile
tested due to lack of hw.
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
CC: Michel Dänzer <michel.daenzer@amd.com>
CC: Alex Deucher <alexander.deucher@amd.com>
CC: <stable@vger.kernel.org> # v3.16+
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2015-07-03 06:03:06 +02:00
|
|
|
|
drm/radeon: Cleanup display interrupt handling for evergreen, si
The current code here is really, really bad. A huge amount of it looks
to be copy pasted, it has some weird hatred of arrays and code sharing,
switch cases everywhere for things that really don't need them, and it
makes the file seem immensely more complex then it actually is. This is
a pain for maintanence, and is vulnerable to more weird irq handling
bugs.
So, let's start cleaning this up a bit. Modify all of the IRQ handlers
for evergreen/si so that they just use for loops. As well, we add a
helper function radeon_irq_kms_set_irq_n_enabled(), whose purpose is
just to update the state of registers that enable/disable interrupts
while printing any changes to the set of enabled interrupts to the
kernel log.
Note in this commit, since vblank/vline irq acking is intertwined with
page flip irq acking, we can't cut out all of the copy paste in
evergreen/si_irq_ack() just yet.
Changes since v1:
- Preserve order we write back all registers
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Lyude <lyude@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-05-19 19:48:37 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
drm/radeon: Handle irqs only based on irq ring, not irq status regs.
Trying to resolve issues with missed vblanks and impossible
values inside delivered kms pageflip completion events showed
that radeon's irq handling sometimes doesn't handle valid irqs,
but silently skips them. This was observed for vblank interrupts.
Although those irqs have corresponding events queued in the gpu's
irq ring at time of interrupt, and therefore the corresponding
handling code gets triggered by these events, the handling code
sometimes silently skipped processing the irq. The reason for those
skips is that the handling code double-checks for each irq event if
the corresponding irq status bits in the irq status registers
are set. Sometimes those bits are not set at time of check
for valid irqs, maybe due to some hardware race on some setups?
The problem only seems to happen on some machine + card combos
sometimes, e.g., never happened during my testing of different PC
cards of the DCE-2/3/4 generation a year ago, but happens consistently
now on two different Apple Mac cards (RV730, DCE-3, Apple iMac and
Evergreen JUNIPER, DCE-4 in a Apple MacPro). It also doesn't happen
at each interrupt but only occassionally every couple of
hundred or thousand vblank interrupts.
This results in XOrg warning messages like
"[ 7084.472] (WW) RADEON(0): radeon_dri2_flip_event_handler:
Pageflip completion event has impossible msc 420120 < target_msc 420121"
as well as skipped frames and problems for applications that
use kms pageflip events or vblank events, e.g., users of DRI2 and
DRI3/Present, Waylands Weston compositor, etc. See also
https://bugs.freedesktop.org/show_bug.cgi?id=85203
After some talking to Alex and Michel, we decided to fix this
by turning the double-check for asserted irq status bits into a
warning. Whenever a irq event is queued in the IH ring, always
execute the corresponding interrupt handler. Still check the irq
status bits, but only to log a DRM_DEBUG message on a mismatch.
This fixed the problems reliably on both previously failing
cards, RV-730 dual-head tested on both crtcs (pipes D1 and D2)
and a triple-output Juniper HD-5770 card tested on all three
available crtcs (D1/D2/D3). The r600 and evergreen irq handling
is therefore tested, but the cik an si handling is only compile
tested due to lack of hw.
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
CC: Michel Dänzer <michel.daenzer@amd.com>
CC: Alex Deucher <alexander.deucher@amd.com>
CC: <stable@vger.kernel.org> # v3.16+
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2015-07-03 06:03:06 +02:00
|
|
|
|
drm/radeon: Cleanup display interrupt handling for evergreen, si
The current code here is really, really bad. A huge amount of it looks
to be copy pasted, it has some weird hatred of arrays and code sharing,
switch cases everywhere for things that really don't need them, and it
makes the file seem immensely more complex then it actually is. This is
a pain for maintanence, and is vulnerable to more weird irq handling
bugs.
So, let's start cleaning this up a bit. Modify all of the IRQ handlers
for evergreen/si so that they just use for loops. As well, we add a
helper function radeon_irq_kms_set_irq_n_enabled(), whose purpose is
just to update the state of registers that enable/disable interrupts
while printing any changes to the set of enabled interrupts to the
kernel log.
Note in this commit, since vblank/vline irq acking is intertwined with
page flip irq acking, we can't cut out all of the copy paste in
evergreen/si_irq_ack() just yet.
Changes since v1:
- Preserve order we write back all registers
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Lyude <lyude@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-05-19 19:48:37 -04:00
|
|
|
|
drm/radeon: Handle irqs only based on irq ring, not irq status regs.
Trying to resolve issues with missed vblanks and impossible
values inside delivered kms pageflip completion events showed
that radeon's irq handling sometimes doesn't handle valid irqs,
but silently skips them. This was observed for vblank interrupts.
Although those irqs have corresponding events queued in the gpu's
irq ring at time of interrupt, and therefore the corresponding
handling code gets triggered by these events, the handling code
sometimes silently skipped processing the irq. The reason for those
skips is that the handling code double-checks for each irq event if
the corresponding irq status bits in the irq status registers
are set. Sometimes those bits are not set at time of check
for valid irqs, maybe due to some hardware race on some setups?
The problem only seems to happen on some machine + card combos
sometimes, e.g., never happened during my testing of different PC
cards of the DCE-2/3/4 generation a year ago, but happens consistently
now on two different Apple Mac cards (RV730, DCE-3, Apple iMac and
Evergreen JUNIPER, DCE-4 in a Apple MacPro). It also doesn't happen
at each interrupt but only occassionally every couple of
hundred or thousand vblank interrupts.
This results in XOrg warning messages like
"[ 7084.472] (WW) RADEON(0): radeon_dri2_flip_event_handler:
Pageflip completion event has impossible msc 420120 < target_msc 420121"
as well as skipped frames and problems for applications that
use kms pageflip events or vblank events, e.g., users of DRI2 and
DRI3/Present, Waylands Weston compositor, etc. See also
https://bugs.freedesktop.org/show_bug.cgi?id=85203
After some talking to Alex and Michel, we decided to fix this
by turning the double-check for asserted irq status bits into a
warning. Whenever a irq event is queued in the IH ring, always
execute the corresponding interrupt handler. Still check the irq
status bits, but only to log a DRM_DEBUG message on a mismatch.
This fixed the problems reliably on both previously failing
cards, RV-730 dual-head tested on both crtcs (pipes D1 and D2)
and a triple-output Juniper HD-5770 card tested on all three
available crtcs (D1/D2/D3). The r600 and evergreen irq handling
is therefore tested, but the cik an si handling is only compile
tested due to lack of hw.
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
CC: Michel Dänzer <michel.daenzer@amd.com>
CC: Alex Deucher <alexander.deucher@amd.com>
CC: <stable@vger.kernel.org> # v3.16+
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2015-07-03 06:03:06 +02:00
|
|
|
|
drm/radeon: Cleanup display interrupt handling for evergreen, si
The current code here is really, really bad. A huge amount of it looks
to be copy pasted, it has some weird hatred of arrays and code sharing,
switch cases everywhere for things that really don't need them, and it
makes the file seem immensely more complex then it actually is. This is
a pain for maintanence, and is vulnerable to more weird irq handling
bugs.
So, let's start cleaning this up a bit. Modify all of the IRQ handlers
for evergreen/si so that they just use for loops. As well, we add a
helper function radeon_irq_kms_set_irq_n_enabled(), whose purpose is
just to update the state of registers that enable/disable interrupts
while printing any changes to the set of enabled interrupts to the
kernel log.
Note in this commit, since vblank/vline irq acking is intertwined with
page flip irq acking, we can't cut out all of the copy paste in
evergreen/si_irq_ack() just yet.
Changes since v1:
- Preserve order we write back all registers
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Lyude <lyude@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-05-19 19:48:37 -04:00
|
|
|
|
2025-12-16 16:02:38 +05:30
|
|
|
|
drm/radeon: Cleanup display interrupt handling for evergreen, si
The current code here is really, really bad. A huge amount of it looks
to be copy pasted, it has some weird hatred of arrays and code sharing,
switch cases everywhere for things that really don't need them, and it
makes the file seem immensely more complex then it actually is. This is
a pain for maintanence, and is vulnerable to more weird irq handling
bugs.
So, let's start cleaning this up a bit. Modify all of the IRQ handlers
for evergreen/si so that they just use for loops. As well, we add a
helper function radeon_irq_kms_set_irq_n_enabled(), whose purpose is
just to update the state of registers that enable/disable interrupts
while printing any changes to the set of enabled interrupts to the
kernel log.
Note in this commit, since vblank/vline irq acking is intertwined with
page flip irq acking, we can't cut out all of the copy paste in
evergreen/si_irq_ack() just yet.
Changes since v1:
- Preserve order we write back all registers
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Lyude <lyude@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-05-19 19:48:37 -04:00
|
|
|
|
2010-03-24 13:55:51 -04:00
|
|
|
|
|
|
|
|
|
drm/radeon: Cleanup display interrupt handling for evergreen, si
The current code here is really, really bad. A huge amount of it looks
to be copy pasted, it has some weird hatred of arrays and code sharing,
switch cases everywhere for things that really don't need them, and it
makes the file seem immensely more complex then it actually is. This is
a pain for maintanence, and is vulnerable to more weird irq handling
bugs.
So, let's start cleaning this up a bit. Modify all of the IRQ handlers
for evergreen/si so that they just use for loops. As well, we add a
helper function radeon_irq_kms_set_irq_n_enabled(), whose purpose is
just to update the state of registers that enable/disable interrupts
while printing any changes to the set of enabled interrupts to the
kernel log.
Note in this commit, since vblank/vline irq acking is intertwined with
page flip irq acking, we can't cut out all of the copy paste in
evergreen/si_irq_ack() just yet.
Changes since v1:
- Preserve order we write back all registers
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Lyude <lyude@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-05-19 19:48:37 -04:00
|
|
|
|
|
|
|
|
|
2025-12-16 16:02:38 +05:30
|
|
|
|
drm/radeon: Cleanup display interrupt handling for evergreen, si
The current code here is really, really bad. A huge amount of it looks
to be copy pasted, it has some weird hatred of arrays and code sharing,
switch cases everywhere for things that really don't need them, and it
makes the file seem immensely more complex then it actually is. This is
a pain for maintanence, and is vulnerable to more weird irq handling
bugs.
So, let's start cleaning this up a bit. Modify all of the IRQ handlers
for evergreen/si so that they just use for loops. As well, we add a
helper function radeon_irq_kms_set_irq_n_enabled(), whose purpose is
just to update the state of registers that enable/disable interrupts
while printing any changes to the set of enabled interrupts to the
kernel log.
Note in this commit, since vblank/vline irq acking is intertwined with
page flip irq acking, we can't cut out all of the copy paste in
evergreen/si_irq_ack() just yet.
Changes since v1:
- Preserve order we write back all registers
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Lyude <lyude@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-05-19 19:48:37 -04:00
|
|
|
|
|
|
|
|
|
2025-12-16 16:02:38 +05:30
|
|
|
|
drm/radeon: Cleanup display interrupt handling for evergreen, si
The current code here is really, really bad. A huge amount of it looks
to be copy pasted, it has some weird hatred of arrays and code sharing,
switch cases everywhere for things that really don't need them, and it
makes the file seem immensely more complex then it actually is. This is
a pain for maintanence, and is vulnerable to more weird irq handling
bugs.
So, let's start cleaning this up a bit. Modify all of the IRQ handlers
for evergreen/si so that they just use for loops. As well, we add a
helper function radeon_irq_kms_set_irq_n_enabled(), whose purpose is
just to update the state of registers that enable/disable interrupts
while printing any changes to the set of enabled interrupts to the
kernel log.
Note in this commit, since vblank/vline irq acking is intertwined with
page flip irq acking, we can't cut out all of the copy paste in
evergreen/si_irq_ack() just yet.
Changes since v1:
- Preserve order we write back all registers
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Lyude <lyude@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-05-19 19:48:37 -04:00
|
|
|
|
2010-03-24 13:55:51 -04:00
|
|
|
|
2012-03-30 08:59:57 -04:00
|
|
|
|
2017-05-19 19:48:38 -04:00
|
|
|
|
|
|
|
|
|
2025-12-16 16:02:38 +05:30
|
|
|
|
2017-05-19 19:48:38 -04:00
|
|
|
|
2012-03-30 08:59:57 -04:00
|
|
|
|
|
|
|
|
|
2023-08-17 19:33:49 +08:00
|
|
|
|
|
|
|
|
|
2025-12-16 16:02:38 +05:30
|
|
|
|
2023-08-17 19:33:49 +08:00
|
|
|
|
2017-05-19 19:48:38 -04:00
|
|
|
|
|
|
|
|
|
2025-12-16 16:02:38 +05:30
|
|
|
|
2017-05-19 19:48:38 -04:00
|
|
|
|
2015-02-18 13:19:28 +01:00
|
|
|
|
2025-12-16 16:02:38 +05:30
|
|
|
|
2015-02-18 13:19:28 +01:00
|
|
|
|
|
|
|
|
|
2013-04-08 12:41:29 +02:00
|
|
|
|
2025-12-16 16:02:38 +05:30
|
|
|
|
2013-04-08 12:41:29 +02:00
|
|
|
|
2012-03-30 08:59:57 -04:00
|
|
|
|
2012-09-18 15:30:44 -04:00
|
|
|
|
|
|
|
|
|
2013-06-13 18:26:25 -04:00
|
|
|
|
|
|
|
|
|
2014-07-07 11:16:29 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-09-18 15:30:44 -04:00
|
|
|
|
|
|
|
|
|
2013-06-13 18:26:25 -04:00
|
|
|
|
2012-09-18 15:30:44 -04:00
|
|
|
|
2013-06-13 18:26:25 -04:00
|
|
|
|
|
|
|
|
|
2012-09-18 15:30:44 -04:00
|
|
|
|
2010-03-24 13:55:51 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-12-16 16:02:38 +05:30
|
|
|
|
2011-08-25 13:39:48 -04:00
|
|
|
|
2010-03-24 13:55:51 -04:00
|
|
|
|
|
|
|
|
|
2025-12-16 16:02:38 +05:30
|
|
|
|
2011-11-17 20:13:28 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-03-24 13:55:51 -04:00
|
|
|
|
2012-12-04 15:25:59 -05:00
|
|
|
|
2025-12-16 16:02:38 +05:30
|
|
|
|
2012-12-04 15:25:59 -05:00
|
|
|
|
|
|
|
|
|
2013-06-26 00:33:35 -04:00
|
|
|
|
2025-12-16 16:02:38 +05:30
|
|
|
|
2013-06-26 00:33:35 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-12-16 16:02:38 +05:30
|
|
|
|
2013-06-26 00:33:35 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-04-22 12:52:11 -04:00
|
|
|
|
2025-12-16 16:02:38 +05:30
|
|
|
|
2010-04-22 12:52:11 -04:00
|
|
|
|
2012-12-04 15:27:33 -05:00
|
|
|
|
|
|
|
|
|
2025-12-16 16:02:38 +05:30
|
|
|
|
2012-12-04 15:27:33 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-03-24 13:55:51 -04:00
|
|
|
|
2025-12-16 16:02:38 +05:30
|
|
|
|
2010-03-24 13:55:51 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-09-19 12:22:10 +09:00
|
|
|
|
2010-03-24 13:55:51 -04:00
|
|
|
|
2015-02-24 09:23:57 +10:00
|
|
|
|
|
|
|
|
|
2010-03-24 13:55:51 -04:00
|
|
|
|
2015-12-03 18:26:07 -05:00
|
|
|
|
2012-03-30 08:59:57 -04:00
|
|
|
|
|
|
|
|
|
2013-06-26 00:33:35 -04:00
|
|
|
|
|
|
|
|
|
2010-03-24 13:55:51 -04:00
|
|
|
|
2012-05-16 21:45:24 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-03-24 13:55:51 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-03-18 16:58:28 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-12-23 17:25:49 +08:00
|
|
|
|
2016-03-18 16:58:28 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-08-23 10:07:28 -04:00
|
|
|
|
2016-03-18 16:58:28 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
|
|
|
|
|
2013-04-08 12:41:29 +02:00
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
2025-12-16 16:02:38 +05:30
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
2011-01-06 18:49:35 -05:00
|
|
|
|
2011-09-20 10:22:57 -04:00
|
|
|
|
2013-02-15 11:02:50 -05:00
|
|
|
|
|
|
|
|
|
2011-01-06 18:49:35 -05:00
|
|
|
|
2013-08-30 08:58:20 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-08-04 12:13:17 -04:00
|
|
|
|
|
|
|
|
|
2013-12-18 14:07:14 -05:00
|
|
|
|
2011-03-02 20:07:34 -05:00
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
2025-12-16 16:02:38 +05:30
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-03-24 13:36:43 -04:00
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
2010-03-24 13:20:41 -04:00
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-04-12 13:52:52 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-04-17 17:53:50 -04:00
|
|
|
|
|
|
|
|
|
2013-04-12 13:52:52 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-12-16 16:02:38 +05:30
|
|
|
|
2013-04-12 13:52:52 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-08-27 18:25:25 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-11-20 20:45:34 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-12-04 15:25:59 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-03-18 16:58:28 +01:00
|
|
|
|
2013-04-08 12:41:29 +02:00
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
radeon: Fix system hang issue when using KMS with older cards
The current radeon driver initialization routines, when using KMS, are written
so that the IRQ installation routine is called before initializing the WB buffer
and the CP rings. With some ASICs, though, the IRQ routine tries to access the
GFX_INDEX ring causing a call to RREG32 with the value of -1 in
radeon_fence_read. This, in turn causes the system to completely hang with some
cards, requiring a hard reset.
A call stack that can cause such a hang looks like this (using rv515 ASIC for the
example here):
* rv515_init (rv515.c)
* radeon_irq_kms_init (radeon_irq_kms.c)
* drm_irq_install (drm_irq.c)
* radeon_driver_irq_preinstall_kms (radeon_irq_kms.c)
* rs600_irq_process (rs600.c)
* radeon_fence_process - due to SW interrupt (radeon_fence.c)
* radeon_fence_read (radeon_fence.c)
* hang due to RREG32(-1)
The patch moves the IRQ installation to the card startup routine, after the ring
has been initialized, but before the IRQ has been set. This fixes the issue, but
requires a check to see if the IRQ is already installed, as is the case in the
system resume codepath.
I have tested the patch on three machines using the rv515, the rv770 and the
evergreen ASIC. They worked without issues.
This seems to be a known issue and has been reported on several bug tracking
sites by various distributions (see links below). Most of reports recommend
booting the system with KMS disabled and then enabling KMS by reloading the
radeon module. For some reason, this was indeed a usable workaround, however,
UMS is now deprecated and disabled by default.
Bug reports:
https://bugzilla.redhat.com/show_bug.cgi?id=845745
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/561789
https://bbs.archlinux.org/viewtopic.php?id=156964
Signed-off-by: Adis Hamzić <adis@hamzadis.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
2013-06-02 16:47:54 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
|
|
|
|
|
2025-12-16 16:02:38 +05:30
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-03-24 13:55:51 -04:00
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
2013-04-08 12:41:29 +02:00
|
|
|
|
2011-10-23 12:56:27 +02:00
|
|
|
|
2013-08-13 11:56:52 +02:00
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
|
|
|
|
|
2012-12-04 15:25:59 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-08-13 11:56:52 +02:00
|
|
|
|
2012-12-04 15:25:59 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-03-24 13:36:43 -04:00
|
|
|
|
2012-12-04 15:25:59 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
|
|
|
|
|
2010-03-24 13:36:43 -04:00
|
|
|
|
2016-03-18 16:58:28 +01:00
|
|
|
|
2013-04-08 12:41:29 +02:00
|
|
|
|
2012-07-05 11:55:34 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
drm/radeon: introduce a sub allocator and convert ib pool to it v4
Somewhat specializaed sub-allocator designed to perform sub-allocation
for command buffer not only for current cs ioctl but for future command
submission ioctl as well. Patch also convert current ib pool to use
the sub allocator. Idea is that ib poll buffer can be share with other
command buffer submission not having 64K granularity.
v2 Harmonize pool handling and add suspend/resume callback to pin/unpin
sa bo (tested on rv280, rv370, r420, rv515, rv610, rv710, redwood, cayman,
rs480, rs690, rs880)
v3 Simplify allocator
v4 Fix radeon_ib_get error path to properly free fence
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-11-15 11:48:34 -05:00
|
|
|
|
2012-07-05 11:55:34 +02:00
|
|
|
|
drm/radeon: introduce a sub allocator and convert ib pool to it v4
Somewhat specializaed sub-allocator designed to perform sub-allocation
for command buffer not only for current cs ioctl but for future command
submission ioctl as well. Patch also convert current ib pool to use
the sub allocator. Idea is that ib poll buffer can be share with other
command buffer submission not having 64K granularity.
v2 Harmonize pool handling and add suspend/resume callback to pin/unpin
sa bo (tested on rv280, rv370, r420, rv515, rv610, rv710, redwood, cayman,
rs480, rs690, rs880)
v3 Simplify allocator
v4 Fix radeon_ib_get error path to properly free fence
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-11-15 11:48:34 -05:00
|
|
|
|
2014-12-22 17:26:51 -05:00
|
|
|
|
2011-12-07 23:32:24 +01:00
|
|
|
|
2025-12-16 16:02:38 +05:30
|
|
|
|
drm/radeon: introduce a sub allocator and convert ib pool to it v4
Somewhat specializaed sub-allocator designed to perform sub-allocation
for command buffer not only for current cs ioctl but for future command
submission ioctl as well. Patch also convert current ib pool to use
the sub allocator. Idea is that ib poll buffer can be share with other
command buffer submission not having 64K granularity.
v2 Harmonize pool handling and add suspend/resume callback to pin/unpin
sa bo (tested on rv280, rv370, r420, rv515, rv610, rv710, redwood, cayman,
rs480, rs690, rs880)
v3 Simplify allocator
v4 Fix radeon_ib_get error path to properly free fence
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-11-15 11:48:34 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-12-16 16:02:38 +05:30
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
2010-12-20 12:35:04 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-02-28 14:40:09 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-02-25 12:01:28 -05:00
|
|
|
|
|
|
|
|
|
2013-12-18 14:07:14 -05:00
|
|
|
|
drm/radeon: introduce a sub allocator and convert ib pool to it v4
Somewhat specializaed sub-allocator designed to perform sub-allocation
for command buffer not only for current cs ioctl but for future command
submission ioctl as well. Patch also convert current ib pool to use
the sub allocator. Idea is that ib poll buffer can be share with other
command buffer submission not having 64K granularity.
v2 Harmonize pool handling and add suspend/resume callback to pin/unpin
sa bo (tested on rv280, rv370, r420, rv515, rv610, rv710, redwood, cayman,
rs480, rs690, rs880)
v3 Simplify allocator
v4 Fix radeon_ib_get error path to properly free fence
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-11-15 11:48:34 -05:00
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
|
|
|
|
|
2025-12-16 16:02:38 +05:30
|
|
|
|
2012-02-20 17:57:20 -05:00
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
|
|
|
|
|
2010-03-24 13:36:43 -04:00
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-12-18 14:07:14 -05:00
|
|
|
|
2014-12-03 17:07:01 -05:00
|
|
|
|
2016-03-18 16:58:28 +01:00
|
|
|
|
|
|
|
|
|
2022-01-17 15:47:31 +08:00
|
|
|
|
2016-03-18 16:58:28 +01:00
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
2012-12-04 15:25:59 -05:00
|
|
|
|
2010-03-24 13:55:51 -04:00
|
|
|
|
2010-08-27 18:25:25 -04:00
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
2010-09-09 11:33:36 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-12-16 16:02:38 +05:30
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-03-02 20:07:34 -05:00
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-12-20 12:35:04 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
2011-01-11 18:08:59 -05:00
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-12-16 16:02:38 +05:30
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
|
|
|
|
|
2013-02-28 14:40:09 -05:00
|
|
|
|
|
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-06-30 12:59:21 -04:00
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
2021-06-21 06:05:07 -07:00
|
|
|
|
drm/radeon/kms: simplify memory controller setup V2
Get rid of _location and use _start/_end also simplify the
computation of vram_start|end & gtt_start|end. For R1XX-R2XX
we place VRAM at the same address of PCI aperture, those GPU
shouldn't have much memory and seems to behave better when
setup that way. For R3XX and newer we place VRAM at 0. For
R6XX-R7XX AGP we place VRAM before or after AGP aperture this
might limit to limit the VRAM size but it's very unlikely.
For IGP we don't change the VRAM placement.
Tested on (compiz,quake3,suspend/resume):
PCI/PCIE:RV280,R420,RV515,RV570,RV610,RV710
AGP:RV100,RV280,R420,RV350,RV620(RPB*),RV730
IGP:RS480(RPB*),RS690,RS780(RPB*),RS880
RPB: resume previously broken
V2 correct commit message to reflect more accurately the bug
and move VRAM placement to 0 for most of the GPU to avoid
limiting VRAM.
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-02-17 21:54:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-03-24 13:55:51 -04:00
|
|
|
|
2013-12-18 19:11:27 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-12-16 16:02:38 +05:30
|
|
|
|
2013-12-18 19:11:27 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-12-16 16:02:38 +05:30
|
|
|
|
2013-12-18 19:11:27 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-12-18 14:07:14 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-10-23 12:56:27 +02:00
|
|
|
|
|
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
2012-12-04 15:25:59 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-03-18 16:58:28 +01:00
|
|
|
|
2013-04-08 12:41:29 +02:00
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-03-24 13:20:41 -04:00
|
|
|
|
2010-06-03 19:00:03 -04:00
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
|
|
|
|
|
2010-03-24 13:36:43 -04:00
|
|
|
|
|
|
|
|
|
2012-12-04 15:25:59 -05:00
|
|
|
|
2010-03-24 13:36:43 -04:00
|
|
|
|
2013-04-12 13:52:52 -04:00
|
|
|
|
|
|
|
|
|
2010-08-27 18:25:25 -04:00
|
|
|
|
2012-07-05 11:55:34 +02:00
|
|
|
|
2010-03-24 13:36:43 -04:00
|
|
|
|
2010-03-24 13:20:41 -04:00
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
|
|
|
|
|
2011-12-21 11:58:17 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-12-16 16:02:38 +05:30
|
|
|
|
2011-12-21 11:58:17 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-12-18 14:07:14 -05:00
|
|
|
|
2014-12-03 17:07:01 -05:00
|
|
|
|
2010-03-24 13:55:51 -04:00
|
|
|
|
2012-12-04 15:25:59 -05:00
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
2013-04-12 13:52:52 -04:00
|
|
|
|
|
|
|
|
|
2010-08-27 18:25:25 -04:00
|
|
|
|
2012-07-05 11:55:34 +02:00
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
2013-08-13 11:56:53 +02:00
|
|
|
|
2013-04-08 12:41:29 +02:00
|
|
|
|
2014-02-26 19:22:47 -05:00
|
|
|
|
2011-10-28 10:30:02 -04:00
|
|
|
|
2010-01-12 17:54:34 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-01-06 18:49:35 -05:00
|
|
|
|
2011-09-20 10:22:58 -04:00
|
|
|
|
2011-01-06 18:49:35 -05:00
|
|
|
|
2013-05-03 19:43:13 -03:00
|
|
|
|
2025-12-16 16:02:38 +05:30
|
|
|
|
2011-01-06 18:49:35 -05:00
|
|
|
|
2011-01-12 20:05:11 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-01-06 18:49:35 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-05-03 19:43:13 -03:00
|
|
|
|
|
|
|
|
|
2012-06-27 08:35:54 +01:00
|
|
|
|
|
|
|
|
|
2012-10-25 16:06:59 -04:00
|
|
|
|
2012-10-08 17:46:27 -04:00
|
|
|
|
2025-12-16 16:02:38 +05:30
|
|
|
|
2012-10-08 17:46:27 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-12-16 16:02:38 +05:30
|
|
|
|
2012-06-27 08:35:54 +01:00
|
|
|
|
2011-01-06 18:49:35 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-10-25 16:06:59 -04:00
|
|
|
|
2011-01-06 18:49:35 -05:00
|
|
|
|
2012-10-25 16:06:59 -04:00
|
|
|
|
2011-01-06 18:49:35 -05:00
|
|
|
|
2012-10-25 16:06:59 -04:00
|
|
|
|
2011-01-06 18:49:35 -05:00
|
|
|
|
2012-10-25 16:06:59 -04:00
|
|
|
|
2011-01-06 18:49:35 -05:00
|
|
|
|
2012-10-25 16:06:59 -04:00
|
|
|
|
2011-01-06 18:49:35 -05:00
|
|
|
|
2012-10-25 16:06:59 -04:00
|
|
|
|
2011-01-06 18:49:35 -05:00
|
|
|
|
2012-10-25 16:06:59 -04:00
|
|
|
|
2011-01-06 18:49:35 -05:00
|
|
|
|
2012-10-25 16:06:59 -04:00
|
|
|
|
2011-01-06 18:49:35 -05:00
|
|
|
|
2012-10-25 16:06:59 -04:00
|
|
|
|
2011-01-06 18:49:35 -05:00
|
|
|
|
2012-10-25 16:06:59 -04:00
|
|
|
|
2011-01-06 18:49:35 -05:00
|
|
|
|
|
|
|
|
|
2012-10-25 16:06:59 -04:00
|
|
|
|
2011-01-06 18:49:35 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-10-25 16:06:59 -04:00
|
|
|
|
2011-01-06 18:49:35 -05:00
|
|
|
|
|
|
|
|
|
2013-02-15 11:02:50 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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