[Openchrome-devel] drm-openchrome: Branch 'drm-next-4.13' - 2 commits - drivers/gpu/drm

Kevin Brace kevinbrace at kemper.freedesktop.org
Thu Sep 14 00:19:27 UTC 2017

 drivers/gpu/drm/openchrome/via_drv.h |    6 +++---
 drivers/gpu/drm/openchrome/via_ttm.c |    1 +
 2 files changed, 4 insertions(+), 3 deletions(-)

New commits:
commit 2064175f977d9859831be653df16e3ea10415a8a
Author: Kevin Brace <kevinbrace at gmx.com>
Date:   Wed Sep 13 17:18:10 2017 -0700

    Version bumped to 3.0.44
    Made lots of changes to the code in order to be able to compile and
    work with Linux 4.13 rc5 kernel. OpenChrome DRM no longer crashes when
    booting Xubuntu 16.04.3 with Linux 4.13 rc5 kernel on HP 2133 mini-note.
    Due to many issues encountered during the porting work, it took roughly
    two months of intense effort to get here (July to September 2017).
    Changed the driver author to OpenChrome Project (i.e., dropped ‘The’
    Signed-off-by: Kevin Brace <kevinbrace at gmx.com>

diff --git a/drivers/gpu/drm/openchrome/via_drv.h b/drivers/gpu/drm/openchrome/via_drv.h
index 02d664df1683..c39ca2fdb459 100644
--- a/drivers/gpu/drm/openchrome/via_drv.h
+++ b/drivers/gpu/drm/openchrome/via_drv.h
@@ -27,14 +27,14 @@
 #ifndef _VIA_DRV_H_
 #define _VIA_DRV_H_
-#define DRIVER_AUTHOR       "The OpenChrome Project"
+#define DRIVER_AUTHOR       "OpenChrome Project"
 #define DRIVER_NAME         "openchrome"
 #define DRIVER_DESC         "OpenChrome DRM for VIA Technologies Chrome IGP"
-#define DRIVER_DATE         "20170726"
+#define DRIVER_DATE         "20170913"
 #define DRIVER_MAJOR		3
 #define DRIVER_MINOR		0
 #include <linux/module.h>
commit 3c08ec601bb1ccd5ff58a9101317b728aa7204bd
Author: Kevin Brace <kevinbrace at gmx.com>
Date:   Wed Sep 13 17:06:07 2017 -0700

    Add io_mem_pfn callback
    Commit ea642c3216cb2a60d1c0e760ae47ee85c9c16447 added this callback,
    but because it is not currently checking for a null pointer, not
    filling this field will cause the kernel to crash during boot time.
    It took hundreds of hours (40+ days) to finally discover this bug.
    Signed-off-by: Kevin Brace <kevinbrace at gmx.com>

diff --git a/drivers/gpu/drm/openchrome/via_ttm.c b/drivers/gpu/drm/openchrome/via_ttm.c
index 1fa06b45d76c..e681798cb1a3 100644
--- a/drivers/gpu/drm/openchrome/via_ttm.c
+++ b/drivers/gpu/drm/openchrome/via_ttm.c
@@ -568,6 +568,7 @@ static struct ttm_bo_driver via_bo_driver = {
 	.verify_access		= via_verify_access,
 	.io_mem_reserve		= via_ttm_io_mem_reserve,
 	.io_mem_free		= via_ttm_io_mem_free,
+	.io_mem_pfn		= ttm_bo_default_io_mem_pfn,
 int via_mm_init(struct via_device *dev_priv)

More information about the Openchrome-devel mailing list