[openchrome-devel] drm-openchrome: Branch 'drm-next-5.3' - 2 commits - drivers/gpu/drm
Kevin Brace
kevinbrace at kemper.freedesktop.org
Wed Aug 14 22:02:49 UTC 2019
drivers/gpu/drm/openchrome/openchrome_drv.h | 4 ++--
drivers/gpu/drm/openchrome/openchrome_object.c | 3 ++-
2 files changed, 4 insertions(+), 3 deletions(-)
New commits:
commit c5fa032f38b3b2cf48c147e19856e7d7006081b3
Author: Kevin Brace <kevinbrace at gmx.com>
Date: Wed Aug 14 14:53:54 2019 -0700
drm/openchrome: Version bumped to 3.1.13
This version fixes occasional hardware cursor corruption bug. It also
fixes OS boot time crash on UniChrome Pro based VIA Technologies chipset.
Signed-off-by: Kevin Brace <kevinbrace at gmx.com>
diff --git a/drivers/gpu/drm/openchrome/openchrome_drv.h b/drivers/gpu/drm/openchrome/openchrome_drv.h
index 5317b5e2f4b2..e8b714ec188e 100644
--- a/drivers/gpu/drm/openchrome/openchrome_drv.h
+++ b/drivers/gpu/drm/openchrome/openchrome_drv.h
@@ -51,10 +51,10 @@
#define DRIVER_MAJOR 3
#define DRIVER_MINOR 1
-#define DRIVER_PATCHLEVEL 12
+#define DRIVER_PATCHLEVEL 13
#define DRIVER_NAME "openchrome"
#define DRIVER_DESC "OpenChrome DRM for VIA Technologies Chrome IGP"
-#define DRIVER_DATE "20190812"
+#define DRIVER_DATE "20190814"
#define DRIVER_AUTHOR "OpenChrome Project"
commit d4ef1a1a986d6723fd15737636e6f5f34c1647da
Author: Kevin Brace <kevinbrace at gmx.com>
Date: Wed Aug 14 12:36:46 2019 -0700
drm/openchrome: Set a proper ttm_bo_init() page_alignment parameter
Not doing so was leading to occasional memory allocation instability.
Signed-off-by: Kevin Brace <kevinbrace at gmx.com>
diff --git a/drivers/gpu/drm/openchrome/openchrome_object.c b/drivers/gpu/drm/openchrome/openchrome_object.c
index c536180b635b..927aa5b9c22c 100644
--- a/drivers/gpu/drm/openchrome/openchrome_object.c
+++ b/drivers/gpu/drm/openchrome/openchrome_object.c
@@ -138,7 +138,8 @@ int openchrome_bo_create(struct drm_device *dev,
size,
type,
&bo->placement,
- PAGE_SIZE, false, acc_size,
+ PAGE_SIZE >> PAGE_SHIFT,
+ false, acc_size,
NULL, NULL,
openchrome_bo_destroy);
if (ret) {
More information about the openchrome-devel
mailing list