Lines Matching refs:monitors_config
256 if (!qdev->monitors_config) in qxl_add_monitors_config_modes()
296 BUG_ON(!qdev->ram_header->monitors_config); in qxl_send_monitors_config()
298 if (qdev->monitors_config->count == 0) in qxl_send_monitors_config()
301 for (i = 0 ; i < qdev->monitors_config->count ; ++i) { in qxl_send_monitors_config()
302 struct qxl_head *head = &qdev->monitors_config->heads[i]; in qxl_send_monitors_config()
329 if (!qdev->monitors_config || qxl_num_crtc <= i) in qxl_crtc_update_monitors_config()
335 oldcount = qdev->monitors_config->count; in qxl_crtc_update_monitors_config()
343 if (qdev->monitors_config->count < i + 1) in qxl_crtc_update_monitors_config()
344 qdev->monitors_config->count = i + 1; in qxl_crtc_update_monitors_config()
352 if (qdev->monitors_config->count == i + 1) in qxl_crtc_update_monitors_config()
353 qdev->monitors_config->count = i; in qxl_crtc_update_monitors_config()
359 if (head.width == qdev->monitors_config->heads[i].width && in qxl_crtc_update_monitors_config()
360 head.height == qdev->monitors_config->heads[i].height && in qxl_crtc_update_monitors_config()
361 head.x == qdev->monitors_config->heads[i].x && in qxl_crtc_update_monitors_config()
362 head.y == qdev->monitors_config->heads[i].y && in qxl_crtc_update_monitors_config()
363 oldcount == qdev->monitors_config->count) in qxl_crtc_update_monitors_config()
369 if (oldcount != qdev->monitors_config->count) in qxl_crtc_update_monitors_config()
371 oldcount, qdev->monitors_config->count, in qxl_crtc_update_monitors_config()
374 qdev->monitors_config->heads[i] = head; in qxl_crtc_update_monitors_config()
375 qdev->monitors_config->max_allowed = qxl_num_crtc; in qxl_crtc_update_monitors_config()
745 if (index >= qdev->monitors_config->max_allowed) in qxl_update_dumb_head()
775 for (i = 0; i < qdev->monitors_config->max_allowed; i++) { in qxl_calc_dumb_shadow()
1211 qdev->monitors_config = qdev->monitors_config_bo->kptr; in qxl_create_monitors_object()
1212 qdev->ram_header->monitors_config = in qxl_create_monitors_object()
1215 memset(qdev->monitors_config, 0, monitors_config_size); in qxl_create_monitors_object()
1232 qdev->monitors_config = NULL; in qxl_destroy_monitors_object()
1233 qdev->ram_header->monitors_config = 0; in qxl_destroy_monitors_object()