Displaying 10 results from an estimated 10 matches for "badimplementation".
2019 Jan 21
2
[PATCH xf86-video-nouveau 1/2] xv: Avoid shadowed declaration of 'int i' in NVPutImage
int i is accessed outside immediate scope so leave declaration at
the highest common scope level:
1073: int ret, i;
...
// Highest common scope
...
1193: if (newTTSize <= destination_buffer->size) {
...
// Used in this scope
...
1248: } else {
...
// Used in this scope
...
1316: }
2019 Jan 21
0
[PATCH xf86-video-nouveau 2/2] xv: Avoid shadowed declaration of 'int ret' in NVPutImage
Warning reported by gcc 8.2:
nouveau_xv.c: In function ‘NVPutImage’:
nouveau_xv.c:1369:7: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
int ret = BadImplementation;
^~~
nouveau_xv.c:1073:6: note: shadowed declaration is here
int ret, i;
^~~
Fixes: a50bba6 ("xv: misc cleanups")
Cc: Ben Skeggs <bskeggs at redhat.com>
Signed-off-by: Rhys Kidd <rhyskidd at gmail.com>
---
src/nouveau_xv.c | 2 +-
1 file changed, 1 insertion(+...
2010 Jul 29
1
[PATCH] Reflow logic to make it easier to follow
...clipBoxes);
+ } else {
+ NV10PutOverlayImage(pScrn, pPriv->video_mem, offset,
+ uv_offset, id, dstPitch, &dstBox,
+ 0, 0, xb, yb,
+ npixels, nlines, src_w, src_h,
+ drw_w, drw_h, clipBoxes);
+ }
+
+ pPriv->currentBuffer ^= 1;
+ } else {
+ int ret = BadImplementation;
+
+ /* If we're not using the hw overlay, we're rendering into a pixmap
+ * and need to take a couple of additional steps...
+ */
+ PixmapPtr ppix = NVGetDrawablePixmap(pDraw);
/* Ensure pixmap is in offscreen memory */
pNv->exa_force_cp = TRUE;
@@ -1274,69 +1291,48 @@ CPU...
2016 Oct 28
0
[ANNOUNCE] xorg-server 1.18.99.902
...Goede (8):
modesetting: Fix reverse prime partial update issues on secondary GPU outputs
modesetting: Fix reverse prime update lagging on secondary GPU outputs
xf86RandR12: Move calculating of shift inside init_one_component
xf86RandR12: Fix XF86VidModeSetGamma triggering a BadImplementation error
glx: Always enable EXT_texture_from_pixmap for DRI swrast glx
Xext: Fix a memory leak
XF86VidMode: Fix free() on walked pointer
xfree86: Xorg.wrap: Do not require root rights for cards with 0 outputs
Jeremy Huddleston Sequoia (7):
dix: Make InitCoreDevices() fai...
2007 May 30
0
[PATCH] added comments
...- bpp = pScrnInfo->bitsPerPixel >> 3;
+
+ /* determine required memory size */
+
+ bpp = pScrnInfo->bitsPerPixel >> 3; // bytes per pixel
switch(id) {
case FOURCC_YV12:
@@ -886,15 +1149,21 @@ NVPutImage(ScrnInfoPtr pScrnInfo, short src_x, short src_y,
default:
return BadImplementation;
}
+ /* dstPitch = number of bytes (used + padding) per row
+ * so dstPitch / bpp = number of pixels (used + padding) per row
+ * so newSize = number of pixels for which we have to allocate RAM */
newSize = height * dstPitch / bpp;
- if (pPriv->doubleBuffer)
- newSize <<= 1;
+ if...
2016 Oct 16
2
[PATCH] exa: add GM10x acceleration support
...BEGIN_NVC0(push, NVC0_3D(VERTEX_END_GL), 1);
PUSH_DATA (push, 0);
}
diff --git a/src/nvc0_xv.c b/src/nvc0_xv.c
index d1d8f18..129c505 100644
--- a/src/nvc0_xv.c
+++ b/src/nvc0_xv.c
@@ -247,15 +247,57 @@ nvc0_xv_image_put(ScrnInfoPtr pScrn,
nouveau_pushbuf_refn (push, refs, 3))
return BadImplementation;
+ if (pNv->dev->chipset >= 0x110) {
+ BEGIN_NVC0(push, NVC0_3D(CB_SIZE), 3);
+ PUSH_DATA (push, 256);
+ PUSH_DATA (push, (pNv->scratch->offset + PVP_DATA) >> 32);
+ PUSH_DATA (push, (pNv->scratch->offset + PVP_DATA));
+ BEGIN_1IC0(push, NVC0_3D(CB_POS), 3 *...
2016 Oct 27
0
[PATCH v2 1/7] exa: add GM10x acceleration support
...BEGIN_NVC0(push, NVC0_3D(VERTEX_END_GL), 1);
PUSH_DATA (push, 0);
}
diff --git a/src/nvc0_xv.c b/src/nvc0_xv.c
index d1d8f18..129c505 100644
--- a/src/nvc0_xv.c
+++ b/src/nvc0_xv.c
@@ -247,15 +247,57 @@ nvc0_xv_image_put(ScrnInfoPtr pScrn,
nouveau_pushbuf_refn (push, refs, 3))
return BadImplementation;
+ if (pNv->dev->chipset >= 0x110) {
+ BEGIN_NVC0(push, NVC0_3D(CB_SIZE), 3);
+ PUSH_DATA (push, 256);
+ PUSH_DATA (push, (pNv->scratch->offset + PVP_DATA) >> 32);
+ PUSH_DATA (push, (pNv->scratch->offset + PVP_DATA));
+ BEGIN_1IC0(push, NVC0_3D(CB_POS), 3 *...
2016 Oct 17
0
[PATCH] exa: add GM10x acceleration support
...> PUSH_DATA (push, 0);
> }
> diff --git a/src/nvc0_xv.c b/src/nvc0_xv.c
> index d1d8f18..129c505 100644
> --- a/src/nvc0_xv.c
> +++ b/src/nvc0_xv.c
> @@ -247,15 +247,57 @@ nvc0_xv_image_put(ScrnInfoPtr pScrn,
> nouveau_pushbuf_refn (push, refs, 3))
> return BadImplementation;
>
> + if (pNv->dev->chipset >= 0x110) {
> + BEGIN_NVC0(push, NVC0_3D(CB_SIZE), 3);
> + PUSH_DATA (push, 256);
> + PUSH_DATA (push, (pNv->scratch->offset + PVP_DATA) >> 32);
> + PUSH_DATA (push, (pNv->scratch->offset + PVP_DATA));
> + BEGIN...
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
2016 Oct 27
11
[PATCH v2 0/7] Add Maxwell support
I believe I've addressed all the feedback from the first time around, and
also made fixes necessary for GM20x based on testing results. I believe
now it should actually work for all GM10x and GM20x. Further, GP10x should
be very easy to add, but without someone to actually test I didn't want to
claim support for it.
Ilia Mirkin (7):
exa: add GM10x acceleration support
hwdefs: update