virtgpu: Make getparam failure sound less fatal
The current logcat error message sounds quite fatal to someone unfamiliar with virtio gpu's extensions. BUG=n/a TEST=build Change-Id: Ifd26f31b561c9103eea357717397d38280270f50 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/3169386 Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org> Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org> Tested-by: Gurchetan Singh <gurchetansingh@chromium.org> Commit-Queue: Gurchetan Singh <gurchetansingh@chromium.org>
This commit is contained in:
parent
53749c99a7
commit
73757bf2b1
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ static int virtgpu_init(struct driver *drv)
|
|||
get_param.value = (uint64_t)(uintptr_t)¶ms[i].value;
|
||||
int ret = drmIoctl(drv->fd, DRM_IOCTL_VIRTGPU_GETPARAM, &get_param);
|
||||
if (ret)
|
||||
drv_log("DRM_IOCTL_VIRTGPU_GET_PARAM failed with %s\n", strerror(errno));
|
||||
drv_log("virtgpu backend not enabling %s\n", params[i].name);
|
||||
}
|
||||
|
||||
for (uint32_t i = 0; i < ARRAY_SIZE(virtgpu_backends); i++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue