Displaying 7 results from an estimated 7 matches for "card16".
Did you mean:
card1
2009 Oct 18
1
[PATCH 1/2] nv04-nv40/crtc: Don't perform the LUT expansion twice.
...rc/nv_crtc.c
index 2ae36a0..9708741 100644
--- a/src/nv_crtc.c
+++ b/src/nv_crtc.c
@@ -888,8 +888,6 @@ static void nv_crtc_unlock(xf86CrtcPtr crtc)
{
}
-#define DEPTH_SHIFT(val, w) ((val << (8 - w)) | (val >> ((w << 1) - 8)))
-
static void
nv_crtc_gamma_set(xf86CrtcPtr crtc, CARD16 *red, CARD16 *green, CARD16 *blue,
int size)
@@ -901,34 +899,10 @@ nv_crtc_gamma_set(xf86CrtcPtr crtc, CARD16 *red, CARD16 *green, CARD16 *blue,
rgbs = (struct rgb *)nv_crtc->state->DAC;
- switch (crtc->scrn->depth) {
- case 15:
- /* R5G5B5 */
- /* spread 5 bits per colour...
2012 Nov 25
0
[ddx PATCH] add some missing newlines in error messages
...cPtr crtc, DisplayModePtr mode,
if (ret) {
xf86DrvMsg(crtc->scrn->scrnIndex, X_ERROR,
- "failed to set mode: %s", strerror(-ret));
+ "failed to set mode: %s\n", strerror(-ret));
return FALSE;
}
@@ -532,7 +532,7 @@ drmmode_gamma_set(xf86CrtcPtr crtc, CARD16 *red, CARD16 *green, CARD16 *blue,
size, red, green, blue);
if (ret != 0) {
xf86DrvMsg(crtc->scrn->scrnIndex, X_ERROR,
- "failed to set gamma: %s", strerror(-ret));
+ "failed to set gamma: %s\n", strerror(-ret));
}
}
--
1.7.12
2017 Dec 31
2
[PATCH] dri3: remove bogus condition for creating pixmap
...src/nouveau_dri2.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/nouveau_dri2.c b/src/nouveau_dri2.c
index cbb7b2a..07b6022 100644
--- a/src/nouveau_dri2.c
+++ b/src/nouveau_dri2.c
@@ -1076,7 +1076,7 @@ static PixmapPtr nouveau_dri3_pixmap_from_fd(ScreenPtr screen, int fd, CARD16 wi
struct nouveau_bo *bo = NULL;
struct nouveau_pixmap *nvpix;
- if (depth < 8 || depth > 32 || depth % 8)
+ if (depth < 8 || depth > 32)
return NULL;
pixmap = screen->CreatePixmap(screen, 0, 0, depth, 0);
--
2.13.6
2017 Dec 31
0
[PATCH] dri3: remove bogus condition for creating pixmap
...file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/nouveau_dri2.c b/src/nouveau_dri2.c
> index cbb7b2a..07b6022 100644
> --- a/src/nouveau_dri2.c
> +++ b/src/nouveau_dri2.c
> @@ -1076,7 +1076,7 @@ static PixmapPtr nouveau_dri3_pixmap_from_fd(ScreenPtr screen, int fd, CARD16 wi
> struct nouveau_bo *bo = NULL;
> struct nouveau_pixmap *nvpix;
>
> - if (depth < 8 || depth > 32 || depth % 8)
> + if (depth < 8 || depth > 32)
> return NULL;
>
> pixmap = screen->CreatePixmap(screen, 0,...
2020 Jul 31
0
X.Org security advisory: July 31, 2020: libX11
...ave been commited to the libX11 git repository.
libX11 1.6.10 will be released shortly and will include those patches.
https://gitlab.freedesktop.org/xorg/lib/libx11
commit 1703b9f3435079d3c6021e1ee2ec34fd4978103d (HEAD -> master)
Change the data_len parameter of _XimAttributeToValue() to CARD16
It's coming from a length in the protocol (unsigned) and passed
to functions that expect unsigned int parameters (_XCopyToArg()
and memcpy()).
commit 1a566c9e00e5f35c1f9e7f3d741a02e5170852b2
Zero out buffers in functions
It looks like uninitialized stack or h...
2020 Jul 31
0
[ANNOUNCE] libX11 1.6.10
...Free
Alan Coopersmith (1):
Fix spelling/wording issues
Alex Henrie (1):
Handle small final sigma in XConvertCase
Marko Myllynen (1):
Update Finnish compose sequences for SFS 5966:2019 standard
Matthieu Herrb (2):
Change the data_len parameter of _XimAttributeToValue() to CARD16
libX11 1.6.10
Peter Hutterer (1):
Handle ssharp in XConvertCase()
Raul Fernandes (1):
Use memcmp and memcpy
Samuel Thibault (2):
Braille: Fix default lookup
xlibi18n: Fix converting horizline keysyms to UCS
Thomas E. Dickey (4):
reduce gcc-normal warnings usi...
2018 Feb 04
1
[PATCH 1/2] dri3: remove bogus condition for creating pixmap
...uveau_dri2.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/nouveau_dri2.c b/src/nouveau_dri2.c
index cbb7b2a..ac0ca09 100644
--- a/src/nouveau_dri2.c
+++ b/src/nouveau_dri2.c
@@ -1076,13 +1076,16 @@ static PixmapPtr nouveau_dri3_pixmap_from_fd(ScreenPtr screen, int fd, CARD16 wi
struct nouveau_bo *bo = NULL;
struct nouveau_pixmap *nvpix;
- if (depth < 8 || depth > 32 || depth % 8)
+ if (depth < 8 || depth > 32)
return NULL;
pixmap = screen->CreatePixmap(screen, 0, 0, depth, 0);
if (!pixmap)
return NULL;
+ if (pixmap->drawable.bitsPe...