History log of /external/mesa3d/src/gallium/drivers/nouveau/nvc0/nvc0_surface.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
75e6992379b239c618931925122a5d724d45e385 11-Dec-2016 Samuel Pitoiset <samuel.pitoiset@gmail.com> nvc0: use sched control codes for gm107 blitter shader

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Pierre Moreau <pierre.morrow@free.fr>
Acked-by: Ilia Mirkin <imirkin@alum.mit.edu>
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/nvc0_surface.c
652874754a0afd0aefa16dd65afcf85842885945 27-Sep-2016 Samuel Pitoiset <samuel.pitoiset@gmail.com> nvc0: update GM107 sched control codes format

envyas now uses a much better representation for those control
codes and it displays the different flags instead of an
unreadable hex number.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/nvc0_surface.c
163a029eba9aa73e3c0b624a3067218a01a3e47b 03-Sep-2016 Ilia Mirkin <imirkin@alum.mit.edu> nv50,nvc0: respect render condition enable flag when clearing rt/zs

This is a newly added flag. We always pass false into it from
nv50_clear_texture, but other callers may want to respect the render
condition. (And the functions were originally spec'd to respect it.)

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/nvc0_surface.c
a909210131494a6a131855d7d344b61b81fbf40e 09-Aug-2016 Marek Olšák <marek.olsak@amd.com> gallium: add render_condition_enable param to clear_render_target/depth_stencil

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/nvc0_surface.c
b21a00d1295d721275946e045e92920acdcb1a85 12-Jun-2016 Ilia Mirkin <imirkin@alum.mit.edu> nvc0: add support for GL_EXT_window_rectangles

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/nvc0_surface.c
fb523cb6ad3ffef22ab4b9cce9e53859c17c5739 16-Apr-2016 Marek Olšák <marek.olsak@amd.com> gallium: merge PIPE_SWIZZLE_* and UTIL_FORMAT_SWIZZLE_*

Use PIPE_SWIZZLE_* everywhere.
Use X/Y/Z/W/0/1 instead of RED, GREEN, BLUE, ALPHA, ZERO, ONE.
The new enum is called pipe_swizzle.

Acked-by: Jose Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/nvc0_surface.c
cdb6fa91fa79c0c9a796730e9ecae320bebdb825 23-Jan-2016 Ilia Mirkin <imirkin@alum.mit.edu> nvc0: handle the case where there are no framebuffer attachments

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/nvc0_surface.c
b9f1affb2e52a7a75d968af117a03b01866546cb 28-Mar-2016 Ilia Mirkin <imirkin@alum.mit.edu> nvc0: make sure to disable fetches from previously-set VBOs when blitting

We disable the vertex attributes, but also disable the VBO fetch details
as well, just in case. Not known to fix anything.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/nvc0_surface.c
41100b6b44e747b9003937f123fce571fd3dec46 27-Mar-2016 Ilia Mirkin <imirkin@alum.mit.edu> nvc0: disable primitive restart and index bias during blits

Back in the dawn of time, we used to do immediate uploads for the vertex
data, and all was well. However Maxwell dropped support for immediate
vertex data, so we started feeding in a VBO (in all cases). But we
forgot to disable some things that apply in such cases, specifically
primitive restart and index bias. The latter was causing WoW and other
Blizzard games trouble as they use a pattern where they draw with a base
vertex (aka index bias), followed by texture uploads (aka blits,
internally).

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91526
Cc: "11.1 11.2" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Tested-by: Karol Herbst <nouveau@karolherbst.de>
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/nvc0_surface.c
a651bc027d5ed4150bb5240fc9f46a6ca569f665 12-Mar-2016 Ilia Mirkin <imirkin@alum.mit.edu> nvc0: fix blit triangle size to fully cover FB's > 8192x8192

The idea is that a single triangle will cover the whole area being
drawn, allowing the blit shader to do its work. However the max fb size
is 16384x16384, which means that the triangle we draw needs to be twice
that in order to cover the whole area fully. Increase the size of the
triangle to 32768x32768.

This fixes a number of dEQP tests that were failing because a blit was
involved which would miss some of the resulting texture.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: "11.1 11.2" <mesa-stable@lists.freedesktop.org>
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/nvc0_surface.c
db9b41d3020452c71728995f39f5fc0bad2f3b1d 08-Mar-2016 Samuel Pitoiset <samuel.pitoiset@gmail.com> nvc0: rework the validation path for 3D

This exposes an interface for state validation that will be also used
to rework the compute validation path.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/nvc0_surface.c
752769e0531bc9b15e95a2bb2250dc0970b1a421 08-Mar-2016 Samuel Pitoiset <samuel.pitoiset@gmail.com> nv50,nvc0: make sure to destroy the mutex used for blits

This mutex is initialized when the blitter is created, but it is never
destroyed. This doesn't hurt anything but it makes sense to destroy it
at blitter deletion.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/nvc0_surface.c
2999257e0fe703f73d32620fed88040d29ac5bac 21-Feb-2016 Samuel Pitoiset <samuel.pitoiset@gmail.com> nvc0: rename 3d binding points to NVC0_BIND_3D_XXX

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/nvc0_surface.c
9c6a7bfb4060264f02830d6ca5e56511546e7078 21-Feb-2016 Samuel Pitoiset <samuel.pitoiset@gmail.com> nvc0: rename 3d dirty flags to NVC0_NEW_3D_XXX

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/nvc0_surface.c
5330ed959e8e047495191ebe1a72dd54347cc004 21-Feb-2016 Samuel Pitoiset <samuel.pitoiset@gmail.com> nvc0: rename nvc0_context::dirty to nvc0_context::dirty_3d

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/nvc0_surface.c
c999736c186ff7ef89f22547bd12eabff8f0dc62 15-Feb-2016 Ben Skeggs <bskeggs@redhat.com> nvc0: switch nvc0_surface.c to updated g80_texture.xml.h

Verified (binary diff) to produce identical code.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Acked-by: Ilia Mirkin <imirkin@alum.mit.edu>
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/nvc0_surface.c
546ccf3f8215b9546f20e38cea4afbda9bce6b44 15-Feb-2016 Ben Skeggs <bskeggs@redhat.com> nvc0: switch nvc0_surface.c to updated g80_defs.xml.h

Verified (binary diff) to produce identical code.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Acked-by: Ilia Mirkin <imirkin@alum.mit.edu>
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/nvc0_surface.c
d759f0ddf10543def4bde985fb1fc38f0df5a681 11-Feb-2016 Samuel Pitoiset <samuel.pitoiset@gmail.com> nv50,nvc0: remove unused parameter in nvXX_state_validate()

This 'words' parameter is there since 2011 but it has never been used.
While we are at it, get rid of the extern declaration.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/nvc0_surface.c
3ca2001b537a2709e7ef60410e7dfad5d38663f4 30-Jan-2016 Ilia Mirkin <imirkin@alum.mit.edu> nv50,nvc0: fix buffer clearing to respect engine alignment requirements

It appears that the nvidia render engine is quite picky when it comes to
linear surfaces. It doesn't like non-256-byte aligned offsets, and
apparently doesn't even do non-256-byte strides.

This makes arb_clear_buffer_object-unaligned pass on both nv50 and nvc0.

As a side-effect this also allows RGB32 clears to work via GPU data
upload instead of synchronizing the buffer to the CPU (nvc0 only).

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> # tested on GF108, GT215
Tested-by: Nick Sarnie <commendsarnex@gmail.com> # GK208
Cc: mesa-stable@lists.freedesktop.org
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/nvc0_surface.c
109c348284843054f708f4403260739b7db18275 28-Dec-2015 Ilia Mirkin <imirkin@alum.mit.edu> nvc0: don't forget to reset VTX_TMP bufctx slot after blit completion

Also release the scratch allocation if any.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: "11.0 11.1" <mesa-stable@lists.freedesktop.org>
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/nvc0_surface.c
ea33920f7ed3a4100c921db563dc998e0ca24aad 01-Dec-2015 Samuel Pitoiset <samuel.pitoiset@gmail.com> nv50,nvc0: allow to create resources other than buffers

For the compute support, we might stick buffers as surfaces. This fixes
an assertion when executing src/gallium/tests/trivial/compute.

To avoid using these "restricted" surfaces as render targets, these
assertions have been moved. Note that it's already handled for the
framebuffer thing on nvc0.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/nvc0_surface.c
ff17b3ccf4f8d9f989cc975cd0e11716ff48bc1d 15-Nov-2015 Ilia Mirkin <imirkin@alum.mit.edu> nv50,nvc0: disable render condition around clear_* functions

Only the regular "clear" call is supposed to respect the render
condition. The rest should ignore it.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/nvc0_surface.c
c4182bb9b0897b4a4ac4f06b54fc7f6a2ddeb105 09-Nov-2015 Ilia Mirkin <imirkin@alum.mit.edu> nv50,nvc0: add ARB_clear_texture support

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/nvc0_surface.c
d68226087cf5f2f686d6c8f3377c5a1dec3d8bc4 06-Nov-2015 Ilia Mirkin <imirkin@alum.mit.edu> nvc0: reintroduce BGRA4 format support

Commit 342e68dc60 (nvc0: remove BGRA4 format support) removed the
support to fix a WoW trace. However after further experimentation, I was
able to get the blit to work by using a different "fake" format in the
2d engine.

The reason why this worked on nv50 is that nv50 falls back to the 3d
blit path in case either the src or the dst aren't "faithfully"
supported, while nvc0 only does it for the dst format. RG8 is better
supported by the nvc0 2d engine than R16.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/nvc0_surface.c
67635a0a713e54939f1f72ba8db2b3099988a925 01-Nov-2015 Ilia Mirkin <imirkin@alum.mit.edu> nouveau: get rid of tabs

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/nvc0_surface.c
ebbd7b41c0be8666f47b06cb83ae5e5117088ea1 28-Oct-2015 Ilia Mirkin <imirkin@alum.mit.edu> nvc0: add ARB_copy_image support

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/nvc0_surface.c
abbf05cfc2bea0787bcf710ef984d73ee8ba8f9e 23-Aug-2015 Ilia Mirkin <imirkin@alum.mit.edu> nv50,nvc0: disable depth bounds test on blit

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: "11.0" <mesa-stable@lists.freedesktop.org>
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/nvc0_surface.c
2514c78fba507ca8ab94d2e6de553b8b20d653d2 16-Aug-2015 Ilia Mirkin <imirkin@alum.mit.edu> nv50,nvc0: take level into account when doing eng2d multi-layer blits

This fixes arb_get_texture_sub_image-get, and any situation where the 2d
engine was being used for multi-layer blits to a non-0 level.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: "10.6" <mesa-stable@lists.freedesktop.org>
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/nvc0_surface.c
a2a1a5805fd617e7f3cc8be44dd79b50da07ebb9 21-Jul-2015 Ilia Mirkin <imirkin@alum.mit.edu> gallium: replace INLINE with inline

Generated by running:
git grep -l INLINE src/gallium/ | xargs sed -i 's/\bINLINE\b/inline/g'
git grep -l INLINE src/mesa/state_tracker/ | xargs sed -i 's/\bINLINE\b/inline/g'
git checkout src/gallium/state_trackers/clover/Doxyfile

and manual edits to
src/gallium/include/pipe/p_compiler.h
src/gallium/README.portability

to remove mentions of the inline define.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Acked-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/nvc0_surface.c
cd0dec0d9dfab642c51774c3f5788cbdf00b8c9b 20-Jul-2015 Samuel Pitoiset <samuel.pitoiset@gmail.com> nouveau: use bool instead of boolean

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Acked-by: Ilia Mirkin <imirkin@alum.mit.edu>
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/nvc0_surface.c
ec151e2f72bd4a239573770aea563d47d0268708 06-Jul-2015 Samuel Pitoiset <samuel.pitoiset@gmail.com> nvc0: fix wrong use of BLIT_SRC_Y_INT for 2D texture copy

According to nv50, this should be src->ms_y instead of src->ms_x. This
code is here since 2012, so it's probably a typo error which has never
been detected since a long time. I didn't do a full piglit run to check
if it fixes some other weird issues.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/nvc0_surface.c
38c2ec5ff0bf626578db7b84387279342aa48844 08-Jul-2015 Ilia Mirkin <imirkin@alum.mit.edu> nvc0: turn sample counts off during blit

Fixes the following piglits:
occlusion_query_meta_fragments
occlusion_query_meta_no_fragments

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: mesa-stable@lists.freedesktop.org
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/nvc0_surface.c
7892210400e8f3bd14697c0a3dd56e98454a45df 09-May-2015 Ilia Mirkin <imirkin@alum.mit.edu> nvc0: reset the instanced elements state when doing blit using 3d engine

Since we update num_vtxelts here, we could otherwise end up with stale
instancing information in the upper bits which wouldn't otherwise get
reset. (Also we run the risk of the previous draw having set the first
element as instanced.)

This appears as one of the causes for the test pointed out in fdo#90363
to fail on nvc0.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=90363
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: mesa-stable@lists.freedesktop.org
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/nvc0_surface.c
68e4f3f572b1e629f32a73ae618dc0b016f631b1 14-Feb-2015 Ilia Mirkin <imirkin@alum.mit.edu> nvc0: bail out of 2d blits with non-A8_UNORM alpha formats

This fixes the teximage-colors uploads with GL_ALPHA format and
non-GL_UNSIGNED_BYTE type.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: "10.4 10.5" <mesa-stable@lists.freedesktop.org>
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/nvc0_surface.c
72283020093525ca5248d7f408e88b0bcba1e52b 31-Dec-2014 Ilia Mirkin <imirkin@alum.mit.edu> nvc0: regenerate rnndb headers

The headers hadn't been regenerated in a long time and had seen a number
of manual modifications. A few changes:
- remove nvc0_2d entirely, use the nv50 header which has the nvc0
values too
- remove 3ddefs, it's identical to the nv50 file
- move macros out into a separate file

Also the upstream rnndb changed the overall chip naming convention; this
was fixed up manually in the generated files until a better solution is
determined.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/nvc0_surface.c
9019e5e19532fe214fc6e45b9ee1f60bbe332456 22-Sep-2014 Matt Turner <mattst88@gmail.com> Remove useless checks for NULL before freeing

See commits 5067506e and b6109de3 for the Coccinelle script.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/nvc0_surface.c
a2fc85f5d0ffe4e46234bebcf24c5d24c5754b44 16-Aug-2014 Tobias Klausmann <tobias.johannes.klausmann@mni.thm.de> nvc0: Handle ARB_conditional_render_inverted and enable it

Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Tobias Klausmann <tobias.johannes.klausmann@mni.thm.de>
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/nvc0_surface.c
7e7097a4f41caf311c98caae0ff7ebb1c5bc77ca 15-Jun-2014 Ilia Mirkin <imirkin@alum.mit.edu> nvc0: remove vport_int hack and instead use the usual state validation

Commit ad4dc772 fixed an issue with the viewport not being restored
correctly. However it's rather hackish and confusing. Instead just mark
the viewport dirty and let the viewport validation take care of it.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/nvc0_surface.c
a2cb3a4a4fa5f22e983ac6081b22a04594c7a10a 15-Jun-2014 Tobias Klausmann <tobias.johannes.klausmann@mni.thm.de> nvc0: implement multiple viewports/scissors, enable ARB_viewport_array

Signed-off-by: Tobias Klausmann <tobias.johannes.klausmann@mni.thm.de>
[imirkin: mark things dirty on ctx switch, 3d blit]
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/nvc0_surface.c
b9ec766bd02d55c20ff7ce5b95207ea7f6ed1de5 06-Jun-2014 Ilia Mirkin <imirkin@alum.mit.edu> gk110: add in forgotten code for gk110 isa

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Ben Skeggs <bskeggs@redhat.com>
Cc: "10.2" <mesa-stable@lists.freedesktop.org>
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/nvc0_surface.c
a26e2bc2e3578b50bd581c8f8d8e3c428c85158f 27-May-2014 Tobias Klausmann <tobias.johannes.klausmann@mni.thm.de> nvc0: implement clear_buffer

Provide an accelerated path for ARB_clear_buffer_object

Signed-off-by: Tobias Klausmann <tobias.johannes.klausmann@mni.thm.de>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/nvc0_surface.c
28360fcad75a6917db6af42fb17b81572850ec0d 18-May-2014 Ilia Mirkin <imirkin@alum.mit.edu> nv50,nvc0: fix 3d blits with mipmap levels

Make sure to normalize the z coordinates as well as the x/y ones when
there are mipmaps present. Fixes 3d mipmap generation, which now uses
the blit path.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: "10.2" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Ben Skeggs <bskeggs@redhat.com>
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/nvc0_surface.c
9c64cb80d29bb779a99f5a32b0974e8f92e8c902 09-May-2014 Ben Skeggs <bskeggs@redhat.com> nvc0: enable support for maxwell boards

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/nvc0_surface.c
c42d7556d3343c41977a2852d0c9028fd01a4c86 09-May-2014 Ben Skeggs <bskeggs@redhat.com> nvc0: use vertex arrays for eng3d blit

Maxwell doesn't have immediate-mode.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/nvc0_surface.c
4467c0c9fbf2c13b6c73a002e8247448ee12d4c4 03-May-2014 Ilia Mirkin <imirkin@alum.mit.edu> nv50,nvc0: leave queries on during blit, turn them on for 2d engine

Fixes the new logic of the conditional rendering piglit test.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Ben Skeggs <bskeggs@redhat.com>
Cc: "10.2" <mesa-stable@lists.freedesktop.org>
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/nvc0_surface.c
af38ef907c89ecb1125bf258cafa0793f79a5eb7 21-Apr-2014 Ilia Mirkin <imirkin@alum.mit.edu> nvc0: add support for PIPE_CAP_SAMPLE_SHADING

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/nvc0_surface.c
47c19a5819444728b8662da4a0dbd5ca9af4698a 18-Apr-2014 Ilia Mirkin <imirkin@alum.mit.edu> nvc0: change logic for centering of eng2d blit when downsampling

We want to center the sample. The old code may have been correct given
the limited values of ms_x/y, but the new logic should be more
intuitive. Note that ms_x can only be 1/2 and ms_y can only be 0/1.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/nvc0_surface.c
897f40f25d21af678b1b67c1a68c4a6722d19983 09-Mar-2014 Ilia Mirkin <imirkin@alum.mit.edu> Revert nvc0 part of "nv50: adjust blit_3d handling of ms output textures"

The nvc0 bits don't appear to work, and I thought I had removed them
from the commit. Oops.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: "10.0 10.1" <mesa-stable@lists.freedesktop.org>
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/nvc0_surface.c
253314d4872ab4c4f01c0f1cd31ce4b71877ec30 06-Mar-2014 Ilia Mirkin <imirkin@alum.mit.edu> nv50: adjust blit_3d handling of ms output textures

This fixes some unwanted scaling when the output is multisampled.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Christoph Bumiller <e0425955@student.tuwien.ac.at>
Cc: "10.0 10.1" <mesa-stable@lists.freedesktop.org>
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/nvc0_surface.c
250e7c835e6330cc792cbbb8ebff8b40daea724b 12-Jan-2014 Ilia Mirkin <imirkin@alum.mit.edu> nvc0: don't forget to also clear additional layers

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/nvc0_surface.c
e05de038bf651220b529c386d88039636aacd410 17-Jan-2014 Ilia Mirkin <imirkin@alum.mit.edu> nv50, nvc0: only clear out the buffers that we were asked to clear

Fixes fbo-drawbuffers-none glClearBuffer piglit test.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/nvc0_surface.c
419cd5f2a24b87d31a2fd9dd9b7d0025b4f5515c 20-Sep-2013 Marek Olšák <marek.olsak@amd.com> gallium: add flush_resource context function

r600g needs explicit flushing before DRI2 buffers are presented on the screen.

v2: add (stub) implementations for all drivers, fix frontbuffer flushing
v3: fix galahad

Signed-off-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/nvc0_surface.c
5eb7ff1175a644ffe3b0f1a75cb235400355f9fb 20-Aug-2013 Johannes Obermayr <johannesobermayr@gmx.de> Move nv30, nv50 and nvc0 to nouveau.

It is planned to ship openSUSE 13.1 with -shared libs.
nouveau.la, nv30.la, nv50.la and nvc0.la are currently LIBADDs in all nouveau
related targets.
This change makes it possible to easily build one shared libnouveau.so which is
then LIBADDed.
Also dlopen will be faster for one library instead of three and build time on
-jX will be reduced.

Whitespace fixes were requested by 'git am'.

Signed-off-by: Johannes Obermayr <johannesobermayr@gmx.de>
Acked-by: Christoph Bumiller <christoph.bumiller@speed.at>
Acked-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/nvc0_surface.c