diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2015-04-02 17:54:33 +0900 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2015-04-23 10:16:17 +0900 |
commit | 673e1c7637687c74fc9bdeeeffb7ace0d04b734f (patch) | |
tree | 8a64fd5fd12eda1fe73eacdde18e12b879dcda7b /src/drmmode_display.h | |
parent | 37874a4eeace5df04b02c8fc28f67b824e3f0f5f (diff) |
Defer initial modeset until the first BlockHandler invocation
This ensures that the screen pixmap contents have been initialized when
the initial modes are set.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=27757
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'src/drmmode_display.h')
-rw-r--r-- | src/drmmode_display.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/drmmode_display.h b/src/drmmode_display.h index 49b02d63..2fdd3e0d 100644 --- a/src/drmmode_display.h +++ b/src/drmmode_display.h @@ -126,7 +126,8 @@ extern void drmmode_fini(ScrnInfoPtr pScrn, drmmode_ptr drmmode); extern Bool drmmode_set_bufmgr(ScrnInfoPtr pScrn, drmmode_ptr drmmode, struct radeon_bo_manager *bufmgr); extern void drmmode_set_cursor(ScrnInfoPtr scrn, drmmode_ptr drmmode, int id, struct radeon_bo *bo); void drmmode_adjust_frame(ScrnInfoPtr pScrn, drmmode_ptr drmmode, int x, int y); -extern Bool drmmode_set_desired_modes(ScrnInfoPtr pScrn, drmmode_ptr drmmode); +extern Bool drmmode_set_desired_modes(ScrnInfoPtr pScrn, drmmode_ptr drmmode, + Bool set_hw); #if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) >= 10 extern void drmmode_copy_fb(ScrnInfoPtr pScrn, drmmode_ptr drmmode); #endif |