Hi, I sent a similar patch yesterday with:
+ if (chain->has_dri3_modifiers &&
+ image->base.drm_modifier != DRM_FORMAT_MOD_INVALID) {
but was rejected by bas and never got into the mail list...
If the jason's patch is going to be the good patch I would like to
have some aknowlegment in th
According to Vulkan spec:
"pColorBlendState is a pointer to an instance of the
VkPipelineColorBlendStateCreateInfo structure, and is ignored if the
pipeline has rasterization disabled or if the subpass of the render pass the
pipeline is created against does not use any color attachments
Hi;
On 05/05/2018 01:27 AM, Rhys Perry wrote:
CC:
These changes look correct to me and it looks cleaner with the common
validate function. Do you know some app or test that got fixed by these
changes?
Signed-off-by: Rhys Perry
---
src/mesa/main/fbobject.c | 72
Virgl/virglrenderer implements the gallium clear command via a call to
glClear. However, gallium clear does not take render states like e.g.
RASTERIZER_DISCARD into account, but glClear does, and gallium st_Clear
does not updated the latest rendering state on the host. Hence, in order
to properly e
On Thu, May 03, 2018 at 12:03:51PM -0700, Nanley Chery wrote:
> The indirect clear color isn't correctly tracked in
> intel_miptree::fast_clear_color. The initial value of ::fast_clear_color
> is zero, while that of the indirect clear color is undefined or
> non-zero.
>
> Topi Pohjolainen discover
On Fri, May 04, 2018 at 11:04:40AM -0700, Nanley Chery wrote:
> On Fri, May 04, 2018 at 10:00:32AM -0700, Nanley Chery wrote:
> > On Fri, May 04, 2018 at 09:42:34AM -0700, Nanley Chery wrote:
> > > On Thu, May 03, 2018 at 12:03:50PM -0700, Nanley Chery wrote:
> > > > Add infrastructure for initiali
Am 02.05.2018 um 16:51 schrieb Leo Liu:
mpv now interop with video surface instead of output surface previously,
so it fails with "vlVdpVideoSurfaceDMABuf", this's fine for Mesa GL, since
the code path will fall back to "vlVdpVideoSurfaceGallium", but this's
not the case for others
Signed-off-by
Quoting Lionel Landwerlin (2018-05-06 15:12:12)
> Reviewed-by: Lionel Landwerlin
Thank you for the reviews, pushed.
-Chris
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev
On 01.05.2018 18:13, Gert Wollny wrote:
Am Dienstag, den 01.05.2018, 11:57 +0200 schrieb Nicolai Hähnle:
So the GLSL transforms don't already do this? Interesting... anyway,
seems a nice improvement,
When I first sent this patch stand-alone there were some comments about
this:
https://patc
Mesa 18.0.3 is now available.
The is a fairly small release consisting of patches to fix leaks in RADV and
Winsys,
fix deadlock in internal queue, fix issues with ANV allocator, fix blit setup
for
YUV LoadImage, and some other patches.
Andres Rodriguez (1):
radv/winsys: fix leaking resou
The configure.ac logic added in commit
2ef7f23820a67e958c2252bd81eb0458903ebf33 ("configure: check if
-latomic is needed for __atomic_*") makes the assumption that if a
64-bit atomic intrinsic test program fails to link without -latomic,
it is because we must use -latomic.
Unfortunately, this is n
On 01.05.2018 17:46, Gert Wollny wrote:
Am Dienstag, den 01.05.2018, 12:38 +0200 schrieb Nicolai Hähnle:
First some high-level remarks:
Why is `finalized` necessary? The `finalize` operation should be
idempotent, i.e. if you call if twice in a row, the second time
should be a no-op.
It actual
On 02.05.2018 06:13, Marek Olšák wrote:
From: Marek Olšák
---
src/gallium/drivers/radeonsi/si_state.c | 3 -
src/gallium/drivers/radeonsi/si_state_msaa.c | 154 ---
2 files changed, 98 insertions(+), 59 deletions(-)
diff --git a/src/gallium/drivers/radeonsi/si_state.
On 02.05.2018 06:13, Marek Olšák wrote:
From: Marek Olšák
Discovered by luck. Verified with the piglit MSAA accuracy test.
It also shows that the worst case EQAA 16s4f results in very good 4x MSAA
in the worst case.
Nine might not like these positions, but they are prettier to the eye and
GL d
On 02.05.2018 06:13, Marek Olšák wrote:
From: Marek Olšák
This results in better 16x and 8x quality when using these locations.
Verified with the piglit MSAA accuracy test.
How did you come up with those? :)
Reviewed-by: Nicolai Hähnle
---
src/gallium/drivers/radeonsi/si_state_msaa.c |
On 02.05.2018 06:13, Marek Olšák wrote:
From: Marek Olšák
Verified with the piglit MSAA accuracy test.
Reviewed-by: Nicolai Hähnle
---
src/gallium/drivers/radeonsi/si_state_msaa.c | 32 +++-
1 file changed, 11 insertions(+), 21 deletions(-)
diff --git a/src/gallium/dri
https://bugs.freedesktop.org/show_bug.cgi?id=106180
--- Comment #16 from Eero Tamminen ---
Jason's patch: https://patchwork.freedesktop.org/patch/220799/
--
You are receiving this mail because:
You are the assignee for the bug.___
mesa-dev mailing lis
On Thu, May 03, 2018 at 12:03:53PM -0700, Nanley Chery wrote:
> We have enough information to determine the optimal flags internally.
> ---
> src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 29
> +--
> 1 file changed, 14 insertions(+), 15 deletions(-)
>
> diff --git a/src
Very nice. We should probably think about exposing this as a more
generally available performance knob if you're confident enough that it
works.
On 03.05.2018 00:42, Marek Olšák wrote:
FYI, the environment variable will only have effect on amdgpu.
If I understand the code correctly, the env
On 01.05.2018 22:48, Marek Olšák wrote:
+**nr_color_samples**: This is the number of color samples for
EQAA, while
+``nr_samples`` is the number of coverage samples. If the format
is Z/S,
+``nr_color_samples`` is ignored. Constraints:
+* ``nr_color_
Based on reports from other Raven users, it may be worth trying to
update your kernel.
Apart from that, the only way to help you would be if you submit a
proper bugreport on freedesktop bugzilla where you clearly explain
- when the lockup happened and how to reproduce it
- exactly which versi
Hi,
On 04.05.2018 22:06, Eleni Maria Stea wrote:
On Fri, 4 May 2018 18:29:55 +0300
Eero Tamminen wrote:
You mean returning CAVEAT_SUPPORT in params for compressed formats
which are transparently converted to uncompressed data?
Well, that would be the best solution I think, if it's possible
On Thu, May 03, 2018 at 12:03:55PM -0700, Nanley Chery wrote:
> We're going to delete intel_miptree_alloc_ccs() in the next commit. With
> that in mind, replace the use of this function in
> do_single_blorp_clear() with intel_miptree_alloc_aux() and move the
> delayed allocation logic to it's calle
On 05/07/2018 05:10 AM, Christian König wrote:
Am 02.05.2018 um 16:51 schrieb Leo Liu:
mpv now interop with video surface instead of output surface previously,
so it fails with "vlVdpVideoSurfaceDMABuf", this's fine for Mesa GL,
since
the code path will fall back to "vlVdpVideoSurfaceGallium
On 04.05.2018 08:34, Jan Vesely wrote:
The original bug/corruption was by util_unreference_framebuffer_state,
trying to drop reference on cbuf[0] (global AS for OCL).
Adding reference counting to set_rat uncovered problems with acessing the
pool->bo.
Also drops leaked memory from 7,4kB to 1,7Kb
Reviewed-by: Nicolai Hähnle
On 04.05.2018 08:34, Jan Vesely wrote:
Signed-off-by: Jan Vesely
---
src/gallium/drivers/r600/evergreen_compute.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/gallium/drivers/r600/evergreen_compute.c
b/src/gallium/drivers/r600/everg
On Thu, May 03, 2018 at 12:03:56PM -0700, Nanley Chery wrote:
> There isn't much that changes between the aux allocation functions.
> Remove the duplicated code.
> ---
> src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 227
> +++---
> src/mesa/drivers/dri/i965/intel_mipmap_tree
Am 07.05.2018 um 15:03 schrieb Leo Liu:
On 05/07/2018 05:10 AM, Christian König wrote:
Am 02.05.2018 um 16:51 schrieb Leo Liu:
mpv now interop with video surface instead of output surface
previously,
so it fails with "vlVdpVideoSurfaceDMABuf", this's fine for Mesa GL,
since
the code path wi
On 05/07/2018 09:14 AM, Christian König wrote:
Am 07.05.2018 um 15:03 schrieb Leo Liu:
On 05/07/2018 05:10 AM, Christian König wrote:
Am 02.05.2018 um 16:51 schrieb Leo Liu:
mpv now interop with video surface instead of output surface
previously,
so it fails with "vlVdpVideoSurfaceDMABuf",
On 04.05.2018 20:32, Daniel Schürmann wrote:
This functionality is currently disabled due to a bug in LLVM.
The idea of this implementation is taken from the ROCm Device Libs:
https://github.com/RadeonOpenCompute/ROCm-Device-Libs/blob/master/ockl/src/wfredscan.cl
---
src/amd/common/ac_llvm_buil
Reviewed-by: Jason Ekstrand
Have you audited to ensure that we don't actually use it in this case?
On Mon, May 7, 2018 at 1:01 AM, Samuel Iglesias Gonsálvez <
sigles...@igalia.com> wrote:
> According to Vulkan spec:
>
> "pColorBlendState is a pointer to an instance of the
>VkPipelineColor
Jan Vesely wrote on 02.05.2018 22:38:
> On Wed, 2018-05-02 at 18:38 +0200, Kai Wasserbäch wrote:
>> [...]
>
> Thank for looking into this. We probably need CLANG_LIBS handling
> similar to LLVM_LIBS. I agree this is the best fix for now.
>
> Acked-by: Jan Vesely
>
> libclang.so might be a solku
Hi,
On 05.05.2018 03:56, James Xiong wrote:
From: "Xiong, James"
With the current implementation, brw_bufmgr may round up a request
size to the next bucket size, result in 25% more memory allocated in
the worst senario. For example:
Request sizeActual size
32KB+1Byte 40KB
.
8MB+1Byte
More nit-picks below.
On 05/04/2018 06:09 AM, Rhys Perry wrote:
Signed-off-by: Rhys Perry
---
src/mesa/state_tracker/st_atom_framebuffer.c | 64
src/mesa/state_tracker/st_cb_msaa.c | 22 ++
src/mesa/state_tracker/st_extensions.c | 1 +
A bunch of nit-picks below.
On 05/04/2018 06:09 AM, Rhys Perry wrote:
Signed-off-by: Rhys Perry
---
src/mapi/glapi/gen/gl_API.xml | 52 +++
src/mesa/main/config.h | 7 +
src/mesa/main/dd.h | 7 +
src/mesa/main/extensions_table.h
On 05/04/2018 06:09 AM, Rhys Perry wrote:
Signed-off-by: Rhys Perry
---
src/gallium/auxiliary/cso_cache/cso_context.c| 31 +++
src/gallium/auxiliary/cso_cache/cso_context.h| 5
src/gallium/auxiliary/util/u_framebuffer.c | 32
Gen4-5 traditionally don't use GEM context support, which means that
the PS_DEPTH_COUNT register isn't saved/restored for us across batches.
This means that we have to bookend each batch with start/end snapshots,
and add deltas from a series of pairs, instead of simply having a single
pair. Much
On Mon, May 7, 2018 at 8:02 AM, Alejandro Piñeiro
wrote:
> Hi Jason,
>
> as part of the ARB_gl_spirv work, we are doing the linking based on the
> nir shader that comes from spirv_to_nir. On some cases,
> nir_lower_wpos_ytransform introduces a new uniform,
> "gl_FbWposYTransform". So as the unifo
Acked-by: Jason Ekstrand
On Mon, May 7, 2018 at 8:45 AM, Kenneth Graunke
wrote:
> Gen4-5 traditionally don't use GEM context support, which means that
> the PS_DEPTH_COUNT register isn't saved/restored for us across batches.
>
> This means that we have to bookend each batch with start/end snaps
On Friday, May 4, 2018 2:18:11 PM PDT Chris Wilson wrote:
> Quoting Kenneth Graunke (2018-05-04 02:12:35)
> > diff --git a/src/mesa/drivers/dri/i965/brw_bufmgr.c
> > b/src/mesa/drivers/dri/i965/brw_bufmgr.c
> > index 66f30a1637f..66828f319be 100644
> > --- a/src/mesa/drivers/dri/i965/brw_bufmgr.c
On Friday, May 4, 2018 2:27:27 PM PDT Chris Wilson wrote:
> Quoting Kenneth Graunke (2018-05-04 02:12:36)
> > + if (brw_using_softpin(bufmgr) && bo->gtt_offset == 0ull) {
> > + bo->gtt_offset = vma_alloc(bufmgr, memzone, bo->size, 1);
> > +
> > + if (bo->gtt_offset == 0ull)
> > +
On Saturday, May 5, 2018 12:49:18 AM PDT Chris Wilson wrote:
> Quoting Chris Wilson (2018-05-04 22:27:27)
> > Quoting Kenneth Graunke (2018-05-04 02:12:36)
> > > + if (brw_using_softpin(bufmgr) && bo->gtt_offset == 0ull) {
> > > + bo->gtt_offset = vma_alloc(bufmgr, memzone, bo->size, 1);
> >
Quoting Dylan Baker (2018-05-06 12:38:54)
>
>
> On May 4, 2018 5:44:25 PM PDT, Chad Versace wrote:
> >
> >The BUG line should be converted to any of the following trailer lines:
> >
> >Bug: https://crbug.com/776903
> >(This is my favorite).
> >Fixes: https://crbug.com/776903
> >
Jason Ekstrand writes:
> On Wed, May 2, 2018 at 9:01 AM, Scott D Phillips > wrote:
>
>> These will be used to assign virtual addresses to soft pinned
>> buffers in a later patch.
>> ---
>> src/intel/vulkan/anv_device.c | 75 ++
>>
>> src/intel/vulkan/anv
Quoting Gert Wollny (2018-04-28 12:30:08)
> v2: Define tests also in the meson.build file.
> Signed-off-by: Gert Wollny
> ---
> src/mesa/state_tracker/tests/Makefile.am | 20 +-
> src/mesa/state_tracker/tests/meson.build | 14 +
> src/mesa/state_tracker/tests/st_tests_common
We used to only initialize BLORP on Gen6+. When we added it on Gen4-5,
we forgot to destroy it unconditionally.
Fixes: 752d7af77a52898cebf5597def4fdd38b1d6303e (i965: Add blorp support for
gen4-5)
---
src/mesa/drivers/dri/i965/brw_context.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-
Reviewed-by: Matt Turner
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev
On Monday, May 7, 2018 8:53:34 AM PDT Jason Ekstrand wrote:
> On Mon, May 7, 2018 at 8:02 AM, Alejandro Piñeiro
> wrote:
>
> > Hi Jason,
> >
> > as part of the ARB_gl_spirv work, we are doing the linking based on the
> > nir shader that comes from spirv_to_nir. On some cases,
> > nir_lower_wpos_y
On Mon, May 07, 2018 at 09:49:01AM +0300, Tapani Pälli wrote:
>
> On 05/04/2018 05:59 PM, Nanley Chery wrote:
> > On Fri, May 04, 2018 at 09:03:32AM +0300, Tapani Pälli wrote:
> > > Hi Nanley;
> > >
> >
> > Hey Tapani,
> >
> > > On 05/03/2018 10:03 PM, Nanley Chery wrote:
> > > > Before this pa
On Sat, 5 May 2018 09:11:28 +0100
Chris Wilson wrote:
> Quoting James Xiong (2018-05-05 01:56:01)
> > This series align the buffer size up to page instead of a bucket
> > size to improve memory allocation efficiency.
>
> It doesn't though. It still retrieves up to the bucket size, so with a
>
From: Ville Syrjälä
platform_x11 with dri3 needs inc_loader.
In file included from ../src/egl/drivers/dri2/platform_x11_dri3.c:35:0:
../src/egl/drivers/dri2/egl_dri2.h:41:32: fatal error: loader_dri3_helper.h: No
such file or directory
In file included from ../src/egl/drivers/dri2/platform_x11.
On Mon, May 07, 2018 at 11:51:50AM +0300, Pohjolainen, Topi wrote:
> On Fri, May 04, 2018 at 11:04:40AM -0700, Nanley Chery wrote:
> > On Fri, May 04, 2018 at 10:00:32AM -0700, Nanley Chery wrote:
> > > On Fri, May 04, 2018 at 09:42:34AM -0700, Nanley Chery wrote:
> > > > On Thu, May 03, 2018 at 12
On Mon, May 07, 2018 at 11:30:15AM +0300, Pohjolainen, Topi wrote:
> On Thu, May 03, 2018 at 12:03:51PM -0700, Nanley Chery wrote:
> > The indirect clear color isn't correctly tracked in
> > intel_miptree::fast_clear_color. The initial value of ::fast_clear_color
> > is zero, while that of the indi
Thanks.
Reviewed-by: Matt Turner
and pushed.
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev
On Mon, May 7, 2018 at 8:17 AM, Nicolai Hähnle wrote:
> On 01.05.2018 22:48, Marek Olšák wrote:
>
>> +**nr_color_samples**: This is the number of color samples for
>> EQAA, while
>> +``nr_samples`` is the number of coverage samples. If the format
>> is Z/S,
>>
On Mon, May 7, 2018 at 8:16 AM, Nicolai Hähnle wrote:
> Very nice. We should probably think about exposing this as a more
> generally available performance knob if you're confident enough that it
> works.
>
I'm absolutely confident that it works. I've run a lot of image quality
tests on Polaris1
On Mon, May 7, 2018 at 11:53 AM, Jason Ekstrand wrote:
> On Mon, May 7, 2018 at 8:02 AM, Alejandro Piñeiro
> wrote:
>>
>> Hi Jason,
>>
>> as part of the ARB_gl_spirv work, we are doing the linking based on the
>> nir shader that comes from spirv_to_nir. On some cases,
>> nir_lower_wpos_ytransform
On Mon, May 07, 2018 at 03:06:29PM +0300, Pohjolainen, Topi wrote:
> On Thu, May 03, 2018 at 12:03:53PM -0700, Nanley Chery wrote:
> > We have enough information to determine the optimal flags internally.
> > ---
> > src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 29
> > +
On Mon, May 07, 2018 at 03:36:54PM +0300, Pohjolainen, Topi wrote:
> On Thu, May 03, 2018 at 12:03:55PM -0700, Nanley Chery wrote:
> > We're going to delete intel_miptree_alloc_ccs() in the next commit. With
> > that in mind, replace the use of this function in
> > do_single_blorp_clear() with inte
On Mon, May 07, 2018 at 04:12:24PM +0300, Pohjolainen, Topi wrote:
> On Thu, May 03, 2018 at 12:03:56PM -0700, Nanley Chery wrote:
> > There isn't much that changes between the aux allocation functions.
> > Remove the duplicated code.
> > ---
> > src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 227
On Mon, May 7, 2018 at 7:49 AM, Nicolai Hähnle wrote:
> On 02.05.2018 06:13, Marek Olšák wrote:
>
>> From: Marek Olšák
>>
>> ---
>> src/gallium/drivers/radeonsi/si_state.c | 3 -
>> src/gallium/drivers/radeonsi/si_state_msaa.c | 154 ---
>> 2 files changed, 98 insertio
On Mon, May 7, 2018 at 7:52 AM, Nicolai Hähnle wrote:
> On 02.05.2018 06:13, Marek Olšák wrote:
>
>> From: Marek Olšák
>>
>> Discovered by luck. Verified with the piglit MSAA accuracy test.
>> It also shows that the worst case EQAA 16s4f results in very good 4x MSAA
>> in the worst case.
>>
>> N
On Mon, May 07, 2018 at 10:10:16AM -0700, Nanley Chery wrote:
> On Mon, May 07, 2018 at 11:51:50AM +0300, Pohjolainen, Topi wrote:
> > On Fri, May 04, 2018 at 11:04:40AM -0700, Nanley Chery wrote:
> > > On Fri, May 04, 2018 at 10:00:32AM -0700, Nanley Chery wrote:
> > > > On Fri, May 04, 2018 at 09
On Mon, May 7, 2018 at 11:02 AM, Rob Clark wrote:
> On Mon, May 7, 2018 at 11:53 AM, Jason Ekstrand
> wrote:
> > On Mon, May 7, 2018 at 8:02 AM, Alejandro Piñeiro
> > wrote:
> >>
> >> Hi Jason,
> >>
> >> as part of the ARB_gl_spirv work, we are doing the linking based on the
> >> nir shader tha
On Mon, May 7, 2018 at 9:37 AM, Kenneth Graunke
wrote:
> On Monday, May 7, 2018 8:53:34 AM PDT Jason Ekstrand wrote:
> > On Mon, May 7, 2018 at 8:02 AM, Alejandro Piñeiro
> > wrote:
> >
> > > Hi Jason,
> > >
> > > as part of the ARB_gl_spirv work, we are doing the linking based on the
> > > nir
On Mon, May 07, 2018 at 11:12:26AM -0700, Nanley Chery wrote:
> On Mon, May 07, 2018 at 03:36:54PM +0300, Pohjolainen, Topi wrote:
> > On Thu, May 03, 2018 at 12:03:55PM -0700, Nanley Chery wrote:
> > > We're going to delete intel_miptree_alloc_ccs() in the next commit. With
> > > that in mind, rep
On Mon, May 7, 2018 at 7:53 AM, Nicolai Hähnle wrote:
> On 02.05.2018 06:13, Marek Olšák wrote:
>
>> From: Marek Olšák
>>
>> This results in better 16x and 8x quality when using these locations.
>> Verified with the piglit MSAA accuracy test.
>>
>
> How did you come up with those? :)
>
I drew t
On Mon, May 7, 2018 at 9:24 AM, Scott D Phillips wrote:
> Jason Ekstrand writes:
>
> > On Wed, May 2, 2018 at 9:01 AM, Scott D Phillips <
> scott.d.phill...@intel.com
> >> wrote:
> >
> >> These will be used to assign virtual addresses to soft pinned
> >> buffers in a later patch.
> >> ---
> >>
https://bugs.freedesktop.org/show_bug.cgi?id=106180
--- Comment #17 from mercuriete ---
The patch implemented by Bas
https://patchwork.freedesktop.org/patch/220792/
has been
Tested-by: Abel Garcia Dorta
on top of master
and on top of mesa-18.1.0_rc2 provided by gentoo.
Thank you for fixing
On Mon, 2018-05-07 at 15:10 +0200, Nicolai Hähnle wrote:
> On 04.05.2018 08:34, Jan Vesely wrote:
> > The original bug/corruption was by util_unreference_framebuffer_state,
> > trying to drop reference on cbuf[0] (global AS for OCL).
> > Adding reference counting to set_rat uncovered problems with
On Sat, 5 May 2018 08:55:24 +0100
Chris Wilson wrote:
> Quoting James Xiong (2018-05-05 01:56:05)
> > From: "Xiong, James"
> >
> > When one of cached buffers is found to be evicted by kernel,
> > most likely the buffers freed earlier than this buffer are
> > gone too, go through the cached list
On Mon, May 7, 2018 at 2:36 PM, Jason Ekstrand wrote:
> On Mon, May 7, 2018 at 11:02 AM, Rob Clark wrote:
>>
>> On Mon, May 7, 2018 at 11:53 AM, Jason Ekstrand
>> wrote:
>> > On Mon, May 7, 2018 at 8:02 AM, Alejandro Piñeiro
>> > wrote:
>> >>
>> >> Hi Jason,
>> >>
>> >> as part of the ARB_gl_sp
The hardware will AND these fields with the corresponding fields in
DEPTH_STENCIL_STATE so there's no real reason to toggle them on and off
based on state bits. This removes our reliance on the _NEW_DEPTH and
_NEW_STENCIL state bits and better matches what ISL does.
Cc: Kenneth Graunke
---
src/
---
src/mesa/drivers/dri/i965/gen7_misc_state.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/mesa/drivers/dri/i965/gen7_misc_state.c
b/src/mesa/drivers/dri/i965/gen7_misc_state.c
index 1ce7658..1508473 100644
--- a/src/mesa/drivers/dri/i965/gen7_misc_state.c
+++ b/src
---
src/mesa/drivers/dri/i965/gen6_depth_state.c | 34 ++--
src/mesa/drivers/dri/i965/gen7_misc_state.c | 32 +-
src/mesa/drivers/dri/i965/gen8_depth_state.c | 28 +++
3 files changed, 47 insertions(+), 47 deletions(-)
diff --gi
We leave gen4-5 alone because the ISL code hasn't really been well-
tested on gen4-5 or with combined depth-stencil because we don't use
BLORP for depth operations on gen4-5. Also, the gen4-5 code has to deal
with intratile offsets for LOD hacks and ISL doesn't handle those yet.
We could make ISL
---
src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 19 +++
src/mesa/drivers/dri/i965/intel_mipmap_tree.h | 25 -
2 files changed, 7 insertions(+), 37 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/intel_mipmap_tree.c
b/src/mesa/drivers/dri/i965/intel
---
src/mesa/drivers/dri/i965/brw_misc_state.c | 90 +-
1 file changed, 40 insertions(+), 50 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/brw_misc_state.c
b/src/mesa/drivers/dri/i965/brw_misc_state.c
index e44baf2..03535f6 100644
--- a/src/mesa/drivers/dri/i965
The only reason why we had two atoms was that the one we used for gen7+
depended on _NEW_DEPTH and _NEW_STENCIL as well as _NEW_BUFFERS. Since
this is no longer true, we can combine them into one atom. We do add a
dependence on BRW_NEW_AUX_STATE but that should never get set on gen4-5
so adding i
Now that we're using ISL, a good chunk of brw_emit_depthstencil is
pointless checks which ISL will do for us anyway. Since we only have
one manual depth buffer emit function, move the useful bits into it.
---
src/mesa/drivers/dri/i965/brw_misc_state.c | 107 +++--
1 file c
Python's assert can take both a condition and a string, which will cause
it to print the string if the assertion trips. (You can't use parens as
that creates a tuple.) Doing "condition and string" works in C, but
doesn't have the desired effect in Python.
---
src/intel/genxml/gen_pack_header.py
Chris recently fixed a bunch of genxml end < start bugs, as well as
booleans that are wider than a bit. These are way too easy to write, so
asserting that the fields are sane is a good plan.
---
src/intel/genxml/gen_pack_header.py | 7 +++
1 file changed, 7 insertions(+)
diff --git a/src/int
None of these are actually booleans. Tile Parameter is a tiling mode
enum. Display pipes take plane numbers. Predicate Enable has some
operations (and the default value of 6 was particular bogus).
---
src/intel/genxml/gen10.xml | 4 ++--
src/intel/genxml/gen11.xml | 10 +-
src/intel/ge
Series is
Reviewed-by: Caio Marcelo de Oliveira Filho
On Mon, May 07, 2018 at 01:40:44PM -0700, Kenneth Graunke wrote:
> Python's assert can take both a condition and a string, which will cause
> it to print the string if the assertion trips. (You can't use parens as
> that creates a tuple.)
On Mon, May 7, 2018 at 4:34 AM, Thomas Petazzoni
wrote:
> The configure.ac logic added in commit
> 2ef7f23820a67e958c2252bd81eb0458903ebf33 ("configure: check if
> -latomic is needed for __atomic_*") makes the assumption that if a
> 64-bit atomic intrinsic test program fails to link without -latom
Reviewed-by: Jason Ekstrand
At one point, I wrote a script for finding these
On Mon, May 7, 2018 at 1:40 PM, Kenneth Graunke
wrote:
> None of these are actually booleans. Tile Parameter is a tiling mode
> enum. Display pipes take plane numbers. Predicate Enable has some
> operations (an
Acked-by: Jason Ekstrand
On Mon, May 7, 2018 at 1:40 PM, Kenneth Graunke
wrote:
> Chris recently fixed a bunch of genxml end < start bugs, as well as
> booleans that are wider than a bit. These are way too easy to write, so
> asserting that the fields are sane is a good plan.
> ---
> src/inte
Reviewed-by: Jason Ekstrand
On Mon, May 7, 2018 at 1:51 PM, Caio Marcelo de Oliveira Filho <
caio.olive...@intel.com> wrote:
> Series is
>
> Reviewed-by: Caio Marcelo de Oliveira Filho
>
>
> On Mon, May 07, 2018 at 01:40:44PM -0700, Kenneth Graunke wrote:
> > Python's assert can take both a con
Hello,
On Mon, 7 May 2018 14:07:05 -0700, Matt Turner wrote:
> On Mon, May 7, 2018 at 4:34 AM, Thomas Petazzoni
> wrote:
> > The configure.ac logic added in commit
> > 2ef7f23820a67e958c2252bd81eb0458903ebf33 ("configure: check if
> > -latomic is needed for __atomic_*") makes the assumption that
---
src/intel/isl/isl_format.c | 26 +-
1 file changed, 13 insertions(+), 13 deletions(-)
diff --git a/src/intel/isl/isl_format.c b/src/intel/isl/isl_format.c
index a5bbdbc..a5fdf43 100644
--- a/src/intel/isl/isl_format.c
+++ b/src/intel/isl/isl_format.c
@@ -108,8 +108,8 @
---
src/intel/isl/isl_storage_image.c | 16 ++--
1 file changed, 10 insertions(+), 6 deletions(-)
diff --git a/src/intel/isl/isl_storage_image.c
b/src/intel/isl/isl_storage_image.c
index 20f6fd5..ed1c600 100644
--- a/src/intel/isl/isl_storage_image.c
+++ b/src/intel/isl/isl_storage_i
On 05/04/2018 03:27 PM, Rhys Perry wrote:
> CC:
> Signed-off-by: Rhys Perry
> ---
> src/mesa/main/fbobject.c | 72
> +++-
> 1 file changed, 41 insertions(+), 31 deletions(-)
>
> diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c
> index
On Saturday, May 5, 2018 12:25:20 AM PDT Chris Wilson wrote:
> Quoting Kenneth Graunke (2018-05-04 02:12:36)
[snip]
> > +static uint64_t
> > +bucket_vma_alloc(struct brw_bufmgr *bufmgr,
> > + struct bo_cache_bucket *bucket,
> > + enum brw_memory_zone memzone)
> > +{
On Thursday, May 3, 2018 11:51:52 PM PDT Chris Wilson wrote:
> Quoting Kenneth Graunke (2018-05-04 02:12:39)
> > ---
> > src/mesa/drivers/dri/i965/brw_bufmgr.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > This enables it for Broadwell (with a 64-bit kernel) and Skylake+ (with
Jason Ekstrand writes:
> If I'm honest, I don't really like the way this patch worked out. It has
> the virtue of being fairly simple and a nice incremental change. However,
> it seems to me like we should be able to do better. That said, I don't
> really know how off-hand and this looks corre
From: Roland Scheidegger
We were never producing negative numbers for signed types.
Also fix only producing half the valid range for uint32, and
properly clamp signed values.
Because this now also properly tests snorm with actually negative
values, need to increase eps for such conversions. I be
On Mon, May 7, 2018 at 4:05 PM, Scott D Phillips wrote:
> Jason Ekstrand writes:
>
> > If I'm honest, I don't really like the way this patch worked out. It has
> > the virtue of being fairly simple and a nice incremental change.
> However,
> > it seems to me like we should be able to do better.
Soft pinning lets us satisfy the binding table address
requirements without using both sides of a growing state_pool.
If you do use both sides of a state pool, then you need to read
the state pool's center_bo_offset (with the device mutex held) to
know the final offset of relocations that target t
The test pseudo-randomly makes allocations and deallocations with
the virtual memory allocator and checks that the results are
consistent. Specifically, we test that:
* no result from the allocator overlaps an already allocated range
* allocated memory fulfills the stated alignment requirement
Round two of anv softpin. The only notable feedback not incorporated in
the series is Chris's suggestion about embedding the vma's allocation
node in struct anv_bo; I'm leaving the allocator bit to Jason.
Jason Ekstrand (1):
util: Add a virtual memory allocator
Scott D Phillips (7):
util: Add
1 - 100 of 140 matches
Mail list logo