From: kbuild test robot <lkp@intel.com>
Cc: kbuild-all@lists.01.org, Thomas Zimmermann <tzimmermann@suse.de>,
airlied@linux.ie, dri-devel@lists.freedesktop.org,
maarten.lankhorst@linux.intel.com, mripard@kernel.org,
virtualization@lists.linux-foundation.org, noralf@tronnes.org,
daniel@ffwll.ch, alexander.deucher@amd.com,
spice-devel@lists.freedesktop.org, sam@ravnborg.org,
emil.velikov@collabora.com
Subject: Re: [PATCH 5/6] drm/qxl: Use simple encoder
Date: Mon, 10 Feb 2020 17:08:49 +0800 [thread overview]
Message-ID: <202002101720.ijG62RWC%lkp@intel.com> (raw)
In-Reply-To: <20200207084135.4524-6-tzimmermann@suse.de>
[-- Attachment #1: Type: text/plain, Size: 3282 bytes --]
Hi Thomas,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on linus/master]
[also build test ERROR on v5.6-rc1 next-20200210]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]
url: https://github.com/0day-ci/linux/commits/Thomas-Zimmermann/drm-Provide-a-simple-encoder/20200210-153139
base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git bb6d3fb354c5ee8d6bde2d576eb7220ea09862b9
config: x86_64-randconfig-f002-20200210 (attached as .config)
compiler: gcc-7 (Debian 7.5.0-3) 7.5.0
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
drivers/gpu/drm/qxl/qxl_display.c: In function 'qdev_output_init':
>> drivers/gpu/drm/qxl/qxl_display.c:1103:31: error: incompatible type for argument 2 of 'drm_simple_encoder_init'
drm_simple_encoder_init(dev, qxl_output->enc, DRM_MODE_ENCODER_VIRTUAL,
^~~~~~~~~~
In file included from include/drm/drm_modeset_helper_vtables.h:33:0,
from include/drm/drm_atomic_helper.h:32,
from drivers/gpu/drm/qxl/qxl_display.c:30:
include/drm/drm_encoder.h:194:5: note: expected 'struct drm_encoder *' but argument is of type 'struct drm_encoder'
int drm_simple_encoder_init(struct drm_device *dev,
^~~~~~~~~~~~~~~~~~~~~~~
vim +/drm_simple_encoder_init +1103 drivers/gpu/drm/qxl/qxl_display.c
1084
1085 static int qdev_output_init(struct drm_device *dev, int num_output)
1086 {
1087 struct qxl_device *qdev = dev->dev_private;
1088 struct qxl_output *qxl_output;
1089 struct drm_connector *connector;
1090 struct drm_encoder *encoder;
1091
1092 qxl_output = kzalloc(sizeof(struct qxl_output), GFP_KERNEL);
1093 if (!qxl_output)
1094 return -ENOMEM;
1095
1096 qxl_output->index = num_output;
1097
1098 connector = &qxl_output->base;
1099 encoder = &qxl_output->enc;
1100 drm_connector_init(dev, &qxl_output->base,
1101 &qxl_connector_funcs, DRM_MODE_CONNECTOR_VIRTUAL);
1102
> 1103 drm_simple_encoder_init(dev, qxl_output->enc, DRM_MODE_ENCODER_VIRTUAL,
1104 NULL);
1105
1106 /* we get HPD via client monitors config */
1107 connector->polled = DRM_CONNECTOR_POLL_HPD;
1108 encoder->possible_crtcs = 1 << num_output;
1109 drm_connector_attach_encoder(&qxl_output->base,
1110 &qxl_output->enc);
1111 drm_connector_helper_add(connector, &qxl_connector_helper_funcs);
1112
1113 drm_object_attach_property(&connector->base,
1114 qdev->hotplug_mode_update_property, 0);
1115 drm_object_attach_property(&connector->base,
1116 dev->mode_config.suggested_x_property, 0);
1117 drm_object_attach_property(&connector->base,
1118 dev->mode_config.suggested_y_property, 0);
1119 return 0;
1120 }
1121
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 34925 bytes --]
[-- Attachment #3: Type: text/plain, Size: 183 bytes --]
_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization
WARNING: multiple messages have this Message-ID (diff)
From: kbuild test robot <lkp@intel.com>
To: Thomas Zimmermann <tzimmermann@suse.de>
Cc: kbuild-all@lists.01.org, Thomas Zimmermann <tzimmermann@suse.de>,
airlied@linux.ie, dri-devel@lists.freedesktop.org,
virtualization@lists.linux-foundation.org, kraxel@redhat.com,
alexander.deucher@amd.com, spice-devel@lists.freedesktop.org,
sam@ravnborg.org, emil.velikov@collabora.com
Subject: Re: [PATCH 5/6] drm/qxl: Use simple encoder
Date: Mon, 10 Feb 2020 17:08:49 +0800 [thread overview]
Message-ID: <202002101720.ijG62RWC%lkp@intel.com> (raw)
In-Reply-To: <20200207084135.4524-6-tzimmermann@suse.de>
[-- Attachment #1: Type: text/plain, Size: 3282 bytes --]
Hi Thomas,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on linus/master]
[also build test ERROR on v5.6-rc1 next-20200210]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]
url: https://github.com/0day-ci/linux/commits/Thomas-Zimmermann/drm-Provide-a-simple-encoder/20200210-153139
base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git bb6d3fb354c5ee8d6bde2d576eb7220ea09862b9
config: x86_64-randconfig-f002-20200210 (attached as .config)
compiler: gcc-7 (Debian 7.5.0-3) 7.5.0
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
drivers/gpu/drm/qxl/qxl_display.c: In function 'qdev_output_init':
>> drivers/gpu/drm/qxl/qxl_display.c:1103:31: error: incompatible type for argument 2 of 'drm_simple_encoder_init'
drm_simple_encoder_init(dev, qxl_output->enc, DRM_MODE_ENCODER_VIRTUAL,
^~~~~~~~~~
In file included from include/drm/drm_modeset_helper_vtables.h:33:0,
from include/drm/drm_atomic_helper.h:32,
from drivers/gpu/drm/qxl/qxl_display.c:30:
include/drm/drm_encoder.h:194:5: note: expected 'struct drm_encoder *' but argument is of type 'struct drm_encoder'
int drm_simple_encoder_init(struct drm_device *dev,
^~~~~~~~~~~~~~~~~~~~~~~
vim +/drm_simple_encoder_init +1103 drivers/gpu/drm/qxl/qxl_display.c
1084
1085 static int qdev_output_init(struct drm_device *dev, int num_output)
1086 {
1087 struct qxl_device *qdev = dev->dev_private;
1088 struct qxl_output *qxl_output;
1089 struct drm_connector *connector;
1090 struct drm_encoder *encoder;
1091
1092 qxl_output = kzalloc(sizeof(struct qxl_output), GFP_KERNEL);
1093 if (!qxl_output)
1094 return -ENOMEM;
1095
1096 qxl_output->index = num_output;
1097
1098 connector = &qxl_output->base;
1099 encoder = &qxl_output->enc;
1100 drm_connector_init(dev, &qxl_output->base,
1101 &qxl_connector_funcs, DRM_MODE_CONNECTOR_VIRTUAL);
1102
> 1103 drm_simple_encoder_init(dev, qxl_output->enc, DRM_MODE_ENCODER_VIRTUAL,
1104 NULL);
1105
1106 /* we get HPD via client monitors config */
1107 connector->polled = DRM_CONNECTOR_POLL_HPD;
1108 encoder->possible_crtcs = 1 << num_output;
1109 drm_connector_attach_encoder(&qxl_output->base,
1110 &qxl_output->enc);
1111 drm_connector_helper_add(connector, &qxl_connector_helper_funcs);
1112
1113 drm_object_attach_property(&connector->base,
1114 qdev->hotplug_mode_update_property, 0);
1115 drm_object_attach_property(&connector->base,
1116 dev->mode_config.suggested_x_property, 0);
1117 drm_object_attach_property(&connector->base,
1118 dev->mode_config.suggested_y_property, 0);
1119 return 0;
1120 }
1121
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 34925 bytes --]
[-- Attachment #3: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
WARNING: multiple messages have this Message-ID (diff)
From: kbuild test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH 5/6] drm/qxl: Use simple encoder
Date: Mon, 10 Feb 2020 17:08:49 +0800 [thread overview]
Message-ID: <202002101720.ijG62RWC%lkp@intel.com> (raw)
In-Reply-To: <20200207084135.4524-6-tzimmermann@suse.de>
[-- Attachment #1: Type: text/plain, Size: 3362 bytes --]
Hi Thomas,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on linus/master]
[also build test ERROR on v5.6-rc1 next-20200210]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]
url: https://github.com/0day-ci/linux/commits/Thomas-Zimmermann/drm-Provide-a-simple-encoder/20200210-153139
base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git bb6d3fb354c5ee8d6bde2d576eb7220ea09862b9
config: x86_64-randconfig-f002-20200210 (attached as .config)
compiler: gcc-7 (Debian 7.5.0-3) 7.5.0
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
drivers/gpu/drm/qxl/qxl_display.c: In function 'qdev_output_init':
>> drivers/gpu/drm/qxl/qxl_display.c:1103:31: error: incompatible type for argument 2 of 'drm_simple_encoder_init'
drm_simple_encoder_init(dev, qxl_output->enc, DRM_MODE_ENCODER_VIRTUAL,
^~~~~~~~~~
In file included from include/drm/drm_modeset_helper_vtables.h:33:0,
from include/drm/drm_atomic_helper.h:32,
from drivers/gpu/drm/qxl/qxl_display.c:30:
include/drm/drm_encoder.h:194:5: note: expected 'struct drm_encoder *' but argument is of type 'struct drm_encoder'
int drm_simple_encoder_init(struct drm_device *dev,
^~~~~~~~~~~~~~~~~~~~~~~
vim +/drm_simple_encoder_init +1103 drivers/gpu/drm/qxl/qxl_display.c
1084
1085 static int qdev_output_init(struct drm_device *dev, int num_output)
1086 {
1087 struct qxl_device *qdev = dev->dev_private;
1088 struct qxl_output *qxl_output;
1089 struct drm_connector *connector;
1090 struct drm_encoder *encoder;
1091
1092 qxl_output = kzalloc(sizeof(struct qxl_output), GFP_KERNEL);
1093 if (!qxl_output)
1094 return -ENOMEM;
1095
1096 qxl_output->index = num_output;
1097
1098 connector = &qxl_output->base;
1099 encoder = &qxl_output->enc;
1100 drm_connector_init(dev, &qxl_output->base,
1101 &qxl_connector_funcs, DRM_MODE_CONNECTOR_VIRTUAL);
1102
> 1103 drm_simple_encoder_init(dev, qxl_output->enc, DRM_MODE_ENCODER_VIRTUAL,
1104 NULL);
1105
1106 /* we get HPD via client monitors config */
1107 connector->polled = DRM_CONNECTOR_POLL_HPD;
1108 encoder->possible_crtcs = 1 << num_output;
1109 drm_connector_attach_encoder(&qxl_output->base,
1110 &qxl_output->enc);
1111 drm_connector_helper_add(connector, &qxl_connector_helper_funcs);
1112
1113 drm_object_attach_property(&connector->base,
1114 qdev->hotplug_mode_update_property, 0);
1115 drm_object_attach_property(&connector->base,
1116 dev->mode_config.suggested_x_property, 0);
1117 drm_object_attach_property(&connector->base,
1118 dev->mode_config.suggested_y_property, 0);
1119 return 0;
1120 }
1121
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 34925 bytes --]
next prev parent reply other threads:[~2020-02-10 9:08 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-07 8:41 [PATCH 0/6] drm: Provide a simple encoder Thomas Zimmermann
2020-02-07 8:41 ` Thomas Zimmermann
2020-02-07 8:41 ` [PATCH 1/6] drm: Move initialization of encoder into an internal function Thomas Zimmermann
2020-02-07 8:41 ` Thomas Zimmermann
2020-02-07 8:41 ` [PATCH 2/6] drm: Add drm_simple_encoder_{init,create}() Thomas Zimmermann
2020-02-07 8:41 ` Thomas Zimmermann
2020-02-07 10:33 ` Gerd Hoffmann
2020-02-07 10:33 ` Gerd Hoffmann
2020-02-07 10:50 ` Thomas Zimmermann
2020-02-07 10:50 ` Thomas Zimmermann
2020-02-07 12:31 ` Gerd Hoffmann
2020-02-07 12:31 ` Gerd Hoffmann
2020-02-07 13:37 ` Daniel Vetter
2020-02-07 13:37 ` Daniel Vetter
2020-02-07 14:00 ` Ville Syrjälä
2020-02-07 14:00 ` Ville Syrjälä
2020-02-07 14:02 ` Thomas Zimmermann
2020-02-07 14:02 ` Thomas Zimmermann
2020-02-07 16:26 ` Daniel Vetter
2020-02-07 16:26 ` Daniel Vetter
2020-02-07 14:36 ` Noralf Trønnes
2020-02-07 14:36 ` Noralf Trønnes
2020-02-07 16:25 ` Daniel Vetter
2020-02-07 16:25 ` Daniel Vetter
2020-02-10 10:28 ` kbuild test robot
2020-02-10 10:28 ` [PATCH 2/6] drm: Add drm_simple_encoder_{init, create}() kbuild test robot
2020-02-10 10:28 ` [PATCH 2/6] drm: Add drm_simple_encoder_{init,create}() kbuild test robot
2020-02-07 8:41 ` [PATCH 3/6] drm/ast: Use simple encoder Thomas Zimmermann
2020-02-07 8:41 ` Thomas Zimmermann
2020-02-07 8:41 ` [PATCH 4/6] drm/mgag200: " Thomas Zimmermann
2020-02-07 8:41 ` Thomas Zimmermann
2020-02-07 8:41 ` [PATCH 5/6] drm/qxl: " Thomas Zimmermann
2020-02-07 8:41 ` Thomas Zimmermann
2020-02-10 9:08 ` kbuild test robot [this message]
2020-02-10 9:08 ` kbuild test robot
2020-02-10 9:08 ` kbuild test robot
2020-02-07 8:41 ` [PATCH 6/6] drm/simple-pipe: " Thomas Zimmermann
2020-02-07 8:41 ` Thomas Zimmermann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202002101720.ijG62RWC%lkp@intel.com \
--to=lkp@intel.com \
--cc=airlied@linux.ie \
--cc=alexander.deucher@amd.com \
--cc=daniel@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=emil.velikov@collabora.com \
--cc=kbuild-all@lists.01.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=noralf@tronnes.org \
--cc=sam@ravnborg.org \
--cc=spice-devel@lists.freedesktop.org \
--cc=tzimmermann@suse.de \
--cc=virtualization@lists.linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.