search for: is_format_supported

Displaying 20 results from an estimated 21 matches for "is_format_supported".

2019 Jul 25
20
[Bug 111213] New: VA-API nouveau SIGSEGV and asserts
...! vaapidecodebin ! vaapisink Use enhanced-h264ify plugin on Chromium to playback the same h264 video clip from YouTube.com Geforce 9300 mGPU - video played as garbage, browser may crash GT730 - fallback to FFmpegVideoDecoder after asserts ve4_set_surface_info:969 - unsupported surface format, try is_format_supported() ! romium/chromium --type=gpu-process --field-trial-handle=7734813049068668419,17986421265460211344,131072 --disable-breakpad --gpu-preferences=KAAAAAAAAAAgAACgAQAAAAAAAAAAAGAAAAAAAAAAAAAIAAAAAAAAAAgAAAAAAAAA --service-request-channel-token=7551475798706255496: ../mesa-19.1.3/src/gallium/drivers/n...
2015 Dec 07
2
[mesa v2 5/9] nouveau: fix screen creation failure paths
...init(&screen->base, dev); > if (ret) { > @@ -782,7 +783,6 @@ nv50_screen_create(struct nouveau_device *dev) > > chan = screen->base.channel; > > - pscreen->destroy = nv50_screen_destroy; > pscreen->context_create = nv50_create; > pscreen->is_format_supported = nv50_screen_is_format_supported; > pscreen->get_param = nv50_screen_get_param; > @@ -964,8 +964,8 @@ nv50_screen_create(struct nouveau_device *dev) > return &screen->base; > > fail: > - nv50_screen_destroy(pscreen); > - return NULL; > + screen->...
2015 Dec 07
1
[mesa v2 5/9] nouveau: fix screen creation failure paths
...;>> @@ -782,7 +783,6 @@ nv50_screen_create(struct nouveau_device *dev) >>> >>> chan = screen->base.channel; >>> >>> - pscreen->destroy = nv50_screen_destroy; >>> pscreen->context_create = nv50_create; >>> pscreen->is_format_supported = nv50_screen_is_format_supported; >>> pscreen->get_param = nv50_screen_get_param; >>> @@ -964,8 +964,8 @@ nv50_screen_create(struct nouveau_device *dev) >>> return &screen->base; >>> >>> fail: >>> - nv50_screen_destroy(pscr...
2015 Nov 27
0
[mesa v2 5/9] nouveau: fix screen creation failure paths
...destroy; ret = nouveau_screen_init(&screen->base, dev); if (ret) { @@ -782,7 +783,6 @@ nv50_screen_create(struct nouveau_device *dev) chan = screen->base.channel; - pscreen->destroy = nv50_screen_destroy; pscreen->context_create = nv50_create; pscreen->is_format_supported = nv50_screen_is_format_supported; pscreen->get_param = nv50_screen_get_param; @@ -964,8 +964,8 @@ nv50_screen_create(struct nouveau_device *dev) return &screen->base; fail: - nv50_screen_destroy(pscreen); - return NULL; + screen->base.base.context_create = NULL; + r...
2015 Dec 07
0
[mesa v2 5/9] nouveau: fix screen creation failure paths
...>> if (ret) { >> @@ -782,7 +783,6 @@ nv50_screen_create(struct nouveau_device *dev) >> >> chan = screen->base.channel; >> >> - pscreen->destroy = nv50_screen_destroy; >> pscreen->context_create = nv50_create; >> pscreen->is_format_supported = nv50_screen_is_format_supported; >> pscreen->get_param = nv50_screen_get_param; >> @@ -964,8 +964,8 @@ nv50_screen_create(struct nouveau_device *dev) >> return &screen->base; >> >> fail: >> - nv50_screen_destroy(pscreen); >> - retur...
2009 Dec 20
2
[PATCH 1/2] nv50: don't emit reloc markers after a referenced vtxbuf is mapped
...truct pipe_screen * nv50_screen_create(struct pipe_winsys *ws, struct nouveau_device *dev) { @@ -201,6 +220,7 @@ nv50_screen_create(struct pipe_winsys *ws, struct nouveau_device *dev) pscreen->get_param = nv50_screen_get_param; pscreen->get_paramf = nv50_screen_get_paramf; pscreen->is_format_supported = nv50_screen_is_format_supported; + screen->base.pre_pipebuffer_map_callback = nv50_pre_pipebuffer_map; nv50_screen_init_miptree_functions(pscreen); nv50_transfer_init_screen_functions(pscreen); diff --git a/src/gallium/drivers/nv50/nv50_screen.h b/src/gallium/drivers/nv50/nv50_screen.h i...
2009 Dec 20
1
[PATCH] nv50: remove vtxbuf stateobject after a referenced vtxbuf is mapped
...truct pipe_screen * nv50_screen_create(struct pipe_winsys *ws, struct nouveau_device *dev) { @@ -201,6 +223,7 @@ nv50_screen_create(struct pipe_winsys *ws, struct nouveau_device *dev) pscreen->get_param = nv50_screen_get_param; pscreen->get_paramf = nv50_screen_get_paramf; pscreen->is_format_supported = nv50_screen_is_format_supported; + screen->base.pre_pipebuffer_map_callback = nv50_pre_pipebuffer_map; nv50_screen_init_miptree_functions(pscreen); nv50_transfer_init_screen_functions(pscreen); diff --git a/src/gallium/drivers/nv50/nv50_screen.h b/src/gallium/drivers/nv50/nv50_screen.h i...
2015 Nov 27
13
[mesa v2 1/9] nouveau: bump required libdrm version to 2.4.66
From: Ben Skeggs <bskeggs at redhat.com> Signed-off-by: Ben Skeggs <bskeggs at redhat.com> --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 4016871..c02ee61 100644 --- a/configure.ac +++ b/configure.ac @@ -73,7 +73,7 @@ LIBDRM_RADEON_REQUIRED=2.4.56 LIBDRM_AMDGPU_REQUIRED=2.4.63 LIBDRM_INTEL_REQUIRED=2.4.61
2010 Jan 18
0
[PATCH] nv04-nv40: Rewrite and unify miptree and transfer code
...for copies + mt->base.tex_usage = pt->tex_usage | PIPE_TEXTURE_USAGE_RENDER_TARGET | PIPE_TEXTURE_USAGE_SAMPLER | PIPE_TEXTURE_USAGE_DEPTH_STENCIL; + + // on our current driver (and the driver too), format support does not depend on geometry, so don't bother computing it + if(!pscreen->is_format_supported(pscreen, pt->format, pt->target, PIPE_TEXTURE_USAGE_RENDER_TARGET, 0)) + mt->base.tex_usage &=~ PIPE_TEXTURE_USAGE_RENDER_TARGET; + if(!pscreen->is_format_supported(pscreen, pt->format, pt->target, PIPE_TEXTURE_USAGE_SAMPLER, 0)) + mt->base.tex_usage &=~ PIPE_TEXTURE_...
2013 Aug 10
3
[PATCH 1/4] nouveau: fix number of surfaces in video buffer, use defines
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu> --- The pipe_surface miscount caused issues for my (failed) attempt at getting vdpau to work with pmpeg. src/gallium/drivers/nouveau/nouveau_video.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gallium/drivers/nouveau/nouveau_video.h b/src/gallium/drivers/nouveau/nouveau_video.h index 1d6ced0..be53758
2010 Jan 18
0
[PATCH] nv04-nv40: Rewrite and unify miptree and transfer code (v2)
...for copies + mt->base.tex_usage = pt->tex_usage | PIPE_TEXTURE_USAGE_RENDER_TARGET | PIPE_TEXTURE_USAGE_SAMPLER | PIPE_TEXTURE_USAGE_DEPTH_STENCIL; + + // on our current driver (and the driver too), format support does not depend on geometry, so don't bother computing it + if(!pscreen->is_format_supported(pscreen, pt->format, pt->target, PIPE_TEXTURE_USAGE_RENDER_TARGET, 0)) + mt->base.tex_usage &=~ PIPE_TEXTURE_USAGE_RENDER_TARGET; + if(!pscreen->is_format_supported(pscreen, pt->format, pt->target, PIPE_TEXTURE_USAGE_SAMPLER, 0)) + mt->base.tex_usage &=~ PIPE_TEXTURE_...
2013 Jul 29
2
[PATCH 1/2] nv30: hook up PMPEG support via nouveau_video, enables XvMC to work
...c b/src/gallium/drivers/nv30/nv30_screen.c index 3d55d6f..40e8b5f 100644 --- a/src/gallium/drivers/nv30/nv30_screen.c +++ b/src/gallium/drivers/nv30/nv30_screen.c @@ -377,6 +377,7 @@ nv30_screen_create(struct nouveau_device *dev) pscreen->context_create = nv30_context_create; pscreen->is_format_supported = nv30_screen_is_format_supported; nv30_resource_screen_init(pscreen); + nouveau_screen_init_vdec(&screen->base); screen->base.fence.emit = nv30_screen_fence_emit; screen->base.fence.update = nv30_screen_fence_update; -- 1.8.1.5
2015 Sep 09
3
[PATCH mesa v2 1/2] nv30: Fix color resolving for nv3x cards
We do not have a generic blitter on nv3x cards, so we must use the sifm object for color resolving. This commit divides the sources and dest surfaces in to tiles which match the constraints of the sifm object, so that color resolving will work properly on nv3x cards. Signed-off-by: Hans de Goede <hdegoede at redhat.com> --- Changes in v2: -Use 1024x1024 blocks -Use the sifm on both nv3x
2015 Nov 26
9
[mesa 1/9] nouveau: bump required libdrm version to 2.4.66
From: Ben Skeggs <bskeggs at redhat.com> Signed-off-by: Ben Skeggs <bskeggs at redhat.com> --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 4016871..c02ee61 100644 --- a/configure.ac +++ b/configure.ac @@ -73,7 +73,7 @@ LIBDRM_RADEON_REQUIRED=2.4.56 LIBDRM_AMDGPU_REQUIRED=2.4.63 LIBDRM_INTEL_REQUIRED=2.4.61
2015 Dec 16
11
[mesa v3 1/9] nouveau: bump required libdrm version to 2.4.66
From: Ben Skeggs <bskeggs at redhat.com> v2. forgot bump for non-gallium driver Signed-off-by: Ben Skeggs <bskeggs at redhat.com> --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index b6680d0..965c6f7 100644 --- a/configure.ac +++ b/configure.ac @@ -72,8 +72,8 @@ LIBDRM_REQUIRED=2.4.60
2015 Jun 19
5
[PATCH v3 0/2] nouveau: support for custom VRAM domains
New revision of this patchset that prevents VRAM objects from being allocated on VRAM-less systems like Tegra. This is required for Mesa to work on such systems. Changes since v2: - Use vram_size to detect systems without VRAM and set the correct domain instead of expecting each chip to set its domain explicitly. Alexandre Courbot (2): nouveau: support for custom VRAM domains nvc0: use
2010 Aug 06
4
nv vpe video decoder
Hello, I have my work on the nv vpe video decoder in a functional state. In case you didn't know this decoder accelerates mpeg2 video at the idct/mc level. I have verified that it works on nv40 hardware. I believe it works on nv30 hardware (and maybe some earlier hardware), but I cannot verify since I have none. I will reply with patches against the kernel, drm, ddx and mesa for
2014 Nov 27
0
[Mesa-dev] [RFC] tegra: Initial support
...d shader, > + enum pipe_shader_cap param) > +{ > + struct tegra_screen *screen = to_tegra_screen(pscreen); > + > + return screen->gpu->get_shader_param(screen->gpu, shader, param); > +} > + > +static boolean > +tegra_screen_is_format_supported(struct pipe_screen *pscreen, > + enum pipe_format format, > + enum pipe_texture_target target, > + unsigned sample_count, > + unsigned usage) > +{ > +...
2014 Nov 27
7
[RFC] tegra: Initial support
...+tegra_screen_get_shader_param(struct pipe_screen *pscreen, + unsigned shader, + enum pipe_shader_cap param) +{ + struct tegra_screen *screen = to_tegra_screen(pscreen); + + return screen->gpu->get_shader_param(screen->gpu, shader, param); +} + +static boolean +tegra_screen_is_format_supported(struct pipe_screen *pscreen, + enum pipe_format format, + enum pipe_texture_target target, + unsigned sample_count, + unsigned usage) +{ + struct tegra_screen *screen = to_tegra_screen(pscreen); + + return screen->gpu->is_format_supported(screen->gpu, format, target, +...
2014 Nov 19
5
[PATCH v2 0/3] nouveau: support for custom VRAM domains
This series is to allow NVIDIA chips with shared memory to operate more efficiently (and to operate at all once we disable VRAM from the kernel driver) by allowing nouveau_screen to specify a domain to use for objects originally allocated into VRAM. If the domain is not overridden, the default NOUVEAU_BO_VRAM is used. A NV_VRAM_DOMAIN() macro is then introduced to be used in place of