nv30: Fix max width / height checks in nv30 sifm code
PATCH 1/3 nv30: Fix max width / height checks in nv30 sifm code
The sifm object has a limit of 1024x1024 for its input size and 2048x2048 for its output. The code checking this was trying to be clever resulting in it seeing a surface of e.g 1024x256 being outside of the input size limit.
This commit fixes this.
--- src/gallium/drivers/nouveau/nv30/nv30_transfer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
src/gallium/drivers/nouveau/nv30/nv30_transfer.c +2 -2
@@ -371,7 +371,7 @@ nv30_transfer_rect_blit(XFER_ARGS)static bool nv30_transfer_sifm (XFER_ARGS ) { -if (!src->pitch || (src->w | src->h) >1024 || src->w <2 || src->h <2 ) +if (!src->pitch || src->w >1024 || src->h >1024 || src->w <2 || src->h <2 )return false;if (src->d >1 || dst->d >1 )
@@ -381,7 +381,7 @@ nv30_transfer_sifm(XFER_ARGS)return false;if (!dst->pitch) { -if ((dst->w | dst->h) >2048 || dst->w <2 || dst->h <2 ) +if (dst->w >2048 || dst->h >2048 || dst->w <2 || dst->h <2 )return false; }else {if (dst->domain !=NOUVEAU_BO_VRAM )
Signature · 6 lines
2.4.3 _______________________________________________ Nouveau mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/nouveau
PATCH 2/3 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.
--- src/gallium/drivers/nouveau/nv30/nv30_miptree.c | 55 ++++++++++++++++++++++++- 1 file changed, 54 insertions(+), 1 deletion(-)
src/gallium/drivers/nouveau/nv30/nv30_miptree.c +54 -1
@@ -149,6 +149,56 @@ static void nv30_resource_resolve(struct nv30_context *nv30, const struct pipe_blit_info *info) { + struct nv30_miptree *src_mt = nv30_miptree(info->src.resource); +struct nv30_rect src, dst; +unsigned x, x0, x1, y, y1, w, h; + +define_rect (info->src.resource,0 , info->src.box.z, info->src.box.x, + info->src.box.y, info->src.box.width, info->src.box.height, &src); +define_rect (info->dst.resource,0 , info->dst.box.z, info->dst.box.x, + info->dst.box.y, info->dst.box.width, info->dst.box.height, &dst); + + x0 = src.x0; + x1 = src.x1; + y1 = src.y1; + +/* On nv3x we must use sifm which is restricted to 512x512 tiles */ +for (y = src.y0; y < y1; y += h) { + h = y1 - y; +if (h >512 ) + h =512 ; + + src.y0 =0 ; + src.y1 = h; + src.h = h; + + dst.y1 = dst.y0 + (h >> src_mt->ms_y); + dst.h = h >> src_mt->ms_y; + +for (x = x0; x < x1; x += w) { + w = x1 - x; +if (w >512 ) + w =512 ; + + src.offset = y * src.pitch + x * src.cpp; + src.x0 =0 ; + src.x1 = w; + src.w = w; + + dst.offset = (y >> src_mt->ms_y) * dst.pitch + + (x >> src_mt->ms_x) * dst.cpp; + dst.x1 = dst.x0 + (w >> src_mt->ms_x); + dst.w = w >> src_mt->ms_x; + +nv30_transfer_rect (nv30,BILINEAR , &src, &dst); + } + } +} + +static void +nv40_resource_resolve (struct nv30_context *nv30, +const struct pipe_blit_info *info) +{struct nv30_rect src, dst; define_rect(info->src.resource, 0, info->src.box.z, info->src.box.x,
@@ -170,7 +220,10 @@ nv30_blit(struct pipe_context *pipe, info.dst.resource->nr_samples <= 1 && !util_format_is_depth_or_stencil(info.src.resource->format) && !util_format_is_pure_integer(info.src.resource->format)) { -nv30_resource_resolve (nv30, blit_info); +if (nv30->screen->eng3d->oclass >=NV40_3D_CLASS ) +nv40_resource_resolve (nv30, blit_info); +else +nv30_resource_resolve (nv30, blit_info);return ; }
Signature · 6 lines
2.4.3 _______________________________________________ mesa-dev mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-dev
A message that is not in the archive (sent off-list or not yet received): 1441655450-9336-2-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org
Re: [PATCH mesa 2/3] nv30: Fix color resolving for nv3x cards
May I ask why you're doing 512x512 instead of 1024x1024? These are already scaled up coordinates, so 1024x1024 should work no? Or is it because of the seams on the edges? Do those not also appear with 512x512 or does it sample outside of the box?
Separately, why not use this approach on nv40 as well? I can't imagine the blitter would be faster... does this result in lower quality?
Quoted 86 lines · Hans de Goede
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 <[email protected]>--- src/gallium/drivers/nouveau/nv30/nv30_miptree.c | 55 ++++++++++++++++++++++++- 1 file changed, 54 insertions(+), 1 deletion(-)src/gallium/drivers/nouveau/nv30/nv30_miptree.c +54
-2@@ -149,6 +149,56 @@ static void nv30_resource_resolve(struct nv30_context *nv30, const struct pipe_blit_info *info) { + struct nv30_miptree *src_mt = nv30_miptree(info->src.resource); +struct nv30_rect src, dst; +unsigned x, x0, x1, y, y1, w, h; + +define_rect (info->src.resource,0 , info->src.box.z, info->src.box.x, + info->src.box.y, info->src.box.width, info->src.box.height, &src); +define_rect (info->dst.resource,0 , info->dst.box.z, info->dst.box.x, + info->dst.box.y, info->dst.box.width, info->dst.box.height, &dst); + + x0 = src.x0; + x1 = src.x1; + y1 = src.y1; + +/* On nv3x we must use sifm which is restricted to 512x512 tiles */ +for (y = src.y0; y < y1; y += h) { + h = y1 - y; +if (h >512 ) + h =512 ; + + src.y0 =0 ; + src.y1 = h; + src.h = h; + + dst.y1 = dst.y0 + (h >> src_mt->ms_y); + dst.h = h >> src_mt->ms_y; + +for (x = x0; x < x1; x += w) { + w = x1 - x; +if (w >512 ) + w =512 ; + + src.offset = y * src.pitch + x * src.cpp; + src.x0 =0 ; + src.x1 = w; + src.w = w; + + dst.offset = (y >> src_mt->ms_y) * dst.pitch + + (x >> src_mt->ms_x) * dst.cpp; + dst.x1 = dst.x0 + (w >> src_mt->ms_x); + dst.w = w >> src_mt->ms_x; + +nv30_transfer_rect (nv30,BILINEAR , &src, &dst); + } + } +} + +static void +nv40_resource_resolve (struct nv30_context *nv30, +const struct pipe_blit_info *info) +{struct nv30_rect src, dst; define_rect(info->src.resource, 0, info->src.box.z, info->src.box.x,@@ -170,7 +220,10 @@ nv30_blit(struct pipe_context *pipe, info.dst.resource->nr_samples <= 1 && !util_format_is_depth_or_stencil(info.src.resource->format) && !util_format_is_pure_integer(info.src.resource->format)) { -nv30_resource_resolve (nv30, blit_info); +if (nv30->screen->eng3d->oclass >=NV40_3D_CLASS ) +nv40_resource_resolve (nv30, blit_info); +else +nv30_resource_resolve (nv30, blit_info);return ; } --
Quoted 2 lines
2.4.3
_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
A message that is not in the archive (sent off-list or not yet received): CAKb7Uvhk56knb4ovaSrMDrOXKQq4ODJm3n1xhwQ+q=2jiNGbvA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org
Re: [PATCH mesa 2/3] nv30: Fix color resolving for nv3x cards
Hi,
Quoted 4 lines · Ilia Mirkin
May I ask why you're doing 512x512 instead of 1024x1024? These are already scaled up coordinates, so 1024x1024 should work no? Or is it because of the seams on the edges? Do those not also appear with 512x512 or does it sample outside of the box?
This is my bad because of the bug fixed by patch 1/3 I had 512x512 in there for a while, I've moved back and forth between 512 and 1024 a couple of times.
I've also tried 2048 but the hardware does not like that.
I will retest with 1024 and submit a fixed version.
I've not noticed any seams on the edges, even though I've been actively looking for them.
Quoted 2 lines
Separately, why not use this approach on nv40 as well? I can't imagine the blitter would be faster... does this result in lower quality?
I've the feeling the sifm bilinear filtering is more "blurry" then the blitter one. I will do some more objective (ahem) tests on nv4x and get back to you on this.
Regards,
Hans
Quoted 87 lines · Hans de Goede
Quoted 85 lines
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 <[email protected]>--- src/gallium/drivers/nouveau/nv30/nv30_miptree.c | 55 ++++++++++++++++++++++++- 1 file changed, 54 insertions(+), 1 deletion(-)src/gallium/drivers/nouveau/nv30/nv30_miptree.c +54
-1@@ -149,6 +149,56 @@ static void nv30_resource_resolve(struct nv30_context *nv30, const struct pipe_blit_info *info) { + struct nv30_miptree *src_mt = nv30_miptree(info->src.resource); +struct nv30_rect src, dst; +unsigned x, x0, x1, y, y1, w, h; + +define_rect (info->src.resource,0 , info->src.box.z, info->src.box.x, + info->src.box.y, info->src.box.width, info->src.box.height, &src); +define_rect (info->dst.resource,0 , info->dst.box.z, info->dst.box.x, + info->dst.box.y, info->dst.box.width, info->dst.box.height, &dst); + + x0 = src.x0; + x1 = src.x1; + y1 = src.y1; + +/* On nv3x we must use sifm which is restricted to 512x512 tiles */ +for (y = src.y0; y < y1; y += h) { + h = y1 - y; +if (h >512 ) + h =512 ; + + src.y0 =0 ; + src.y1 = h; + src.h = h; + + dst.y1 = dst.y0 + (h >> src_mt->ms_y); + dst.h = h >> src_mt->ms_y; + +for (x = x0; x < x1; x += w) { + w = x1 - x; +if (w >512 ) + w =512 ; + + src.offset = y * src.pitch + x * src.cpp; + src.x0 =0 ; + src.x1 = w; + src.w = w; + + dst.offset = (y >> src_mt->ms_y) * dst.pitch + + (x >> src_mt->ms_x) * dst.cpp; + dst.x1 = dst.x0 + (w >> src_mt->ms_x); + dst.w = w >> src_mt->ms_x; + +nv30_transfer_rect (nv30,BILINEAR , &src, &dst); + } + } +} + +static void +nv40_resource_resolve (struct nv30_context *nv30, +const struct pipe_blit_info *info) +{struct nv30_rect src, dst; define_rect(info->src.resource, 0, info->src.box.z, info->src.box.x,@@ -170,7 +220,10 @@ nv30_blit(struct pipe_context *pipe, info.dst.resource->nr_samples <=1 && !util_format_is_depth_or_stencil (info.src.resource->format) && !util_format_is_pure_integer(info.src.resource->format)) { -nv30_resource_resolve (nv30, blit_info); + if (nv30->screen->eng3d->oclass >= NV40_3D_CLASS) +nv40_resource_resolve (nv30, blit_info); + else +nv30_resource_resolve (nv30 ,blit_info );return ; }
Quoted 3 lines
Quoted 3 lines
--
2.4.3
_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
A message that is not in the archive (sent off-list or not yet received): [email protected]
Re: [PATCH mesa 2/3] nv30: Fix color resolving for nv3x cards
Hi,
Quoted 18 lines · Hans de Goede
Hi,
Quoted 4 lines · Ilia Mirkin
May I ask why you're doing 512x512 instead of 1024x1024? These are already scaled up coordinates, so 1024x1024 should work no? Or is it because of the seams on the edges? Do those not also appear with 512x512 or does it sample outside of the box?
This is my bad because of the bug fixed by patch 1/3 I had 512x512 in there for a while, I've moved back and forth between 512 and 1024 a couple of times.
I've also tried 2048 but the hardware does not like that.
I will retest with 1024 and submit a fixed version.
I've not noticed any seams on the edges, even though I've been actively looking for them.
Quoted 6 lines
Quoted 2 lines
Separately, why not use this approach on nv40 as well? I can't imagine the blitter would be faster... does this result in lower quality?
I've the feeling the sifm bilinear filtering is more "blurry" then the blitter one. I will do some more objective (ahem) tests on nv4x and get back to you on this.
Ok I've run some tests comparing the rendering between using the blitter and the sifm and the results seem identical, so one v2 using 1024x1024 blocks and doing so on all nv3x/nv4x cards coming up.
Regards,
Hans
_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
PATCH 3/3 nv30: Disable msaa for now because it causes lockups
In reply to Hans de Goedemsaa use on nv30 may trigger a (mesa?) bug where dmesg says:
[ 1197.850642] nouveau E[soffice.bin[3785]] fail ttm_validate [ 1197.850648] nouveau E[soffice.bin[3785]] validating bo list [ 1197.850654] nouveau E[soffice.bin[3785]] validate: -12 [ 1201.766955] nouveau E[soffice.bin[3785]] fail ttm_validate [ 1201.766961] nouveau E[soffice.bin[3785]] validating bo list [ 1201.766968] nouveau E[soffice.bin[3785]] validate: -12
After which the program using the msaa visual freezes, and eventually the entire system freezes. Disable msaa until this is fixed.
This happens on both nv3x and nv4x cards.
--- src/gallium/drivers/nouveau/nv30/nv30_screen.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+)
src/gallium/drivers/nouveau/nv30/nv30_screen.c +17 -0
@@ -319,8 +319,25 @@ nv30_screen_is_format_supported(struct pipe_screen *pscreen, unsigned sample_count, unsigned bindings) { +/* +* msaa use on nv30 may trigger a (mesa?) bug where dmesg says: +* [ 1197.850642] nouveau E[soffice.bin[3785]] fail ttm_validate +* [ 1197.850648] nouveau E[soffice.bin[3785]] validating bo list +* [ 1197.850654] nouveau E[soffice.bin[3785]] validate: -12 +* [ 1201.766955] nouveau E[soffice.bin[3785]] fail ttm_validate +* [ 1201.766961] nouveau E[soffice.bin[3785]] validating bo list +* [ 1201.766968] nouveau E[soffice.bin[3785]] validate: -12 +* +* After which the program using the msaa visual freezes, and eventually +* the entire system freezes. Disable msaa until this is fixed. +*/ +#if 1 +if (sample_count >0 ) +#else if (sample_count > 4) +#endif return false; +if (!(0x00000017 & (1 << sample_count)))return false;
Signature · 6 lines
2.4.3 _______________________________________________ mesa-dev mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-dev
Re: [PATCH mesa 3/3] nv30: Disable msaa for now because it causes lockups
Quoted 8 lines · Hans de Goede
msaa use on nv30 may trigger a (mesa?) bug where dmesg says:
[ 1197.850642] nouveau E[soffice.bin[3785]] fail ttm_validate [ 1197.850648] nouveau E[soffice.bin[3785]] validating bo list [ 1197.850654] nouveau E[soffice.bin[3785]] validate: -12 [ 1201.766955] nouveau E[soffice.bin[3785]] fail ttm_validate [ 1201.766961] nouveau E[soffice.bin[3785]] validating bo list [ 1201.766968] nouveau E[soffice.bin[3785]] validate: -12
Quoted 4 lines
After which the program using the msaa visual freezes, and eventually the entire system freezes. Disable msaa until this is fixed.
This happens on both nv3x and nv4x cards.
Ugh. This is aka "you ran out of vram, goodbye". We don't really handle that case extremely well. I feel really bad doing this :( The issue is anachronistic applications like soffice that don't keep with the limitations of GPUs of the days of yore. So we end up penalizing people who do use applications of the day.
But the practical issue is that people do upgrade, and people do run these applications, and so it makes sense to keep it off by default. Could I convince you to use debug_get_int_option (or something along those lines, forget the function name) to still allow an env var override? Like NV30_MAX_MSAA or something (and clamp it to 4 so people don't get ideas).
Quoted 37 lines
Signed-off-by Hans de Goede <[email protected]>--- src/gallium/drivers/nouveau/nv30/nv30_screen.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+)src/gallium/drivers/nouveau/nv30/nv30_screen.c +17
-1@@ -319,8 +319,25 @@ nv30_screen_is_format_supported(struct pipe_screen *pscreen, unsigned sample_count, unsigned bindings) { +/* +* msaa use on nv30 may trigger a (mesa?) bug where dmesg says: +* [ 1197.850642] nouveau E[soffice.bin[3785]] fail ttm_validate +* [ 1197.850648] nouveau E[soffice.bin[3785]] validating bo list +* [ 1197.850654] nouveau E[soffice.bin[3785]] validate: -12 +* [ 1201.766955] nouveau E[soffice.bin[3785]] fail ttm_validate +* [ 1201.766961] nouveau E[soffice.bin[3785]] validating bo list +* [ 1201.766968] nouveau E[soffice.bin[3785]] validate: -12 +* +* After which the program using the msaa visual freezes, and eventually +* the entire system freezes. Disable msaa until this is fixed. +*/ +#if 1 +if (sample_count >0 ) +#else if (sample_count > 4) +#endif return false; +if (!(0x00000017 & (1 << sample_count)))return false; --
Quoted 2 lines
2.4.3
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev
Re: [PATCH mesa 3/3] nv30: Disable msaa for now because it causes lockups
Hi,
Quoted 9 lines · Ilia Mirkin
Quoted 8 lines · Hans de Goede
msaa use on nv30 may trigger a (mesa?) bug where dmesg says:
[ 1197.850642] nouveau E[soffice.bin[3785]] fail ttm_validate [ 1197.850648] nouveau E[soffice.bin[3785]] validating bo list [ 1197.850654] nouveau E[soffice.bin[3785]] validate: -12 [ 1201.766955] nouveau E[soffice.bin[3785]] fail ttm_validate [ 1201.766961] nouveau E[soffice.bin[3785]] validating bo list [ 1201.766968] nouveau E[soffice.bin[3785]] validate: -12
Quoted 6 lines
Quoted 4 lines
After which the program using the msaa visual freezes, and eventually the entire system freezes. Disable msaa until this is fixed.
This happens on both nv3x and nv4x cards.
Ugh. This is aka "you ran out of vram, goodbye".
Ah right 12 == ENOMEM. This also explains why I can reproduce this much easier on a 64 MB nv34 card then on my nv46 card which has more RAM.
Quoted 6 lines
We don't really
handle that case extremely well. I feel really bad doing this :( The issue is anachronistic applications like soffice that don't keep with the limitations of GPUs of the days of yore. So we end up penalizing people who do use applications of the day.
Quoted 6 lines
But the practical issue is that people do upgrade, and people do run these applications, and so it makes sense to keep it off by default. Could I convince you to use
debug_get_int_option(or something along those lines, forget the function name) to still allow an env var override? LikeNV30_MAX_MSAAor something (and clamp it to 4 so people don't get ideas).
Using debug_get_int_option and defaulting it to 0 sounds like a good idea, I'll do a v2 using this, and I'll update the comment / commit message to reflect that this is caused by the applications causing us to go oom.
Regards,
Hans
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev
A message that is not in the archive (sent off-list or not yet received): [email protected]
Re: [PATCH mesa 3/3] nv30: Disable msaa for now because it causes lockups
Quoted 17 lines · Hans de Goede
Hi,
Quoted 14 lines · Ilia Mirkin
Quoted 12 lines · Hans de Goede
msaa use on nv30 may trigger a (mesa?) bug where dmesg says:
[ 1197.850642] nouveau E[soffice.bin[3785]] fail ttm_validate [ 1197.850648] nouveau E[soffice.bin[3785]] validating bo list [ 1197.850654] nouveau E[soffice.bin[3785]] validate: -12 [ 1201.766955] nouveau E[soffice.bin[3785]] fail ttm_validate [ 1201.766961] nouveau E[soffice.bin[3785]] validating bo list [ 1201.766968] nouveau E[soffice.bin[3785]] validate: -12After which the program using the msaa visual freezes, and eventually the entire system freezes. Disable msaa until this is fixed.
Quoted 8 lines
Quoted 4 lines
Quoted 1 line
This happens on both nv3x and nv4x cards.
Ugh. This is aka "you ran out of vram, goodbye".
Ah right 12 == ENOMEM. This also explains why I can reproduce this much easier on a 64 MB nv34 card then on my nv46 card which has more RAM.
I wonder if we can "solve" this one by flushing more often etc in the 3D driver, it's really hard to say without knowing the (set of) operation(s) that the kernel is rejecting though...
Quoted 20 lines
Quoted 7 lines
We don't really
handle that case extremely well. I feel really bad doing this :( The issue is anachronistic applications like soffice that don't keep with the limitations of GPUs of the days of yore. So we end up penalizing people who do use applications of the day.Quoted 6 lines
But the practical issue is that people do upgrade, and people do run these applications, and so it makes sense to keep it off by default. Could I convince you to use
debug_get_int_option(or something along those lines, forget the function name) to still allow an env var override? LikeNV30_MAX_MSAAor something (and clamp it to 4 so people don't get ideas).Using
debug_get_int_optionand defaulting it to 0 sounds like a good idea, I'll do a v2 using this, and I'll update the comment / commit message to reflect that this is caused by the applications causing us to go oom.
Quoted 8 lines
Regards,
Hans
_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
A message that is not in the archive (sent off-list or not yet received): 1441655450-9336-1-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org
Ilia Mirkin
Reviewed-byYeah, I noticed this was odd too when looking over the code earlier. Glad you picked up on that as well.
Quoted 35 lines · Hans de Goede
The sifm object has a limit of 1024x1024 for its input size and 2048x2048 for its output. The code checking this was trying to be clever resulting in it seeing a surface of e.g 1024x256 being outside of the input size limit.
This commit fixes this.
Signed-off-by Hans de Goede <[email protected]>--- src/gallium/drivers/nouveau/nv30/nv30_transfer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)src/gallium/drivers/nouveau/nv30/nv30_transfer.c +2
-3@@ -371,7 +371,7 @@ nv30_transfer_rect_blit(XFER_ARGS)static bool nv30_transfer_sifm (XFER_ARGS ) { -if (!src->pitch || (src->w | src->h) >1024 || src->w <2 || src->h <2 ) +if (!src->pitch || src->w >1024 || src->h >1024 || src->w <2 || src->h <2 )return false;if (src->d >1 || dst->d >1 )@@ -381,7 +381,7 @@ nv30_transfer_sifm(XFER_ARGS)return false;if (!dst->pitch) { -if ((dst->w | dst->h) >2048 || dst->w <2 || dst->h <2 ) +if (dst->w >2048 || dst->h >2048 || dst->w <2 || dst->h <2 )return false; }else {if (dst->domain !=NOUVEAU_BO_VRAM ) --
Quoted 2 lines
2.4.3
_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau