summaryrefslogtreecommitdiff
path: root/drm_drv.h
AgeCommit message (Collapse)AuthorFilesLines
2017-12-22vmwgfx/drm: Add core support to supply legacy cursor hotspot pointersThomas Hellstrom1-0/+13
We revisit this change. Previous we added the different hotspots together just before programming the device, but that makes the plane atomic state incompatible with what's actually in the device. So add a way for the only legacy ioctl that doesn't support cursor hotspots to add the device internal legacy hotspots into the atomic plane state. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Brian Paul <brianp@vmware.com>
2017-10-25vmwgfx: Update stand alone to v4.12Sinclair Yeh1-6/+92
Mostly straight copy-and-paste from upstream, with the following notable changes * Added #undef CONFIG_DEBUG_FS in drmP.h to exclude all debugfs code * Minor updates to a few vmwgfx files due to API change * Carried over from the v4.11 update: Skipped update to drm_mm and drm_vma_manager because the switch to using interval tree makes porting difficult * Added #include <linux/highuid.h> to drm_ioctl.c to make CentOS build * Rolled in [Commit 3bacf4361cd0: drm/vmwgfx: Fix fbdev emulation using legacy functions] * Updated vmwgfx code to match upstream v4.12 code Signed-off-by: Sinclair Yeh <syeh@vmware.com> Reviewed-by: Deepak Rawat <drawat@vmware.com> Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
2017-06-14vmwgfx: Update stand alone to v4.11Sinclair Yeh1-0/+470
* Skipped update to drm_mm and drm_vma_manager because the switch to using interval tree makes porting difficult. * Added memdup_user_nul(), but replaced kmalloc_track_caller() with kmalloc() due to a compilation error. * Removed building and usage of debugfs_crc * VMWGFX_COMPAT_NO_VAF no longer seems to be required * Tested on CentOS 6.5, RHEL 6.8: 2.6.32-696 RHEL 7.3: 3.10.0-514 Ubuntu 14.04: 4.2.0-35 Ubuntu 16.04: 4.4.0-78 Ubuntu 16.04: 4.12-rc1 Signed-off-by: Sinclair Yeh <syeh@vmware.com> Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>