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

Kevin Brace kevinbrace at kemper.freedesktop.org
Thu Mar 12 21:04:23 UTC 2020


 drivers/gpu/drm/openchrome/openchrome_cursor.c |    5 -----
 drivers/gpu/drm/openchrome/openchrome_drv.h    |    4 ++--
 2 files changed, 2 insertions(+), 7 deletions(-)

New commits:
commit 9015129d7535784bc46936ee7f5a8e43e2d47fd5
Author: Kevin Brace <kevinbrace at gmx.com>
Date:   Thu Mar 12 14:03:04 2020 -0700

    drm/openchrome: Version bumped to 3.1.27
    
    Contains cursor disappearance fix for CN333 / CN400 / PM800 / PN800
    chipsets.
    
    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 26edb3863b47..9e00f6975d19 100644
--- a/drivers/gpu/drm/openchrome/openchrome_drv.h
+++ b/drivers/gpu/drm/openchrome/openchrome_drv.h
@@ -61,10 +61,10 @@
 
 #define DRIVER_MAJOR		3
 #define DRIVER_MINOR		1
-#define DRIVER_PATCHLEVEL	26
+#define DRIVER_PATCHLEVEL	27
 #define DRIVER_NAME		"openchrome"
 #define DRIVER_DESC		"OpenChrome DRM for VIA Technologies Chrome IGP"
-#define DRIVER_DATE		"20200204"
+#define DRIVER_DATE		"20200312"
 #define DRIVER_AUTHOR		"OpenChrome Project"
 
 
commit fe7ffc0428f3ba43d49f90e37addbce93654dec4
Author: Kevin Brace <kevinbrace at gmx.com>
Date:   Thu Mar 12 14:01:58 2020 -0700

    drm/openchrome: Cursor disappearance fix for CN400 / PM800 chipsets
    
    The code is untested, but the equivalent code for DDX UMS mode works.
    The fix also applies to CN333 and PN800 chipsets.
    
    Signed-off-by: Kevin Brace <kevinbrace at gmx.com>

diff --git a/drivers/gpu/drm/openchrome/openchrome_cursor.c b/drivers/gpu/drm/openchrome/openchrome_cursor.c
index 796955dcd209..791822682e6f 100644
--- a/drivers/gpu/drm/openchrome/openchrome_cursor.c
+++ b/drivers/gpu/drm/openchrome/openchrome_cursor.c
@@ -56,7 +56,6 @@ static void openchrome_hide_cursor(struct drm_crtc *crtc)
 	uint32_t temp;
 
 	switch (dev->pdev->device) {
-	case PCI_DEVICE_ID_VIA_PM800:
 	case PCI_DEVICE_ID_VIA_VT3157:
 	case PCI_DEVICE_ID_VIA_VT3343:
 	case PCI_DEVICE_ID_VIA_P4M900:
@@ -88,7 +87,6 @@ static void openchrome_show_cursor(struct drm_crtc *crtc)
 					crtc->dev->dev_private;
 
 	switch (dev->pdev->device) {
-	case PCI_DEVICE_ID_VIA_PM800:
 	case PCI_DEVICE_ID_VIA_VT3157:
 	case PCI_DEVICE_ID_VIA_VT3343:
 	case PCI_DEVICE_ID_VIA_P4M900:
@@ -120,7 +118,6 @@ static void openchrome_show_cursor(struct drm_crtc *crtc)
 	}
 
 	switch (dev->pdev->device) {
-	case PCI_DEVICE_ID_VIA_PM800:
 	case PCI_DEVICE_ID_VIA_VT3157:
 	case PCI_DEVICE_ID_VIA_VT3343:
 	case PCI_DEVICE_ID_VIA_P4M900:
@@ -164,7 +161,6 @@ static void openchrome_cursor_address(struct drm_crtc *crtc,
 	}
 
 	switch (dev->pdev->device) {
-	case PCI_DEVICE_ID_VIA_PM800:
 	case PCI_DEVICE_ID_VIA_VT3157:
 	case PCI_DEVICE_ID_VIA_VT3343:
 	case PCI_DEVICE_ID_VIA_P4M900:
@@ -216,7 +212,6 @@ static void openchrome_set_hi_location(struct drm_crtc *crtc,
 	}
 
 	switch (dev->pdev->device) {
-	case PCI_DEVICE_ID_VIA_PM800:
 	case PCI_DEVICE_ID_VIA_VT3157:
 	case PCI_DEVICE_ID_VIA_VT3343:
 	case PCI_DEVICE_ID_VIA_P4M900:


More information about the openchrome-devel mailing list