Commit Graph

  • 2798244be7 Make drmmode_cm_enabled an inline function Michel Dänzer 2019-03-01 17:47:24 +01:00
  • 72653455e4 Revert "Remove set but unused amdgpu_dri2::pKernelDRMVersion" Michel Dänzer 2019-03-01 17:35:48 +01:00
  • 28cd209ebf Revert "gitlab-ci: Only run docker-image stage if relevant source files change" Michel Dänzer 2019-02-27 17:35:26 +01:00
  • 09be74a3d1 dri2: Call drm_queue_handle_deferred in dri2_deferred_event Michel Dänzer 2019-02-28 17:31:55 +01:00
  • a636f42b49 present: Check that flip and screen pixmap pitches match Michel Dänzer 2019-02-27 18:43:27 +01:00
  • bd090f389f Call amdgpu_present_set_screen_vrr from amdgpu_vrr_property_update Michel Dänzer 2019-02-12 17:57:17 +01:00
  • d9be5d712d Make use of property request wrappers for VRR property Michel Dänzer 2019-02-12 12:26:25 +01:00
  • ef8fbe33b7 Wrap change/delete window property request handlers Michel Dänzer 2019-01-17 18:41:11 +01:00
  • 09a45ff8fe Don't enable the VRR support code for GPU screens Michel Dänzer 2019-02-12 13:01:04 +01:00
  • 2a3d00dc7e Don't register a window private if VRR is disabled Michel Dänzer 2019-02-12 18:12:23 +01:00
  • 5f91be77e0 gitlab-ci: Don't rely on $CI_PROJECT_NAME Michel Dänzer 2019-02-11 18:32:07 +01:00
  • 9c23076b9e gitlab-ci: Only run docker-image stage if relevant source files change Michel Dänzer 2019-02-07 17:35:13 +01:00
  • 9045fb310f Keep waiting for a pending flip if drm_handle_event returns 0 Michel Dänzer 2019-01-24 18:31:40 +01:00
  • 3ff2cc225f Call drmHandleEvent again if it was interrupted by a signal Michel Dänzer 2019-01-22 18:36:56 +01:00
  • e72a02ba1d Only update drmmode_crtc->flip_pending after actually submitting a flip Michel Dänzer 2019-01-16 10:26:59 +01:00
  • a1b479c7d0 Don't allow TearFree scanout flips to complete in the same vblank period Michel Dänzer 2019-01-15 17:55:27 +01:00
  • bf326f2ea1 glamor: Avoid glamor_create_pixmap for pixmaps backing windows Michel Dänzer 2019-01-10 18:33:04 +01:00
  • ebd32b1c07 dri2: Flush in dri2_create_buffer2 after calling glamor_set_pixmap_bo Michel Dänzer 2019-01-09 18:57:08 +01:00
  • d168532ee7 dri3: Flush if necessary in dri3_fd_from_pixmap Michel Dänzer 2019-01-09 17:24:11 +01:00
  • 2058c4c469 Only call drmmode_validate_leases if RandR is enabled Michel Dänzer 2019-01-10 17:03:04 +01:00
  • f3c0939a0c Only call drmmode_uevent_init if RandR is enabled Michel Dänzer 2019-01-10 17:00:12 +01:00
  • f3ddda618e gitlab-ci: Use kaniko instead of docker-in-docker for image generation Michel Dänzer 2018-12-17 17:54:05 +01:00
  • b689dc5081 Remove superfluous vrr_flipping field and clean up related code Michel Dänzer 2018-12-18 16:39:28 +01:00
  • 233a0be82d Don't clear info->flip_window in present_unflip Michel Dänzer 2018-12-18 16:42:53 +01:00
  • d4eab5d108 Fix crash when page flipping in multi-X-Screen/Zaphod mode Mario Kleiner 2018-12-19 07:56:15 +01:00
  • 0d60233d26 Use two HW cursor buffers per CRTC Michel Dänzer 2018-11-22 19:02:20 +01:00
  • b04697de52 Update cursor position in drmmode_show_cursor if hotspot changed Michel Dänzer 2018-11-23 18:41:00 +01:00
  • b344e1559e Use drmIoctl in drmmode_show_cursor Michel Dänzer 2018-11-23 18:22:25 +01:00
  • e95044e453 Drop AMDGPUInfoRec::cursor_buffer array Michel Dänzer 2018-11-22 17:54:45 +01:00
  • 13c85e8a13 Don't use GBM for allocating HW cursor BOs Michel Dänzer 2018-11-22 17:50:19 +01:00
  • bcfa6c258f Automatically try re-enabling TearFree after a flip failed Michel Dänzer 2018-11-21 18:32:04 +01:00
  • 4e7a24ac5a Cancel pending scanout update in drmmode_crtc_scanout_update Michel Dänzer 2018-11-21 17:54:18 +01:00
  • 500fadb162 Perform scanout buffer update immediately if drmmode_wait_vblank fails Michel Dänzer 2018-11-21 12:42:22 +01:00
  • be862ed459 Generate docker image as part of CI pipeline Michel Dänzer 2018-12-11 11:47:16 +01:00
  • b11ee02c45 Support CRTC variable refresh for windows using Present flips Nicholas Kazlauskas 2018-10-04 09:51:40 -04:00
  • 2d18b37159 Check last flip window instead of screen root before flipping Nicholas Kazlauskas 2018-11-13 09:08:01 -05:00
  • 13c94a373b Skip gamma correction of cursor data if premultiplied R/G/B > alpha Michel Dänzer 2018-11-15 16:40:46 +01:00
  • 51ba6dddee Move deferred vblank events to separate drm_vblank_deferred list Michel Dänzer 2018-11-09 11:00:04 +01:00
  • e2c7369cae Explicitly keep track of whether a DRM event is for a flip or not Michel Dänzer 2018-11-05 19:02:31 +01:00
  • eda571222f Use drm_abort_one in drm_queue_handler Michel Dänzer 2018-11-05 18:07:54 +01:00
  • 426f9a4965 Relax detection of non-premultiplied alpha cursor data Michel Dänzer 2018-11-06 12:06:20 +01:00
  • a9da219e13 Add README.md to EXTRA_DIST Michel Dänzer 2018-11-14 09:58:28 +01:00
  • 1cb338253a man: This driver supports colour depths 8, 15 and 16 Michel Dänzer 2018-10-24 18:07:31 +02:00
  • 0734cdf544 glamor: Can work at depth >= 15 with current xserver Git master Michel Dänzer 2018-10-05 12:35:37 +02:00
  • ad6dfb0124 Detect and fix up non-premultiplied cursor data Michel Dänzer 2018-10-19 11:02:41 +02:00
  • c9d43c1deb Allow up to six instances in Zaphod mode Michel Dänzer 2018-10-04 12:54:13 +02:00
  • aa572683d8 Fix condition for calling set_pixmap_bo in drmmode_xf86crtc_resize Michel Dänzer 2018-10-10 17:28:35 +02:00
  • 05a1ba9abc Add GitLab CI configuration Michel Dänzer 2018-10-02 18:01:14 +02:00
  • babbd38057 Fix --disable-glamor build Michel Dänzer 2018-10-02 17:55:03 +02:00
  • b6ee7f92cf Cast return value of amdgpu_get_marketing_name to char* Michel Dänzer 2018-10-02 17:52:10 +02:00
  • 955373a3e6 Make wait_pending_flip / handle_deferred symmetric in set_mode_major Michel Dänzer 2018-09-25 18:40:01 +02:00
  • 0cd2c337d2 Handle pending scanout update in drmmode_crtc_scanout_free Michel Dänzer 2018-09-20 17:35:40 +02:00
  • ac5b6f96e9 Convert README to markdown Michel Dänzer 2018-09-20 18:53:05 +02:00
  • 451fe96809 Post-release version bump Michel Dänzer 2018-09-20 18:48:43 +02:00
  • d5e17dc4c7 Bump version for the 18.1.0 release xf86-video-amdgpu-18.1.0 Michel Dänzer 2018-09-14 17:00:17 +02:00
  • 6572be49b7 Bail from drmmode_cm_init if there's no CRTC Michel Dänzer 2018-09-13 11:44:21 +02:00
  • ca5eb9894f Bail early from drm_wait_pending_flip if there's no pending flip Michel Dänzer 2018-08-29 18:50:45 +02:00
  • a923bedfd9 Do not push the CM_GAMMA_LUT property values in drmmode_crtc_cm_init Michel Dänzer 2018-08-31 12:44:37 +02:00
  • 26770be44b Don't use xorg_list_for_each_entry_safe for signalled flips Michel Dänzer 2018-08-29 18:49:19 +02:00
  • 7eea3e2cd7 Always delete entry from list in drm_queue_handler Michel Dänzer 2018-08-29 18:41:19 +02:00
  • b804d7f85d glamor: Handle ihandle == -1 in amdgpu_glamor_set_shared_pixmap_backing Michel Dänzer 2018-08-29 17:34:55 +02:00
  • ae2a450cb9 Handle ihandle == -1 in amdgpu_set_shared_pixmap_backing Michel Dänzer 2018-08-29 17:31:49 +02:00
  • 34e851d1f2 Use AC_CONFIG_MACRO_DIR instead of AC_CONFIG_MACRO_DIRS Michel Dänzer 2018-08-24 17:18:10 +02:00
  • afdfa2a1b6 Add m4 directory Michel Dänzer 2018-08-24 17:17:43 +02:00
  • f6cd72e64e Use correct FB handle in amdgpu_do_pageflip Michel Dänzer 2018-08-16 16:31:01 +02:00
  • 85cd8eef0c Remove drmmode_crtc_private_rec::present_vblank_* related code Michel Dänzer 2018-07-24 18:58:27 +02:00
  • e52872da69 Defer vblank event handling while waiting for a pending flip Michel Dänzer 2018-07-20 16:56:22 +02:00
  • 739181c8d3 Add amdgpu_drm_handle_event wrapper for drmHandleEvent Michel Dänzer 2018-07-25 13:00:15 +02:00
  • 6029794e8a Add amdgpu_drm_wait_pending_flip function Michel Dänzer 2018-07-20 17:07:23 +02:00
  • 0148283984 Move DRM event queue related initialization to amdgpu_drm_queue_init Michel Dänzer 2018-07-20 16:37:05 +02:00
  • 7f65a8c9e0 glamor: Check glamor module version for depth 30 support Michel Dänzer 2018-08-03 17:52:28 +02:00
  • 08c4d42f43 glamor: Use glamor_egl_create_textured_pixmap_from_gbm_bo when possible Michel Dänzer 2018-08-02 18:41:04 +02:00
  • 9b6782c821 Store FB for each CRTC in drmmode_flipdata_rec Michel Dänzer 2018-07-27 17:55:11 +02:00
  • 2989d40ef7 glamor: Set AMDGPU_CREATE_PIXMAP_DRI2 for DRI3 pixmaps Michel Dänzer 2018-07-25 18:37:48 +02:00
  • f3b2ed37d6 Use strcpy for RandR output property names Michel Dänzer 2018-07-23 18:42:39 +02:00
  • 5f06d6b8ba Remove drmmode_terminate_leases Michel Dänzer 2018-07-17 19:00:51 +02:00
  • 7cc2d4515a Remove AMDGPUInfoRec::fbcon_pixmap Michel Dänzer 2018-07-19 16:59:22 +02:00
  • 46d87187c6 Don't use DRM_IOCTL_GEM_FLINK in create_pixmap_for_fbcon Michel Dänzer 2018-07-19 12:37:42 +02:00
  • b8d8416792 Free previous xf86CrtcRec gamma LUT memory Michel Dänzer 2018-07-19 11:36:19 +02:00
  • ae8e02c6fc Hardcode "non-desktop" RandR property name Michel Dänzer 2018-07-13 10:38:56 +02:00
  • 1247be2170 Support gamma correction & colormaps at depth 30 as well Michel Dänzer 2018-07-13 18:30:04 +02:00
  • 9dfbae76b1 Move flush from radeon_scanout_do_update to its callers Michel Dänzer 2018-07-10 18:13:39 +02:00
  • ace6ea016c glamor: Bail CreatePixmap on unsupported pixmap depth Michel Dänzer 2018-07-10 18:11:04 +02:00
  • c160302abc Bail from dri2_create_buffer2 if we can't get a pixmap Michel Dänzer 2018-05-17 09:50:50 +02:00
  • 61040bdfa3 Add RandR leases support Keith Packard 2018-02-12 13:51:56 -08:00
  • ab7e39c5a0 modesetting: Create CONNECTOR_ID properties for outputs [v2] Keith Packard 2018-02-12 13:51:55 -08:00
  • 14db71a606 modesetting: Record non-desktop kernel property at PreInit time Keith Packard 2018-02-12 13:51:53 -08:00
  • baea4fa492 Call drmmode_crtc_gamma_do_set from drmmode_setup_colormap Michel Dänzer 2018-06-26 19:02:21 +02:00
  • 19a40758be Remove #if 0'd code Michel Dänzer 2018-06-27 18:36:43 +02:00
  • 8e98195e58 Don't apply gamma to HW cursor data if colour management is enabled Michel Dänzer 2018-06-26 18:40:23 +02:00
  • 606075b852 Also compose LUT when setting legacy gamma Leo Li (Sunpeng) 2018-06-15 17:05:52 -04:00
  • e0a4c0e215 Compose non-legacy with legacy regamma LUT Leo Li (Sunpeng) 2018-06-15 17:12:48 -04:00
  • e1fe46013c Enable setting of color properties via RandR Leo Li (Sunpeng) 2018-06-15 17:05:39 -04:00
  • 29de2859e2 Update color properties on output_get_property Leo Li (Sunpeng) 2018-06-15 17:05:28 -04:00
  • 639acf54b4 Configure color properties when creating output resources Leo Li (Sunpeng) 2018-06-15 17:04:58 -04:00
  • 3cf5a281d8 Initialize color properties on CRTC during CRTC init Leo Li (Sunpeng) 2018-06-15 17:04:44 -04:00
  • 810ed133cd Cache color property IDs and LUT sizes during pre-init Leo Li (Sunpeng) 2018-06-15 17:02:57 -04:00
  • 940c8b39f7 Check dimensions passed to drmmode_xf86crtc_resize Michel Dänzer 2018-06-12 18:45:08 +02:00
  • 74124f2c17 Use drmmode_crtc_dpms in drmmode_set_desired_modes Michel Dänzer 2018-05-18 12:31:57 +02:00
  • ceeacb455c Call drmmode_do_crtc_dpms from drmmode_crtc_dpms as well Michel Dänzer 2018-05-18 12:13:23 +02:00