diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2018-08-16 17:14:42 +0200 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2018-08-17 09:57:33 +0200 |
commit | ecdf0b7ec9378bc386ce8276f16fb16d09f72812 (patch) | |
tree | 3f16b9671334c3ad2e44fb1b789895cc6764230a /src/drmmode_display.c | |
parent | 824189b3da9edc33e1a4f5c6130a043da73c1a4c (diff) |
Move DRM event queue related initialization to radeon_drm_queue_init
And make radeon_drm_queue_handler not directly accessible outside of
radeon_drm_queue.c.
(Ported from amdgpu commit 0148283984c77f7a6e97026edc3093497547e0a4)
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'src/drmmode_display.c')
-rw-r--r-- | src/drmmode_display.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/drmmode_display.c b/src/drmmode_display.c index 68d6254d..385c5b3e 100644 --- a/src/drmmode_display.c +++ b/src/drmmode_display.c @@ -2742,10 +2742,6 @@ Bool drmmode_pre_init(ScrnInfoPtr pScrn, drmmode_ptr drmmode, int cpp) xf86InitialConfiguration(pScrn, TRUE); - drmmode->event_context.version = 2; - drmmode->event_context.vblank_handler = radeon_drm_queue_handler; - drmmode->event_context.page_flip_handler = radeon_drm_queue_handler; - pRADEONEnt->has_page_flip_target = drmmode_probe_page_flip_target(pRADEONEnt); drmModeFreeResources(mode_res); |