configure.ac | 2 +- src/via_memmgr.c | 2 -- src/via_memmgr.h | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-)
New commits: commit 654042a3f3578ead658df9651701bfbe8cde4475 Author: Kevin Brace <kevinbr...@gmx.com> Date: Mon Jan 13 20:00:53 2020 -0600 Version bumped to 0.6.207 Signed-off-by: Kevin Brace <kevinbr...@gmx.com> diff --git a/configure.ac b/configure.ac index e35e73f..4b50a93 100644 --- a/configure.ac +++ b/configure.ac @@ -23,7 +23,7 @@ # Initialize Autoconf AC_PREREQ([2.60]) AC_INIT([xf86-video-openchrome], - [0.6.206], + [0.6.207], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg&component=Driver/openchrome], [xf86-video-openchrome]) commit ace6abe7a14a5a6730b1489b4feb75af27f9a070 Author: Kevin Brace <kevinbr...@gmx.com> Date: Mon Jan 13 19:59:24 2020 -0600 Remove 2 lines of code that touch pitch member of buffer_object struct The pitch member can be tossed out now since it is no longer being used. Signed-off-by: Kevin Brace <kevinbr...@gmx.com> diff --git a/src/via_memmgr.c b/src/via_memmgr.c index 1375969..566b34e 100644 --- a/src/via_memmgr.c +++ b/src/via_memmgr.c @@ -114,7 +114,6 @@ drm_bo_alloc(ScrnInfoPtr pScrn, unsigned int size, unsigned int alignment, int d /* Some day this will be moved to libdrm. */ args.domains = domain; args.alignment = alignment; - args.pitch = 0; args.size = size; ret = drmCommandWriteRead(pVia->drmmode.fd, DRM_VIA_GEM_CREATE, &args, sizeof(struct drm_via_gem_object)); @@ -125,7 +124,6 @@ drm_bo_alloc(ScrnInfoPtr pScrn, unsigned int size, unsigned int alignment, int d obj->map_offset = args.map_handle; obj->offset = args.offset; obj->handle = args.handle; - obj->pitch = args.pitch; obj->size = args.size; obj->domain = domain; DEBUG(ErrorF("%lu bytes of DRI2 memory allocated at %lx, handle %lu\n", diff --git a/src/via_memmgr.h b/src/via_memmgr.h index 5e78e4e..0417c62 100644 --- a/src/via_memmgr.h +++ b/src/via_memmgr.h @@ -34,7 +34,7 @@ struct buffer_object { off_t map_offset; unsigned long handle; unsigned long offset; /* Offset into fb */ - unsigned long pitch; + unsigned long pitch; /* No longer used. */ unsigned long size; void *ptr; int domain; _______________________________________________ openchrome-devel mailing list openchrome-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/openchrome-devel