xserver/hw/xfree86/drivers/modesetting
Keith Packard 5a541bd5e7 modesetting: [v2] Don't re-enable the cursor when loading the image
Hidden cursors also have their image updated; re-enabling the cursor
each time the image is set will cause it to re-appear.

 * Unifies the code that was in  drmmode_load_cursor_argb and
  drm_mode_show_cursor and moves it to a new drmmode_set_cursor

 * Add a new boolean, 'cursor_up', to the per-crtc
   private data to track whether the cursor should be displayed.

 * Call drmmode_set_cursor from drm_mode_show_cursor and, if
   the cursor should be displayed, from drm_mode_load_cursor_argb.

v2: Call drmModeSetCursor2 when loading a new cursor image if the
    cursor should be displayed.

Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
2014-12-18 10:04:48 -08:00
..
Makefile.am modesetting: Move dumb_bo into its own source files. 2014-12-11 11:26:19 -08:00
dri2.c modesetting: Add support for DRI2 with glamor. 2014-10-27 13:16:43 -07:00
driver.c modesetting: Use GBM for buffer allocations if Glamor supports it. 2014-12-11 11:26:19 -08:00
driver.h modesetting: Move Bool glamor into drmmode struct 2014-12-08 15:49:33 -08:00
drmmode_display.c modesetting: [v2] Don't re-enable the cursor when loading the image 2014-12-18 10:04:48 -08:00
drmmode_display.h modesetting: [v2] Don't re-enable the cursor when loading the image 2014-12-18 10:04:48 -08:00
dumb_bo.c modesetting: Drop dumb_bo::map_count field and dead unmap code. 2014-12-11 11:26:19 -08:00
dumb_bo.h modesetting: Drop dumb_bo::map_count field and dead unmap code. 2014-12-11 11:26:19 -08:00
modesetting.man modesetting: Add support for rendering using glamor. 2014-10-09 09:48:51 +02:00
vblank.c modesetting: Skip kernel work-around on error in crtc to kernel msc 2014-10-27 15:28:14 -07:00