Displaying 3 results from an estimated 3 matches for "nv50_2d_src_format_faith".
2015 Feb 14
0
[PATCH] nvc0: bail out of 2d blits with non-A8_UNORM alpha formats
...ium/drivers/nouveau/nvc0/nvc0_surface.c
index 4130d36..4404d8c 100644
--- a/src/gallium/drivers/nouveau/nvc0/nvc0_surface.c
+++ b/src/gallium/drivers/nouveau/nvc0/nvc0_surface.c
@@ -1401,11 +1401,14 @@ nvc0_blit(struct pipe_context *pipe, const struct pipe_blit_info *info)
} else
if (!nv50_2d_src_format_faithful(info->src.format)) {
if (!util_format_is_luminance(info->src.format)) {
+ if (!nv50_2d_dst_format_ops_supported(info->dst.format))
+ eng3d = TRUE;
+ else
if (util_format_is_intensity(info->src.format))
eng3d =...
2019 Feb 16
0
About Porting Android to nouveau
...NV50_ENG2D_SUPPORTED_FORMATS & (1ULL << (id - 0xc0))))
return id;
logic. And if they weren't, the 2d engine wouldn't be happy if you
handed it unknown formats.
> ———————————
> Nv50_blit.h
>
> ———————————
> Function nv50_2d_format_supported
>
> Function nv50_2d_src_format_faithful
>
> ———————————————
>
> My question is : why only support
> The format which id bigger than 0xc0 ?
>
> (id >= 0xc0) && (mask & (1ULL << (id - 0xc0)))
Well, the masks are just like that... we define, for nv50:
#define NV50_ENG2D_SUPPORTED_FORMATS 0xff0...
2018 Nov 21
2
About Porting Android to nouveau
Hi, guys:
I’m a developer of FydeOS. We porting ChromiumOS to amd64 and arm platforms. Now, I’m woking on porting android environment to Nvidia graphic cards. I have experience to port android to Vmware(SVGA).
I found two display formats were not supported to display in nouveau driver: PIPE_FORMAT_R8G8B8A8_UNORM, PIPE_FORMAT_R8G8B8X8_UNORM. Which are defined at nv50/nv50_formats.c line: 130,131.