search for: radeon_gem

Displaying 20 results from an estimated 42 matches for "radeon_gem".

Did you mean: radeon_drm
2020 Sep 15
1
[PATCH v2 12/21] drm/radeon: Introduce GEM object functions
GEM object functions deprecate several similar callback interfaces in struct drm_driver. This patch replaces the per-driver callbacks with per-instance callbacks in radeon. v2: * move object-function instance to radeon_gem.c (Christian) * set callbacks in radeon_gem_object_create() (Christian) Signed-off-by: Thomas Zimmermann <tzimmermann at suse.de> --- drivers/gpu/drm/radeon/radeon_drv.c | 23 +-------------------- drivers/gpu/drm/radeon/radeon_gem.c | 31 +++++++++++++++++++++++++---- 2 files changed, 28...
2014 May 14
0
[RFC PATCH v1 14/16] drm/radeon: use rcu waits in some ioctls
Signed-off-by: Maarten Lankhorst <maarten.lankhorst at canonical.com> --- drivers/gpu/drm/radeon/radeon_gem.c | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_gem.c b/drivers/gpu/drm/radeon/radeon_gem.c index d09650c1d720..7ba883843668 100644 --- a/drivers/gpu/drm/radeon/radeon_gem.c +++ b/drivers/gpu/drm/radeon/radeon_gem.c @@ -107,...
2020 Sep 15
0
[PATCH v2 12/21] drm/radeon: Introduce GEM object functions
Am 15.09.20 um 16:59 schrieb Thomas Zimmermann: > GEM object functions deprecate several similar callback interfaces in > struct drm_driver. This patch replaces the per-driver callbacks with > per-instance callbacks in radeon. > > v2: > * move object-function instance to radeon_gem.c (Christian) > * set callbacks in radeon_gem_object_create() (Christian) > > Signed-off-by: Thomas Zimmermann <tzimmermann at suse.de> Reviewed-by: Christian K?nig <christian.koenig at amd.com> > --- > drivers/gpu/drm/radeon/radeon_drv.c | 23 +-------------------- &...
2024 Jan 22
2
[PATCH] mm: Remove double faults once write a device pfn
...ianrong.Zhou at amd.com> > --- > arch/x86/entry/vdso/vma.c | 3 ++- > drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | 2 +- > drivers/gpu/drm/i915/gem/i915_gem_ttm.c | 2 +- > drivers/gpu/drm/nouveau/nouveau_gem.c | 2 +- > drivers/gpu/drm/radeon/radeon_gem.c | 2 +- > drivers/gpu/drm/ttm/ttm_bo_vm.c | 8 +++++--- > drivers/gpu/drm/vmwgfx/vmwgfx_page_dirty.c | 8 +++++--- > include/drm/ttm/ttm_bo.h | 3 ++- > include/linux/mm.h | 2 +- > mm/memory.c...
2024 Jan 24
1
[PATCH] mm: Remove double faults once write a device pfn
...;>>>> drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | 2 +- >> >>>>> drivers/gpu/drm/i915/gem/i915_gem_ttm.c | 2 +- >> >>>>> drivers/gpu/drm/nouveau/nouveau_gem.c | 2 +- >> >>>>> drivers/gpu/drm/radeon/radeon_gem.c | 2 +- >> >>>>> drivers/gpu/drm/ttm/ttm_bo_vm.c | 8 +++++--- >> >>>>> drivers/gpu/drm/vmwgfx/vmwgfx_page_dirty.c | 8 +++++--- >> >>>>> include/drm/ttm/ttm_bo.h | 3 ++- >> >&...
2024 Jan 23
2
[PATCH] mm: Remove double faults once write a device pfn
...> arch/x86/entry/vdso/vma.c | 3 ++- >>> drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | 2 +- >>> drivers/gpu/drm/i915/gem/i915_gem_ttm.c | 2 +- >>> drivers/gpu/drm/nouveau/nouveau_gem.c | 2 +- >>> drivers/gpu/drm/radeon/radeon_gem.c | 2 +- >>> drivers/gpu/drm/ttm/ttm_bo_vm.c | 8 +++++--- >>> drivers/gpu/drm/vmwgfx/vmwgfx_page_dirty.c | 8 +++++--- >>> include/drm/ttm/ttm_bo.h | 3 ++- >>> include/linux/mm.h | 2 +- &...
2024 Jan 24
2
[PATCH] mm: Remove double faults once write a device pfn
...| 3 ++- >>>>> drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | 2 +- >>>>> drivers/gpu/drm/i915/gem/i915_gem_ttm.c | 2 +- >>>>> drivers/gpu/drm/nouveau/nouveau_gem.c | 2 +- >>>>> drivers/gpu/drm/radeon/radeon_gem.c | 2 +- >>>>> drivers/gpu/drm/ttm/ttm_bo_vm.c | 8 +++++--- >>>>> drivers/gpu/drm/vmwgfx/vmwgfx_page_dirty.c | 8 +++++--- >>>>> include/drm/ttm/ttm_bo.h | 3 ++- >>>>> include/linux/mm...
2020 Aug 13
2
[PATCH 12/20] drm/radeon: Introduce GEM object functions
...124,13 +124,6 @@ void radeon_driver_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...
2017 Feb 28
0
[PATCH 0/3] gpu: drm: Convert printk(KERN_<level> to pr_<level>
...deon_atpx_handler.c | 4 +- drivers/gpu/drm/radeon/radeon_audio.c | 4 +- drivers/gpu/drm/radeon/radeon_clocks.c | 2 +- drivers/gpu/drm/radeon/radeon_device.c | 8 ++-- drivers/gpu/drm/radeon/radeon_fb.c | 3 +- drivers/gpu/drm/radeon/radeon_gem.c | 4 +- drivers/gpu/drm/radeon/radeon_test.c | 6 +-- drivers/gpu/drm/radeon/rs400.c | 4 +- drivers/gpu/drm/radeon/rs690.c | 3 +- drivers/gpu/drm/radeon/rv515.c | 9 ++-- drivers/gpu/drm/radeon/si.c...
2014 Jul 09
0
[PATCH 00/17] Convert TTM to the new fence interface.
....h | 15 - > drivers/gpu/drm/radeon/radeon_cs.c | 10 + > drivers/gpu/drm/radeon/radeon_device.c | 60 ++++ > drivers/gpu/drm/radeon/radeon_display.c | 21 + > drivers/gpu/drm/radeon/radeon_fence.c | 283 +++++++++++++++---- > drivers/gpu/drm/radeon/radeon_gem.c | 19 + > drivers/gpu/drm/radeon/radeon_object.c | 8 - > drivers/gpu/drm/radeon/radeon_ttm.c | 34 -- > drivers/gpu/drm/radeon/radeon_uvd.c | 10 - > drivers/gpu/drm/radeon/radeon_vm.c | 16 + > drivers/gpu/drm/ttm/ttm_bo.c | 18...
2020 Sep 23
25
[PATCH v3 00/22] Convert all remaining drivers to GEM object functions
...ivers/gpu/drm/omapdrm/omap_drv.c | 9 -- drivers/gpu/drm/omapdrm/omap_gem.c | 18 +++- drivers/gpu/drm/omapdrm/omap_gem.h | 2 - drivers/gpu/drm/pl111/pl111_drv.c | 5 +- drivers/gpu/drm/radeon/radeon_drv.c | 23 +---- drivers/gpu/drm/radeon/radeon_gem.c | 31 ++++++- drivers/gpu/drm/rockchip/rockchip_drm_drv.c | 5 -- drivers/gpu/drm/rockchip/rockchip_drm_gem.c | 12 ++- drivers/gpu/drm/tegra/drm.c | 4 - drivers/gpu/drm/tegra/gem.c | 8 ++ drivers/gpu/drm/vc4/vc4_bo.c | 21 ++...
2020 Aug 13
0
[PATCH 12/20] drm/radeon: Introduce GEM object functions
...eon_driver_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...
2020 Sep 29
0
[PATCH v3 3/7] drm/gem: Use struct dma_buf_map in GEM vmap ops and convert GEM backends
...+-- drivers/gpu/drm/qxl/qxl_draw.c | 16 ++-- drivers/gpu/drm/qxl/qxl_drv.h | 8 +- drivers/gpu/drm/qxl/qxl_object.c | 23 +++--- drivers/gpu/drm/qxl/qxl_object.h | 2 +- drivers/gpu/drm/qxl/qxl_prime.c | 12 +-- drivers/gpu/drm/radeon/radeon_gem.c | 4 +- drivers/gpu/drm/radeon/radeon_prime.c | 9 ++- drivers/gpu/drm/rockchip/rockchip_drm_gem.c | 22 +++-- drivers/gpu/drm/rockchip/rockchip_drm_gem.h | 4 +- drivers/gpu/drm/tiny/cirrus.c | 10 ++- drivers/gpu/drm/tiny/gm12u320.c | 10 ++- drivers/g...
2015 Jul 07
2
CUDA fixed VA allocations and sparse mappings
...mapping valid for the file descriptor). Thought this is mostly usefull when sharing same bo accross different process. I think my radeon virtual address ioclt are nice design but other might disagree. If you want to look at the code : drivers/gpu/drm/radeon/radeon_vm.c drivers/gpu/drm/radeon/radeon_gem.c Grep for _va (virtual address per bo) or _vm (virtual address manager per file descriptor) function name and structure name. On the command stream and bo eviction side everything is as usual on radeon. So a bo can be evicted btw 2 command stream to make room for another one. Either its mapping...
2020 Oct 15
1
[PATCH v4 06/10] drm/gem: Use struct dma_buf_map in GEM vmap ops and convert GEM backends
...- drivers/gpu/drm/qxl/qxl_drv.h | 11 +- drivers/gpu/drm/qxl/qxl_object.c | 31 +++--- drivers/gpu/drm/qxl/qxl_object.h | 2 +- drivers/gpu/drm/qxl/qxl_prime.c | 12 +-- drivers/gpu/drm/radeon/radeon.h | 1 - drivers/gpu/drm/radeon/radeon_gem.c | 7 +- drivers/gpu/drm/radeon/radeon_prime.c | 20 ---- drivers/gpu/drm/rockchip/rockchip_drm_gem.c | 22 ++-- drivers/gpu/drm/rockchip/rockchip_drm_gem.h | 4 +- drivers/gpu/drm/tiny/cirrus.c | 10 +- drivers/gpu/drm/tiny/gm12u320.c | 10 +- drive...
2020 Sep 15
0
[PATCH v2 00/21] Convert all remaining drivers to GEM object functions
....c | 9 -- > drivers/gpu/drm/omapdrm/omap_gem.c | 18 +++- > drivers/gpu/drm/omapdrm/omap_gem.h | 2 - > drivers/gpu/drm/pl111/pl111_drv.c | 5 +- > drivers/gpu/drm/radeon/radeon_drv.c | 23 +---- > drivers/gpu/drm/radeon/radeon_gem.c | 31 ++++++- > drivers/gpu/drm/rockchip/rockchip_drm_drv.c | 5 -- > drivers/gpu/drm/rockchip/rockchip_drm_gem.c | 10 +++ > drivers/gpu/drm/tegra/drm.c | 4 - > drivers/gpu/drm/tegra/gem.c | 8 ++ > drivers/gpu/drm/vc4/vc4...
2020 Oct 15
0
[PATCH v4 06/10] drm/gem: Use struct dma_buf_map in GEM vmap ops and convert GEM backends
....h | 11 +- > drivers/gpu/drm/qxl/qxl_object.c | 31 +++--- > drivers/gpu/drm/qxl/qxl_object.h | 2 +- > drivers/gpu/drm/qxl/qxl_prime.c | 12 +-- > drivers/gpu/drm/radeon/radeon.h | 1 - > drivers/gpu/drm/radeon/radeon_gem.c | 7 +- > drivers/gpu/drm/radeon/radeon_prime.c | 20 ---- > drivers/gpu/drm/rockchip/rockchip_drm_gem.c | 22 ++-- > drivers/gpu/drm/rockchip/rockchip_drm_gem.h | 4 +- > drivers/gpu/drm/tiny/cirrus.c | 10 +- > drivers/gpu/drm/tiny/gm12u320...
2020 Sep 23
0
[PATCH v3 00/22] Convert all remaining drivers to GEM object functions
....c | 9 -- > drivers/gpu/drm/omapdrm/omap_gem.c | 18 +++- > drivers/gpu/drm/omapdrm/omap_gem.h | 2 - > drivers/gpu/drm/pl111/pl111_drv.c | 5 +- > drivers/gpu/drm/radeon/radeon_drv.c | 23 +---- > drivers/gpu/drm/radeon/radeon_gem.c | 31 ++++++- > drivers/gpu/drm/rockchip/rockchip_drm_drv.c | 5 -- > drivers/gpu/drm/rockchip/rockchip_drm_gem.c | 12 ++- > drivers/gpu/drm/tegra/drm.c | 4 - > drivers/gpu/drm/tegra/gem.c | 8 ++ > drivers/gpu/drm/vc4/vc4...
2014 Jul 31
2
[PATCH 00/17] Convert TTM to the new fence interface. v2
...u/drm/radeon/radeon.h | 21 + drivers/gpu/drm/radeon/radeon_cs.c | 10 + drivers/gpu/drm/radeon/radeon_device.c | 27 +- drivers/gpu/drm/radeon/radeon_display.c | 8 - drivers/gpu/drm/radeon/radeon_fence.c | 405 +++++++++++++++++++++------ drivers/gpu/drm/radeon/radeon_gem.c | 19 + drivers/gpu/drm/radeon/radeon_irq_kms.c | 43 +++ drivers/gpu/drm/radeon/radeon_object.c | 8 - drivers/gpu/drm/radeon/radeon_ring.c | 1 drivers/gpu/drm/radeon/radeon_ttm.c | 34 -- drivers/gpu/drm/radeon/radeon_uvd.c | 10 - drivers/gpu/drm/rad...
2017 Feb 28
2
[PATCH 0/2] gpu: drm: Use pr_cont and neaten logging
...adeon_atpx_handler.c | 4 +- drivers/gpu/drm/radeon/radeon_audio.c | 4 +- drivers/gpu/drm/radeon/radeon_clocks.c | 2 +- drivers/gpu/drm/radeon/radeon_device.c | 8 +-- drivers/gpu/drm/radeon/radeon_fb.c | 3 +- drivers/gpu/drm/radeon/radeon_gem.c | 4 +- drivers/gpu/drm/radeon/radeon_test.c | 6 +- drivers/gpu/drm/radeon/rs400.c | 4 +- drivers/gpu/drm/radeon/rs690.c | 3 +- drivers/gpu/drm/radeon/rv515.c | 9 +-- drivers/gpu/drm/radeon/si.c...