search for: radeon_gem_object_open

Displaying 17 results from an estimated 17 matches for "radeon_gem_object_open".

2020 Sep 15
1
[PATCH v2 12/21] drm/radeon: Introduce GEM object functions
...r_irq_preinstall_kms(struct drm_device *dev); int radeon_driver_irq_postinstall_kms(struct drm_device *dev); void radeon_driver_irq_uninstall_kms(struct drm_device *dev); irqreturn_t radeon_driver_irq_handler_kms(int irq, void *arg); -void radeon_gem_object_free(struct drm_gem_object *obj); -int radeon_gem_object_open(struct drm_gem_object *obj, - struct drm_file *file_priv); -void radeon_gem_object_close(struct drm_gem_object *obj, - struct drm_file *file_priv); -struct dma_buf *radeon_gem_prime_export(struct drm_gem_object *gobj, - int flags); extern int radeon_get_crtc_scanoutpos(struct drm_device...
2020 Aug 13
2
[PATCH 12/20] drm/radeon: Introduce GEM object functions
...drm_device *dev); > int radeon_driver_irq_postinstall_kms(struct drm_device *dev); > void radeon_driver_irq_uninstall_kms(struct drm_device *dev); > irqreturn_t radeon_driver_irq_handler_kms(int irq, void *arg); > -void radeon_gem_object_free(struct drm_gem_object *obj); > -int radeon_gem_object_open(struct drm_gem_object *obj, > - struct drm_file *file_priv); > -void radeon_gem_object_close(struct drm_gem_object *obj, > - struct drm_file *file_priv); > -struct dma_buf *radeon_gem_prime_export(struct drm_gem_object *gobj, > - int flags); > extern int radeon_get_crt...
2020 Sep 15
0
[PATCH v2 12/21] drm/radeon: Introduce GEM object functions
...drm_device *dev); > int radeon_driver_irq_postinstall_kms(struct drm_device *dev); > void radeon_driver_irq_uninstall_kms(struct drm_device *dev); > irqreturn_t radeon_driver_irq_handler_kms(int irq, void *arg); > -void radeon_gem_object_free(struct drm_gem_object *obj); > -int radeon_gem_object_open(struct drm_gem_object *obj, > - struct drm_file *file_priv); > -void radeon_gem_object_close(struct drm_gem_object *obj, > - struct drm_file *file_priv); > -struct dma_buf *radeon_gem_prime_export(struct drm_gem_object *gobj, > - int flags); > extern int radeon_get_crt...
2020 Aug 13
0
[PATCH 12/20] drm/radeon: Introduce GEM object functions
...r_irq_preinstall_kms(struct drm_device *dev); int radeon_driver_irq_postinstall_kms(struct drm_device *dev); void radeon_driver_irq_uninstall_kms(struct drm_device *dev); irqreturn_t radeon_driver_irq_handler_kms(int irq, void *arg); -void radeon_gem_object_free(struct drm_gem_object *obj); -int radeon_gem_object_open(struct drm_gem_object *obj, - struct drm_file *file_priv); -void radeon_gem_object_close(struct drm_gem_object *obj, - struct drm_file *file_priv); -struct dma_buf *radeon_gem_prime_export(struct drm_gem_object *gobj, - int flags); extern int radeon_get_crtc_scanoutpos(struct drm_device...
2020 Aug 13
0
[PATCH 12/20] drm/radeon: Introduce GEM object functions
...t;> ? int radeon_driver_irq_postinstall_kms(struct drm_device *dev); >> ? void radeon_driver_irq_uninstall_kms(struct drm_device *dev); >> ? irqreturn_t radeon_driver_irq_handler_kms(int irq, void *arg); >> -void radeon_gem_object_free(struct drm_gem_object *obj); >> -int radeon_gem_object_open(struct drm_gem_object *obj, >> -??????????????? struct drm_file *file_priv); >> -void radeon_gem_object_close(struct drm_gem_object *obj, >> -??????????????? struct drm_file *file_priv); >> -struct dma_buf *radeon_gem_prime_export(struct drm_gem_object *gobj, >> -?????...
2023 Feb 14
3
[PATCH] drm/gem: Expose the buffer object handle to userspace last
...ty issue without this change. A couple drivers like qxl_gem_object_open and vmw_gem_object_open implement no-op hooks so no impact for them. A bunch of other require a deeper look by individual owners to asses for impact. Those are lima_gem_object_open, nouveau_gem_object_open, panfrost_gem_open, radeon_gem_object_open and virtio_gpu_gem_object_open. Putting aside the risk assesment of the above, some common scenarios to think about are along these lines: 1) Userspace closes a handle by speculatively "guessing" it from a second thread. This results in an unreachable buffer object so, a memory leak....
2023 Feb 14
3
[PATCH] drm/gem: Expose the buffer object handle to userspace last
...ty issue without this change. A couple drivers like qxl_gem_object_open and vmw_gem_object_open implement no-op hooks so no impact for them. A bunch of other require a deeper look by individual owners to asses for impact. Those are lima_gem_object_open, nouveau_gem_object_open, panfrost_gem_open, radeon_gem_object_open and virtio_gpu_gem_object_open. Putting aside the risk assesment of the above, some common scenarios to think about are along these lines: 1) Userspace closes a handle by speculatively "guessing" it from a second thread. This results in an unreachable buffer object so, a memory leak....
2023 Feb 20
2
[PATCH] drm/gem: Expose the buffer object handle to userspace last
...ers like qxl_gem_object_open and vmw_gem_object_open >> implement no-op hooks so no impact for them. >> >> A bunch of other require a deeper look by individual owners to asses for >> impact. Those are lima_gem_object_open, nouveau_gem_object_open, >> panfrost_gem_open, radeon_gem_object_open and virtio_gpu_gem_object_open. >> >> Putting aside the risk assesment of the above, some common scenarios to >> think about are along these lines: >> >> 1) >> Userspace closes a handle by speculatively "guessing" it from a second >> thread. >&...
2023 Feb 20
2
[PATCH] drm/gem: Expose the buffer object handle to userspace last
...ers like qxl_gem_object_open and vmw_gem_object_open >> implement no-op hooks so no impact for them. >> >> A bunch of other require a deeper look by individual owners to asses for >> impact. Those are lima_gem_object_open, nouveau_gem_object_open, >> panfrost_gem_open, radeon_gem_object_open and virtio_gpu_gem_object_open. >> >> Putting aside the risk assesment of the above, some common scenarios to >> think about are along these lines: >> >> 1) >> Userspace closes a handle by speculatively "guessing" it from a second >> thread. >&...
2023 Feb 20
1
[PATCH] drm/gem: Expose the buffer object handle to userspace last
...gt;>> implement no-op hooks so no impact for them. >>>> >>>> A bunch of other require a deeper look by individual owners to asses >>>> for >>>> impact. Those are lima_gem_object_open, nouveau_gem_object_open, >>>> panfrost_gem_open, radeon_gem_object_open and >>>> virtio_gpu_gem_object_open. >>>> >>>> Putting aside the risk assesment of the above, some common scenarios to >>>> think about are along these lines: >>>> >>>> 1) >>>> Userspace closes a handle by speculat...
2023 Feb 20
1
[PATCH] drm/gem: Expose the buffer object handle to userspace last
...gt;>> implement no-op hooks so no impact for them. >>>> >>>> A bunch of other require a deeper look by individual owners to asses >>>> for >>>> impact. Those are lima_gem_object_open, nouveau_gem_object_open, >>>> panfrost_gem_open, radeon_gem_object_open and >>>> virtio_gpu_gem_object_open. >>>> >>>> Putting aside the risk assesment of the above, some common scenarios to >>>> think about are along these lines: >>>> >>>> 1) >>>> Userspace closes a handle by speculat...
2023 Feb 14
0
[PATCH] drm/gem: Expose the buffer object handle to userspace last
...; > A couple drivers like qxl_gem_object_open and vmw_gem_object_open > implement no-op hooks so no impact for them. > > A bunch of other require a deeper look by individual owners to asses for > impact. Those are lima_gem_object_open, nouveau_gem_object_open, > panfrost_gem_open, radeon_gem_object_open and virtio_gpu_gem_object_open. > > Putting aside the risk assesment of the above, some common scenarios to > think about are along these lines: > > 1) > Userspace closes a handle by speculatively "guessing" it from a second > thread. > > This results in an unre...
2023 Feb 14
0
[Nouveau] [PATCH] drm/gem: Expose the buffer object handle to userspace last
...; > A couple drivers like qxl_gem_object_open and vmw_gem_object_open > implement no-op hooks so no impact for them. > > A bunch of other require a deeper look by individual owners to asses for > impact. Those are lima_gem_object_open, nouveau_gem_object_open, > panfrost_gem_open, radeon_gem_object_open and virtio_gpu_gem_object_open. > > Putting aside the risk assesment of the above, some common scenarios to > think about are along these lines: > > 1) > Userspace closes a handle by speculatively "guessing" it from a second > thread. > > This results in an unre...
2023 Feb 20
0
[Nouveau] [PATCH] drm/gem: Expose the buffer object handle to userspace last
...mw_gem_object_open >>> implement no-op hooks so no impact for them. >>> >>> A bunch of other require a deeper look by individual owners to asses >>> for >>> impact. Those are lima_gem_object_open, nouveau_gem_object_open, >>> panfrost_gem_open, radeon_gem_object_open and >>> virtio_gpu_gem_object_open. >>> >>> Putting aside the risk assesment of the above, some common scenarios to >>> think about are along these lines: >>> >>> 1) >>> Userspace closes a handle by speculatively "guessing" i...
2020 Aug 13
28
[PATCH 00/20] Convert all remaining drivers to GEM object functions
The GEM and PRIME related callbacks in struct drm_driver are deprecated in favor of GEM object functions in struct drm_gem_object_funcs. This patchset converts the remaining drivers to object functions and removes most of the obsolete interfaces. Patches #1 to #18 convert DRM drivers to GEM object functions, one by one. Each patch moves existing callbacks from struct drm_driver to an instance of
2020 Sep 23
25
[PATCH v3 00/22] Convert all remaining drivers to GEM object functions
The GEM and PRIME related callbacks in struct drm_driver are deprecated in favor of GEM object functions in struct drm_gem_object_funcs. This patchset converts the remaining drivers to object functions and removes most of the obsolete interfaces. Version 3 of this patchset mostly fixes drm_gem_prime_handle_to_fd and updates i.MX's dcss driver. The driver was missing from earlier versions and
2020 Sep 15
40
[PATCH v2 00/21] Convert all remaining drivers to GEM object functions
The GEM and PRIME related callbacks in struct drm_driver are deprecated in favor of GEM object functions in struct drm_gem_object_funcs. This patchset converts the remaining drivers to object functions and removes most of the obsolete interfaces. Patches #1 to #16 and #18 to #19 convert DRM drivers to GEM object functions, one by one. Each patch moves existing callbacks from struct drm_driver to