assembler can either take subnr in bytes or in number of elements,
so we need a resolve step when setting a brw_reg.
Signed-off-by: Damien Lespiau
---
assembler/gen4asm.h |3 +
assembler/gram.y| 171 +++
assembler/main.c| 11 +++
3
The goal is to use brw_set_src[01](), so let's start by validating the
register we have before generating the opcode.
Signed-off-by: Damien Lespiau
---
assembler/gram.y | 61 ++---
1 files changed, 25 insertions(+), 36 deletions(-)
diff --
See the IVB PRM, vol4 part3 5.2.3.
Signed-off-by: Damien Lespiau
---
assembler/brw_eu_emit.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/assembler/brw_eu_emit.c b/assembler/brw_eu_emit.c
index ea4baeb..ed24e48 100644
--- a/assembler/brw_eu_emit.c
+++ b/assembler
Of course the assertion is there to make sure GRF and MRF have a reg.nr
< 128. To exclude ARF registers, reg.file has be checked, not reg.type
(channel type). Most likely a typo never caught.
Signed-off-by: Damien Lespiau
---
assembler/brw_eu_emit.c |4 ++--
1 files changed, 2 inserti
Another step in pushing the parsing in struct brw_reg.
Signed-off-by: Damien Lespiau
---
assembler/gen4asm.h |2 +-
assembler/gram.y| 20 ++--
2 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/assembler/gen4asm.h b/assembler/gen4asm.h
index 0e3b965
ut in that case.
Signed-off-by: Damien Lespiau
---
assembler/gram.y | 74 +++---
1 files changed, 59 insertions(+), 15 deletions(-)
diff --git a/assembler/gram.y b/assembler/gram.y
index be8ff01..8b56bd9 100644
--- a/assembler/gram.y
+++ b/asse
Let's generate location information about the tokens we are parsing.
This can be used to give accurate location when reporting errors and
warnings.
Signed-off-by: Damien Lespiau
---
assembler/gram.y |1 +
assembler/lex.l | 24 ++--
2 files changed, 19 insertions(
Now that we have locations, we can write error() and warn() functions
giving more information about where it's going wrong.
Signed-off-by: Damien Lespiau
---
assembler/gen4asm.h |2 +
assembler/gram.y| 121 ++-
2 files change
The list of region restrictions in bspec do say that we can't have:
width == 1 && hstrize != 0
We do have plenty of assembly code that don't respect that behaviour. So
let's hide the warning under a -W flag (for now) while we fix things.
Signed-off-by: Damien
Another check (that we hit if we try to use brw_set_src0()). Again,
protect it with the -W option.
Signed-off-by: Damien Lespiau
---
assembler/gram.y | 26 +-
1 files changed, 25 insertions(+), 1 deletions(-)
diff --git a/assembler/gram.y b/assembler/gram.y
index
Signed-off-by: Damien Lespiau
---
assembler/gen4asm.h |2 ++
assembler/gram.y|4 ++--
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/assembler/gen4asm.h b/assembler/gen4asm.h
index 1e67c1c..9558a29 100644
--- a/assembler/gen4asm.h
+++ b/assembler/gen4asm.h
@@ -47,6
assembler generate the same opcodes.
We can fix all this, but it requires validation, something that I cannot
do right now.
Signed-off-by: Damien Lespiau
---
assembler/brw_eu_emit.c | 25 -
assembler/gram.y| 66 --
2 files c
This way we ensure to have a single place where these are handled. The
immediate benefit is that now line numbers are always printed out, which
is quite handy.
Signed-off-by: Damien Lespiau
---
assembler/gram.y | 274 ++
1 files changed, 113
Not everything has to be exported out the compilation unit. Do a small
cleanup pass.
Signed-off-by: Damien Lespiau
---
assembler/gen4asm.h |2 +
assembler/gram.y| 102 ---
assembler/main.c| 12 +++---
3 files changed, 56 insertions
A small typo in the condition.
Signed-off-by: Damien Lespiau
---
assembler/gram.y |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/assembler/gram.y b/assembler/gram.y
index 4b5c6a3..c86e28f 100644
--- a/assembler/gram.y
+++ b/assembler/gram.y
@@ -2226,7 +2226,7
The assembler allows people to do that and that's something available
since Crestline.
Signed-off-by: Damien Lespiau
---
assembler/brw_eu_emit.c | 39 +++
1 files changed, 27 insertions(+), 12 deletions(-)
diff --git a/assembler/brw_eu_emit.c b/asse
Everything is now aligned to be able to use brw_set_src1() in the
opcode generation, so use it.
Signed-off-by: Damien Lespiau
---
assembler/gram.y | 54 +-
1 files changed, 5 insertions(+), 49 deletions(-)
diff --git a/assembler/gram.y b
This will be less typing for the refactoring to come (which is use
struct brw_program_instruction in gram.y for the type of all the
instructions).
Signed-off-by: Damien Lespiau
---
assembler/disasm-main.c |6 +++---
assembler/gen4asm.h |4 ++--
assembler/gram.y|6
ned-off-by: Damien Lespiau
---
assembler/gen4asm.h |5 +--
assembler/gram.y| 76 ++-
assembler/main.c|4 +-
3 files changed, 43 insertions(+), 42 deletions(-)
diff --git a/assembler/gen4asm.h b/assembler/gen4asm.h
index 0781ea
Rather than user a full instruction for that. Also use
set_instruction_predicate() for a case that coud not be done like that
before the refactoring (because everyone now uses the same instruction
structure).
Signed-off-by: Damien Lespiau
---
assembler/gen4asm.h |7 ++
assembler/gram.y
fixed now!
Signed-off-by: Damien Lespiau
---
assembler/gram.y | 121 --
1 files changed, 45 insertions(+), 76 deletions(-)
diff --git a/assembler/gram.y b/assembler/gram.y
index 23d7cfb..99376a2 100644
--- a/assembler/gram.y
+++ b/assembler/gram.y
Like with the predicate fields before, there's no need to use the full
instruction to collect the list of options. This allows us to decouple
the list of options from a specific instruction encoding.
Signed-off-by: Damien Lespiau
---
assembler/gen4asm.h | 12 +
assembler/g
Signed-off-by: Damien Lespiau
---
assembler/gram.y | 72 ++
1 files changed, 40 insertions(+), 32 deletions(-)
diff --git a/assembler/gram.y b/assembler/gram.y
index c6ba086..2d72037 100644
--- a/assembler/gram.y
+++ b/assembler/gram.y
This allow us to factor out the test that checks if, when using both
predicates and conditional modifiers, we are using the same flag
register.
Also get rid of of a FIXME that we are now dealing with (the warning
mentioned above).
Signed-off-by: Damien Lespiau
---
assembler/gram.y | 88
Also simplify the logic that was setting the saturate bit in the math
instruction.
Signed-off-by: Damien Lespiau
---
assembler/gram.y | 26 ++
1 files changed, 14 insertions(+), 12 deletions(-)
diff --git a/assembler/gram.y b/assembler/gram.y
index 917bccf..43c34f6
Signed-off-by: Damien Lespiau
---
assembler/brw_eu.h | 17 +
assembler/brw_eu_emit.c | 43 +++
2 files changed, 52 insertions(+), 8 deletions(-)
diff --git a/assembler/brw_eu.h b/assembler/brw_eu.h
index 6d656a4..20d4b82 100644
Signed-off-by: Damien Lespiau
---
assembler/brw_defines.h |5 +
assembler/brw_eu_emit.c | 23 +++
2 files changed, 24 insertions(+), 4 deletions(-)
diff --git a/assembler/brw_defines.h b/assembler/brw_defines.h
index 23402e3..98757da 100644
--- a/assembler
gen4asm.h is assembler specific while we want the library files to be
somewhat of a proper library.
This means that we have to redefine the GL* typedefs for brw_structs.h,
not using any of thet GL typedef will be for a future commit.
Signed-off-by: Damien Lespiau
---
assembler/brw_disasm.c
No reason not to!
Signed-off-by: Damien Lespiau
---
assembler/gram.y | 17 ++---
1 files changed, 6 insertions(+), 11 deletions(-)
diff --git a/assembler/gram.y b/assembler/gram.y
index cd42004..d69d7b4 100644
--- a/assembler/gram.y
+++ b/assembler/gram.y
@@ -1200,9 +1200,8
I originally moved struct opcode_desc from brw_context.h to brw_eu.h on
the mesa side, but that was before the realization we needed struct
brw_context if we wanted to not touch the code too much.
So put it back there now that the mesa patch has been dropped.
Signed-off-by: Damien Lespiau
Signed-off-by: Damien Lespiau
---
assembler/Makefile.am|2 +
assembler/brw_eu_debug.c | 92 ++
assembler/brw_eu_util.c | 125 ++
3 files changed, 219 insertions(+), 0 deletions(-)
create mode 100644
Signed-off-by: Damien Lespiau
---
assembler/gram.y | 79 +++--
1 files changed, 28 insertions(+), 51 deletions(-)
diff --git a/assembler/gram.y b/assembler/gram.y
index 43c34f6..cd42004 100644
--- a/assembler/gram.y
+++ b/assembler/gram.y
Signed-off-by: Damien Lespiau
---
assembler/gen4asm.h |1 -
assembler/gram.y| 12 +---
2 files changed, 5 insertions(+), 8 deletions(-)
diff --git a/assembler/gen4asm.h b/assembler/gen4asm.h
index 3b98444..49baf9d 100644
--- a/assembler/gen4asm.h
+++ b/assembler/gen4asm.h
Instead of just using hardcoded numbers or resorting to ffs().
Signed-off-by: Damien Lespiau
---
assembler/gram.y | 22 +++---
1 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/assembler/gram.y b/assembler/gram.y
index aa6d709..9d58fe6 100644
--- a/assembler
Signed-off-by: Damien Lespiau
---
assembler/brw_eu.c | 16 +++---
assembler/brw_eu_debug.c | 20 +-
assembler/brw_eu_emit.c | 48 +++---
assembler/brw_eu_util.c | 18
assembler/disasm-main.c |2
Signed-off-by: Damien Lespiau
---
assembler/gen4asm.h |5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/assembler/gen4asm.h b/assembler/gen4asm.h
index 8bfbcfe..dca7f0f 100644
--- a/assembler/gen4asm.h
+++ b/assembler/gen4asm.h
@@ -34,6 +34,8 @@
#include
#include
dest_horizontal_stride needs go through the horiz_stride[] indirection
to pick up the rigth stride when its value is 11b (4 elements).
Signed-off-by: Damien Lespiau
---
assembler/brw_disasm.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/assembler/brw_disasm.c b
So when making changes in code using that function, we get warnings
about mismatches between the format string and arguments.
Signed-off-by: Damien Lespiau
---
assembler/brw_disasm.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/assembler/brw_disasm.c b/assembler
On Sun, Feb 03, 2013 at 10:13:10AM -0800, Ben Widawsky wrote:
> - The build kind of sucks on Arch because of Arch's choices regarding
> python libraries. To build this on Arch, you must run something like:
> ./autogen.sh PYTHON_LDFLAGS="-L/usr/lib/python3.3 -lpython3.3m"
Don't you have a pytho
On Mon, Feb 04, 2013 at 07:52:27PM -0200, Rodrigo Vivi wrote:
> Tests are still being built by default. However this request
> came from OSVs in order to allow them to include i-g-t in their
> distributions by default avoiding adding more and more dependencies
> since we are improving and adding mo
From: Damien Lespiau
Invoking say,
sudo ./tests/gem_render_linear_blits 1
does not make a lot of sense as we're creating a single bo. The test
does not yell at you and passes, even if the rendercopy function does
not do anything. This makes it quite harmful when trying to debug
rende
On Tue, Jan 29, 2013 at 06:13:33PM +0200, ville.syrj...@linux.intel.com wrote:
> From: Ville Syrjälä
>
> The pending flip mask no longer set anywhere, so trying to wait for
> while it's non-zero is a no-op. Remove it completely.
>
> Signed-off-by: Ville Syrjälä
Revi
ed by sampling the reset_counter before the
> flip is submitted, and then while waiting for the flip, the sampled
> counter is compared with the current reset_counter value.
>
> Signed-off-by: Ville Syrjälä
Reviewed-by: Damien Lespiau
You might want to rename reset_counter to flip_reset_cou
ng has finished.
>
> Signed-off-by: Ville Syrjälä
Reviewed-by: Damien Lespiau
--
Damien
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
On Tue, Jan 29, 2013 at 06:13:36PM +0200, ville.syrj...@linux.intel.com wrote:
> From: Ville Syrjälä
>
> Just shuffle the code around. No functional changes.
>
> Signed-off-by: Ville Syrjälä
Reviewed-by: Damien Lespiau
Mastering the art of small orthognal commits
rapper that
> grab struct_mutex and calls intel_crtc_wait_for_pending_flips_locked().
>
> This changes the behaviour of intel_crtc_wait_for_pending_flips()
> so that it now holds struct_mutex while waiting for pending flips.
>
> Signed-off-by: Ville Syrjälä
Revi
_base() to achieve the
> desired result.
>
> Signed-off-by: Ville Syrjälä
Reviewed-by: Damien Lespiau
--
Damien
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Signed-off-by: Damien Lespiau
---
drivers/gpu/drm/i915/intel_display.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/gpu/drm/i915/intel_display.c
b/drivers/gpu/drm/i915/intel_display.c
index 7635947..e7fc6e5 100644
--- a/drivers/gpu/drm/i915/intel_display.c
In order to have the tests finish in a reasonable time in certain environments,
it'd be nice to have a "quick" mode that uses low loop and buffer counts.
Of course, more tests would be converted in the long run.
--
Damien
___
Intel-gfx mailing list
In
In some environments, we don't really want to loop 10 times or
allocate 152352621 buffers because it makes the tests too long to run.
This adds a way to specify "quick" values to reduce the time taken by
certain tests.
Signed-off-by: Damien Lespiau
---
lib/d
Signed-off-by: Damien Lespiau
---
tests/gem_storedw_batches_loop.c |2 +-
tests/gem_storedw_loop_blt.c |2 +-
tests/gem_storedw_loop_bsd.c |2 +-
tests/gem_storedw_loop_render.c |2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests
tel-gen4disasm -g7 -
- { 0x00600041, 0x208077be, 0x008d03c0, 0x008d0180 },
+ { 0x00600041, 0x288077bd, 0x008d03c0, 0x008d0180 },
mul(8) m4<1>F g30<8,8,1>F g12<8,8,1>F { align1 };
mul(8) g68<1>F g30<8,8,1>F g12<8,8,1>
On Mon, Feb 04, 2013 at 03:26:55PM +, Damien Lespiau wrote:
> Hey,
>
> Some time ago, Daniel mentioned merging the assembler into intel-gpu-tools to
> lower maintenance cost and have more eyes on the code.
>
> This series is the aftermath of that with an effort to sync the
We already managed to get it out of sync (Haswell has been promoted out
of this option), so let's remove all mentions to platforms.
Signed-off-by: Damien Lespiau
---
drivers/gpu/drm/i915/i915_drv.c |4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm
Signed-off-by: Damien Lespiau
---
intel/intel_aub.h | 76 +
1 files changed, 53 insertions(+), 23 deletions(-)
diff --git a/intel/intel_aub.h b/intel/intel_aub.h
index a36fd53..5f0aba8 100644
--- a/intel/intel_aub.h
+++ b/intel/intel_aub.h
Signed-off-by: Damien Lespiau
---
intel/intel_bufmgr.h |3 +++
intel/intel_bufmgr_gem.c | 26 +-
2 files changed, 28 insertions(+), 1 deletions(-)
diff --git a/intel/intel_bufmgr.h b/intel/intel_bufmgr.h
index 8d7f239..15f818e 100644
--- a/intel/intel_bufmgr.h
No need to prepare the .aub header and dump in that case, it'll be
done with the next call with true.
Signed-off-by: Damien Lespiau
---
intel/intel_bufmgr_gem.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/intel/intel_bufmgr_gem.c b/intel/intel_bufmgr_gem.c
Signed-off-by: Damien Lespiau
---
lib/drmtest.c | 24 +---
1 files changed, 13 insertions(+), 11 deletions(-)
diff --git a/lib/drmtest.c b/lib/drmtest.c
index 117fb31..641028c 100644
--- a/lib/drmtest.c
+++ b/lib/drmtest.c
@@ -574,22 +574,24 @@ bool
Using the same environment variable as libdrm so one doesn't have to
remember two different things. This is helpful to run a test under a
fake identity, to, say, dump an aub file.
Signed-off-by: Damien Lespiau
---
lib/intel_drm.c | 14 ++
1 files changed, 10 insertions(
To not bump the dependency on libdrm for a debug feature, the use of new
libdrm symbols are gated by ENABLE_AUB_DUMP and depends on having the
next (2.4.43) libdrm release.
Signed-off-by: Damien Lespiau
---
configure.ac|6 ++
lib/drmtest.c | 10
ned-off-by: Damien Lespiau
---
lib/intel_drm.c |2 ++
tests/gem_fence_thrash.c |2 ++
tests/kms_flip.c |2 ++
tests/testdisplay.c |2 ++
tools/intel_gpu_top.c|2 ++
5 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/lib/intel_drm.c b/lib/i
This continues (and finishes for now) the series started:
http://lists.freedesktop.org/archives/intel-gfx/2013-February/024954.html
To instrument rendercopy (produce an .aub file) for use with the simulator.
___
Intel-gfx mailing list
Intel-gfx@lists.fr
nting numbers and look very
much alike.
So, when dumping an .aub file for inspection, let's fill the destination
buffer with a constant color (0xffff) and dump both src and dest bos
into bmp files.
Signed-off-by: Damien Lespiau
---
tests/gem_render_linear_blits.c | 14 +
On Thu, Feb 28, 2013 at 01:37:52PM +0800, Xiang, Haihao wrote:
> From: "Xiang, Haihao"
>
> CC eudb.o
> In file included from eudb.c:44:0:
> ../lib/drmtest.h:34:19: fatal error: cairo.h: No such file or directory
> compilation terminated.
> make[3]: *** [eudb.o] Error 1
>
> Signed-off-by: X
On Thu, Feb 14, 2013 at 07:18:41PM +, Damien Lespiau wrote:
> http://cgit.freedesktop.org/~damien/intel-gpu-tools/log/?h=assembler-rebased
As agreed on IRC and after making sure the rework doesn't introduce
regressions in our existing shaders, I've finally merged this assembl
On Fri, Mar 01, 2013 at 05:44:18PM -0300, Paulo Zanoni wrote:
> From: Paulo Zanoni
>
> Signed-off-by: Paulo Zanoni
> ---
> tools/intel_reg_dumper.c |6 +-
> 1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/tools/intel_reg_dumper.c b/tools/intel_reg_dumper.c
> index 20f33
On Tue, Mar 05, 2013 at 01:05:32PM -0300, Paulo Zanoni wrote:
> Hi
>
> 2013/3/5 Damien Lespiau :
> > On Fri, Mar 01, 2013 at 05:44:18PM -0300, Paulo Zanoni wrote:
> >> From: Paulo Zanoni
> >>
> >> Signed-off-by: Paulo Zanoni
> >> ---
> &
If TRANS_DDI_FUNC_CTL has been wrongly programmed with an incorrect
port, we are currently trying to read PORT_CLK_SEL(port) with an
initialized value.
Handle that case by returning PORT_CLK_SEL_NONE and warning about it.
Signed-off-by: Damien Lespiau
to add to first
---
drivers/gpu/drm/i915
We weren't initializing wait, which could lead to the use of a random
value from the stack in the "if (wait)" condition.
Signed-off-by: Damien Lespiau
---
drivers/gpu/drm/i915/intel_ddi.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/gpu/drm/i
Our static analysis tool noticed that 'reg' could be used uninitialized if
we are trying to get a PLL to drive VGA and SPLL is already in use
(plls->spll_refcoung != 0).
In the (error) case above, let's return false to the caller and emit an
error.
Signed-off-by: Damien Lespiau
.
Signed-off-by: Damien Lespiau
---
drivers/gpu/drm/i915/intel_display.c |8
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/drivers/gpu/drm/i915/intel_display.c
b/drivers/gpu/drm/i915/intel_display.c
index 502cb28..875baf1 100644
--- a/drivers/gpu/drm/i915
We are really talking about the transcoder function here and the disable
version uses trancoder in its name already, so let's try to be
consistent.
Signed-off-by: Damien Lespiau
---
drivers/gpu/drm/i915/intel_ddi.c |2 +-
drivers/gpu/drm/i915/intel_display.c |2 +-
drivers/gp
The port number should always be correctly set. Do the same thing as the
switch above and use BUG() to signal that branch is not supposed to be
taken.
Signed-off-by: Damien Lespiau
---
drivers/gpu/drm/i915/intel_dp.c |3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a
On Thu, Mar 14, 2013 at 12:32:00PM -0700, Kees Cook wrote:
> On Thu, Mar 14, 2013 at 9:57 AM, Daniel Vetter wrote:
> > On Wed, Mar 13, 2013 at 9:28 PM, Daniel Vetter wrote:
> >> On Tue, Mar 12, 2013 at 09:07:46AM +, Chris Wilson wrote:
> >>> On Mon, Mar 11, 2013 at 05:31:45PM -0700, Kees Cook
On Tue, Mar 12, 2013 at 05:53:01PM +, Chris Cummins wrote:
> This adds a html/js tool for visualizing GEN instruction source operand
> regions, similar to those used in the Programmer's Reference Manual. To
> use the tool, open the file assembler/gen_regions/gen_regions.html in
> your browser-o
From: Damien Lespiau
Signed-off-by: Damien Lespiau
---
lib/drmtest.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/drmtest.c b/lib/drmtest.c
index 641028c..2d4fc89 100644
--- a/lib/drmtest.c
+++ b/lib/drmtest.c
@@ -530,7 +530,7 @@ void drmtest_subtest_init(int argc
On Thu, Mar 21, 2013 at 08:14:39PM +0100, Daniel Vetter wrote:
> My original thinking behind only allowing the long option name is to
> avoid collisions with cmdline options for the test executable itself.
> E.g. when we'd teach testdisplay a few different default runs, but you
> could still dig in
)
Signed-off-by: Damien Lespiau
---
drivers/gpu/drm/i915/intel_ddi.c | 16 +++-
1 file changed, 11 insertions(+), 5 deletions(-)
diff --git a/drivers/gpu/drm/i915/intel_ddi.c b/drivers/gpu/drm/i915/intel_ddi.c
index d26147c..258e38e 100644
--- a/drivers/gpu/drm/i915/intel_ddi.c
+++ b/drivers
For early bring-up, it's useful to have a list of tests to check everything is
in order. The Makefile file is a great place to keep such a list.
The IGT_SIMULATION environment variable controls the list of tests to run
(either with make test/check or with piglit) and allows us to tune the various
To be a bit more correct (they were understandable though).
Signed-off-by: Damien Lespiau
---
README | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/README b/README
index be29177..c484a93 100644
--- a/README
+++ b/README
@@ -27,17 +27,17 @@ tests/
Run this
It's more accurate this way as the quick mode is really useful for in
the simulation environment.
Signed-off-by: Damien Lespiau
---
lib/drmtest.c | 10 +-
lib/drmtest.h | 4 ++--
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/lib/drmtest.c b/lib/drmtest.c
index a6
don't make
too much sense in simulation.
Signed-off-by: Damien Lespiau
---
tests/Makefile.am | 43 ---
1 file changed, 40 insertions(+), 3 deletions(-)
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 2fddfe8..33db962 100644
--- a/tests/Makefile
Signed-off-by: Damien Lespiau
---
tests/gem_cpu_reloc.c | 3 +++
tests/gem_ctx_basic.c | 5 +
tests/gem_exec_nop.c| 2 +-
tests/gem_mmap_gtt.c| 5 -
tests/gem_pipe_control_store_loop.c | 2 +-
tests/gem_render_linear_blits.c
-q will prevent grep from writing to stdout and print "root" when make
test is running as root.
Signed-off-by: Damien Lespiau
---
tests/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 33db962..d32e944 100644
-
tree [1], where the iterator is in use already.
>
> [1] git://people.freedesktop.org/~danvet/drm-intel [nightly branch]
>
> Imre Deak (2):
> lib/scatterlist: sg_page_iter: support sg lists w/o backing pages
> Revert "drm/i915: set dummy page for stolen objects&quo
ktop.org/show_bug.cgi?id=59626
> References: https://bugs.freedesktop.org/show_bug.cgi?id=59627
> References: https://bugs.freedesktop.org/show_bug.cgi?id=59631
> Signed-off-by: Chris Wilson
Reviewed-by: Damien Lespiau
Maybe rename the mentions to "shadow page" to scratch page as it
On Tue, Apr 02, 2013 at 10:06:37AM -0700, Ben Widawsky wrote:
> > [Sun, Yi] So what's the conclusion, how can I do to solve the too long time
> > issue?
> > I noticed Damien's patches aren't on the branch yet.
> > If we want to split all i-g-t test cases to different HAS, how can we split
> > it?
c6229cb38664754dffe8776
> Author: Daniel Vetter
> Date: Thu Mar 28 10:42:00 2013 +0100
> drm/i915: add hw state readout/checking for pipe_config
>
> Signed-off-by: Paulo Zanoni
Reviewed-by: Damien Lespiau
--
Damien
___
Intel
01 2013 +0100
> drm/i915: hw readout support for ->has_pch_encoders
>
> Signed-off-by: Paulo Zanoni
Reviewed-by: Damien Lespiau
--
Damien
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
On Thu, Apr 18, 2013 at 04:35:42PM -0300, Paulo Zanoni wrote:
> From: Paulo Zanoni
>
> This should replace intel_using_power_well. The idea is that we're
> adding the requested power domain as an argument, so this might enable
> the code to look less platform-specific and also allows us to easily
On Thu, Apr 18, 2013 at 04:35:43PM -0300, Paulo Zanoni wrote:
> From: Paulo Zanoni
>
> We need to dump these registers if we want to properly interpret the
> others.
>
> Signed-off-by: Paulo Zanoni
Reviewed-by: Damien Lespiau
--
Damien
___
M_NOCLAIM bit.
>
> Signed-off-by: Paulo Zanoni
Reviewed-by: Damien Lespiau
--
Damien
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
On Thu, Apr 18, 2013 at 04:35:45PM -0300, Paulo Zanoni wrote:
> From: Paulo Zanoni
>
> This fixes "unclaimed register" messages when the power well is
> disabled and there's a GPU hang.
>
> v2: Use the new intel_display_power_enabled().
>
> Signed-off-by: Paulo Zanoni
> ---
> drivers/gpu/drm/
ld_vld to false after the mode_set function.
> V3: Add both "type != INTEL_OUTPUT_EDP" requested.
>
> Signed-off-by: Paulo Zanoni
(having read back the original comments from Daniel and Ville)
Reviewed-by: Damien Lespiau
--
Damien
___
I
From: Damien Lespiau
We are trying to have more platform-orthogonal pieces of code. The DDI
code shouldn't mention Haswell.
Signed-off-by: Damien Lespiau
---
drivers/gpu/drm/i915/intel_ddi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/intel_dd
We are trying to have more platform-orthogonal pieces of code. The DDI
code shouldn't mention Haswell.
v2: Fix the email address
Signed-off-by: Damien Lespiau
---
drivers/gpu/drm/i915/intel_ddi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm
Those registers are not used, let's not keep them around for no reason.
Signed-off-by: Damien Lespiau
---
drivers/gpu/drm/i915/i915_reg.h | 5 -
1 file changed, 5 deletions(-)
diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h
index 60e0e19..a766d86 100644
Hi,
We had a few places (3) to update every time we wanted to add a device info
flag, somewhat error prone. With this series we just need to touch
DEV_INFO_FOR_EACH_FLAG() to add a flag (patches 1-3).
On top of that, I add two more flags, has_ddi (patch 4) and has_fpga_dbg
(patches 5/6), flags th
DEV_INFO_FOR_FLAG() now takes 2 parameters:
• A function to apply to the flag
• A separator
This will allow us to use the macro twice in the DRM_DEBUG_DRIVER() call
of i915_dump_device_info().
Signed-off-by: Damien Lespiau
---
drivers/gpu/drm/i915/i915_debugfs.c | 8 +++---
drivers/gpu
This way, when adding a device flag we don't have to manually maintain
that list.
Signed-off-by: Damien Lespiau
---
drivers/gpu/drm/i915/i915_dma.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/i915_dma.c b/drivers/gpu/drm/i915/i915_dma.c
1001 - 1100 of 2567 matches
Mail list logo