aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2018-01-17 22:29:24 -0500
committerDave Airlie <airlied@redhat.com>2018-01-17 22:29:24 -0500
commit894219d7d2c37d17aad67df9a97b9a08a1426507 (patch)
treede9e91ead0e859127a2b3d618abfd95d93399dc6
parenta8750ddca918032d6349adbf9a4b6555e7db20da (diff)
parent8a510a5c75261ba0ec39155326982aa786541e29 (diff)
Merge branch 'vmwgfx-fixes-4.15' of git://people.freedesktop.org/~thomash/linux into drm-fixes
Last minute fixes for vmwgfx. One fix for a drm helper warning introduced in 4.15 One important fix for a longer standing memory corruption issue on older hardware versions. * 'vmwgfx-fixes-4.15' of git://people.freedesktop.org/~thomash/linux: drm/vmwgfx: fix memory corruption with legacy/sou connectors drm/vmwgfx: Fix a boot time warning
-rw-r--r--drivers/gpu/drm/vmwgfx/vmwgfx_kms.c2
-rw-r--r--drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c4
-rw-r--r--drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c4
3 files changed, 5 insertions, 5 deletions
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c b/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
index 641294aef165..fcd58145d0da 100644
--- a/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
+++ b/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
@@ -1863,7 +1863,7 @@ u32 vmw_get_vblank_counter(struct drm_device *dev, unsigned int pipe)
1863 */ 1863 */
1864int vmw_enable_vblank(struct drm_device *dev, unsigned int pipe) 1864int vmw_enable_vblank(struct drm_device *dev, unsigned int pipe)
1865{ 1865{
1866 return -ENOSYS; 1866 return -EINVAL;
1867} 1867}
1868 1868
1869/** 1869/**
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c b/drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c
index b8a09807c5de..3824595fece1 100644
--- a/drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c
+++ b/drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c
@@ -266,8 +266,8 @@ static const struct drm_connector_funcs vmw_legacy_connector_funcs = {
266 .set_property = vmw_du_connector_set_property, 266 .set_property = vmw_du_connector_set_property,
267 .destroy = vmw_ldu_connector_destroy, 267 .destroy = vmw_ldu_connector_destroy,
268 .reset = vmw_du_connector_reset, 268 .reset = vmw_du_connector_reset,
269 .atomic_duplicate_state = drm_atomic_helper_connector_duplicate_state, 269 .atomic_duplicate_state = vmw_du_connector_duplicate_state,
270 .atomic_destroy_state = drm_atomic_helper_connector_destroy_state, 270 .atomic_destroy_state = vmw_du_connector_destroy_state,
271 .atomic_set_property = vmw_du_connector_atomic_set_property, 271 .atomic_set_property = vmw_du_connector_atomic_set_property,
272 .atomic_get_property = vmw_du_connector_atomic_get_property, 272 .atomic_get_property = vmw_du_connector_atomic_get_property,
273}; 273};
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c b/drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c
index bc5f6026573d..63a4cd794b73 100644
--- a/drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c
+++ b/drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c
@@ -420,8 +420,8 @@ static const struct drm_connector_funcs vmw_sou_connector_funcs = {
420 .set_property = vmw_du_connector_set_property, 420 .set_property = vmw_du_connector_set_property,
421 .destroy = vmw_sou_connector_destroy, 421 .destroy = vmw_sou_connector_destroy,
422 .reset = vmw_du_connector_reset, 422 .reset = vmw_du_connector_reset,
423 .atomic_duplicate_state = drm_atomic_helper_connector_duplicate_state, 423 .atomic_duplicate_state = vmw_du_connector_duplicate_state,
424 .atomic_destroy_state = drm_atomic_helper_connector_destroy_state, 424 .atomic_destroy_state = vmw_du_connector_destroy_state,
425 .atomic_set_property = vmw_du_connector_atomic_set_property, 425 .atomic_set_property = vmw_du_connector_atomic_set_property,
426 .atomic_get_property = vmw_du_connector_atomic_get_property, 426 .atomic_get_property = vmw_du_connector_atomic_get_property,
427}; 427};