[PATCH 1/2] drm: Add library for shmem backed GEM objects

2018-11-27 Thread Eric Anholt
From: Noralf Trønnes This adds a library for shmem backed GEM objects. v6: - Fix uninitialized variable issue in an error path (anholt). - Add a drm_gem_shmem_vm_open() to the fops to get proper refcounting of the pages (anholt). v5: - Drop drm_gem_shmem_prime_mmap() (Daniel Vetter) -

Re: [PATCH 1/2] drm: Add library for shmem backed GEM objects

2018-08-28 Thread kbuild test robot
Hi Noralf, I love your patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v4.19-rc1 next-20180828] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

[PATCH 1/2] drm: Add library for shmem backed GEM objects

2018-08-28 Thread Noralf Trønnes
This adds a library for shmem backed GEM objects with the necessary drm_driver callbacks. Signed-off-by: Noralf Trønnes --- Documentation/gpu/drm-kms-helpers.rst | 12 + drivers/gpu/drm/Kconfig| 6 + drivers/gpu/drm/Makefile | 1 +