Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 829759
Collapse All | Expand All

(-)a/src/qxl_ums_mode.c (-3 / +1 lines)
Lines 65-71 qxl_add_mode (qxl_screen_t *qxl, ScrnInfoPtr pScrn, int width, int height, int t Link Here
65
    DisplayModePtr mode;
65
    DisplayModePtr mode;
66
66
67
    mode = screen_create_mode (pScrn, width, height, type);
67
    mode = screen_create_mode (pScrn, width, height, type);
68
    qxl->x_modes = xf86ModesAdd (qxl->x_modes, mode);
68
    pScrn->modes = qxl->x_modes = xf86ModesAdd (qxl->x_modes, mode);
69
69
70
    return mode;
70
    return mode;
71
}
71
}
72
- 
73
--
74
src/qxl_driver.c | 4 ++--
72
src/qxl_driver.c | 4 ++--
75
1 file changed, 2 insertions(+), 2 deletions(-)
73
1 file changed, 2 insertions(+), 2 deletions(-)
(-)a/src/qxl_driver.c (-4 / +2 lines)
Lines 807-814 qxl_screen_init (SCREEN_INIT_ARGS_DECL) Link Here
807
    
807
    
808
    CHECK_POINT ();
808
    CHECK_POINT ();
809
    
809
    
810
    pScreen->width = pScrn->currentMode->HDisplay;
810
    pScreen->width = qxl->primary_mode.x_res;
811
    pScreen->height = pScrn->currentMode->VDisplay;
811
    pScreen->height = qxl->primary_mode.y_res;
812
    
812
    
813
    if (!xf86CrtcScreenInit (pScreen))
813
    if (!xf86CrtcScreenInit (pScreen))
814
	return FALSE;
814
	return FALSE;
815
- 
816
--
817
src/qxl_driver.c | 4 ++++
815
src/qxl_driver.c | 4 ++++
818
1 file changed, 4 insertions(+)
816
1 file changed, 4 insertions(+)
(-)a/src/qxl_driver.c (-1 / +4 lines)
Lines 1005-1010 qxl_pre_init_common(ScrnInfoPtr pScrn) Link Here
1005
        get_bool_option (qxl->options, OPTION_DEBUG_RENDER_FALLBACKS, "QXL_DEBUG_RENDER_FALLBACKS");
1005
        get_bool_option (qxl->options, OPTION_DEBUG_RENDER_FALLBACKS, "QXL_DEBUG_RENDER_FALLBACKS");
1006
    qxl->num_heads =
1006
    qxl->num_heads =
1007
        get_int_option (qxl->options, OPTION_NUM_HEADS, "QXL_NUM_HEADS");
1007
        get_int_option (qxl->options, OPTION_NUM_HEADS, "QXL_NUM_HEADS");
1008
    if (qxl->num_heads == 0) {
1009
        xf86DrvMsg (scrnIndex, X_INFO, "QXL_NUM_HEADS not configured, defaulting to 1\n");
1010
        qxl->num_heads = 1;
1011
    }
1008
1012
1009
    qxl->deferred_fps = get_int_option(qxl->options, OPTION_SPICE_DEFERRED_FPS, "XSPICE_DEFERRED_FPS");
1013
    qxl->deferred_fps = get_int_option(qxl->options, OPTION_SPICE_DEFERRED_FPS, "XSPICE_DEFERRED_FPS");
1010
    if (qxl->deferred_fps > 0)
1014
    if (qxl->deferred_fps > 0)
1011
- 

Return to bug 829759