From: Michel Dänzer <michel.daenzer@xxxxxxx> These are ports of the outstanding applicable changes from the amdgpu driver. Emil Velikov (1): Do not export the DriverRec RADEON Jim Qu (1): Wait for pending scanout update before calling drmmode_crtc_scanout_free Keith Packard (3): modesetting: Record non-desktop kernel property at PreInit time modesetting: Create CONNECTOR_ID properties for outputs [v2] Add RandR leases support Michel Dänzer (16): Ignore RADEON_DRM_QUEUE_ERROR (0) in radeon_drm_abort_entry Track DRM event queue sequence number in scanout_update_pending Abort scanout_update_pending event when possible Update RandR CRTC state if set_mode_major fails in set_desired_modes Simplify drmmode_crtc_scanout_update Don't call scanout_flip/update with a legacy RandR scanout buffer Simplify drmmode_handle_transform Set drmmode_crtc->scanout_id = 0 when TearFree is disabled Refactor drmmode_output_set_tear_free helper Wait for pending flips in drmmode_output_set_tear_free Replace 'foo == NULL' with '!foo' Call drmmode_do_crtc_dpms from drmmode_crtc_dpms as well Use drmmode_crtc_dpms in drmmode_set_desired_modes Check dimensions passed to drmmode_xf86crtc_resize Remove #if 0'd code Call drmmode_crtc_gamma_do_set from drmmode_setup_colormap configure.ac | 4 +- src/ati.c | 4 +- src/drmmode_display.c | 344 ++++++++++++++++++++++++++++------- src/drmmode_display.h | 8 +- src/evergreen_exa.c | 10 +- src/r600_exa.c | 10 +- src/radeon.h | 2 +- src/radeon_dri2.c | 12 +- src/radeon_drm_queue.c | 3 + src/radeon_exa.c | 2 +- src/radeon_exa_funcs.c | 8 +- src/radeon_exa_render.c | 6 +- src/radeon_glamor.c | 2 +- src/radeon_glamor_wrappers.c | 4 +- src/radeon_kms.c | 45 ++--- src/radeon_probe.c | 2 +- src/radeon_textured_video.c | 10 +- src/radeon_video.c | 6 +- 18 files changed, 352 insertions(+), 130 deletions(-) -- 2.18.0