search for: drm_release

Displaying 20 results from an estimated 82 matches for "drm_release".

2016 Dec 05
1
[Bug 98997] New: Invalid ioctl during Xorg startup
...l] pid=4642, dev=0xe200, auth=1, NOUVEAU_GETPARAM Dec 5 11:31:55 kernel: [ 1026.543362] [drm:drm_ioctl] pid=4642, dev=0xe200, auth=1, DRM_IOCTL_VERSION Dec 5 11:31:55 kernel: [ 1026.543364] [drm:drm_ioctl] pid=4642, dev=0xe200, auth=1, DRM_IOCTL_VERSION Dec 5 11:31:55 kernel: [ 1026.543393] [drm:drm_release] open_count = 1 Dec 5 11:31:55 kernel: [ 1026.543394] [drm:drm_release] pid = 4642, device = 0xe200, open_count = 1 Dec 5 11:31:55 kernel: [ 1026.543401] [drm:drm_lastclose] Dec 5 11:31:55 kernel: [ 1026.543401] [drm:drm_lastclose] driver lastclose completed Dec 5 11:31:55 kernel: [ 1026.543414...
2013 Sep 17
10
RESEND [Xen-unstable][Qemu-xen] HVM Guest reading of Expansion ROM from passthroughed PCI device returns data from emulated VGA rom
*RESEND* due to exceeding the mailinglists limit for attachment size. Hi, I''m trying to get secondary vga-passthrough on a HVM guest to work with a AMD HD6570 and the native kernel radeon driver and kernel modesetting. So the guest still gets the emulated stdvga or cirrus device(used in my case here) as primary/boot vga adapter. - When i don''t passthrough the radeon card, the
2007 Aug 06
3
[Bug 11868] New: Starting X for the second time fails (without reloading drm modules)
...fffc2000003b000 Aug 6 21:11:46 localhost [drm:drm_setup] Aug 6 21:11:46 localhost [drm:drm_unlocked_ioctl] pid=6567, cmd=0xc0406400, nr=0x00, dev 0xe200, auth=1 Aug 6 21:11:46 localhost [drm:drm_unlocked_ioctl] pid=6567, cmd=0xc0406400, nr=0x00, dev 0xe200, auth=1 Aug 6 21:11:46 localhost [drm:drm_release] open_count = 1 Aug 6 21:11:46 localhost [drm:nouveau_fifo_cleanup] clearing FIFO enables from file_priv Aug 6 21:11:46 localhost [drm:drm_release] pid = 6567, device = 0xe200, open_count = 1 Aug 6 21:11:46 localhost [drm:drm_fasync] fd = -1, device = 0xe200 Aug 6 21:11:46 localhost [drm:drm_la...
2019 May 06
1
[PATCH v4 12/19] drm/bochs: Convert bochs driver to VRAM MM
Hi, > static const struct file_operations bochs_fops = { > .owner = THIS_MODULE, > - .open = drm_open, > - .release = drm_release, > - .unlocked_ioctl = drm_ioctl, > - .compat_ioctl = drm_compat_ioctl, > - .poll = drm_poll, > - .read = drm_read, > .llseek = no_llseek, > - .mmap = bochs_mmap, > + DRM_VRAM_MM_FILE_OPERATIONS > }; What about llseek? I think it should either be deleted (i...
2017 Feb 14
1
NVAC: WARN_ON(nvbo->pin_refcnt > 0);
...ence_unlocked+0x34/0x80 [drm] drm_gem_object_handle_unreference_unlocked+0x69/0xc0 [drm] drm_gem_object_release_handle+0x53/0x90 [drm] ? drm_gem_object_handle_unreference_unlocked+0xc0/0xc0 [drm] idr_for_each+0xa4/0x100 ? nouveau_abi16_fini+0x50/0x70 [nouveau] drm_gem_release+0x20/0x30 [drm] drm_release+0x33d/0x390 [drm] __fput+0xdf/0x1e0 ____fput+0xe/0x10 task_work_run+0x76/0x90 do_exit+0x2d0/0xb70 ? __do_page_fault+0x267/0x4c0 do_group_exit+0x47/0xb0 SyS_exit_group+0x14/0x20 entry_SYSCALL_64_fastpath+0x1a/0xa9 RIP: 0033:0x7fa5510acdd8 RSP: 002b:00007fff4a0cb608 EFLAGS: 00000246 ORIG_RAX:...
2017 Apr 06
0
NVAC - WARN_ON(nvbo->pin_refcnt > 0);
...ence_unlocked+0x3a/0xa0 [drm] drm_gem_object_handle_unreference_unlocked+0x65/0xb0 [drm] drm_gem_object_release_handle+0x53/0x90 [drm] idr_for_each+0xb0/0x110 ? drm_gem_object_handle_unreference_unlocked+0xb0/0xb0 [drm] ? nouveau_abi16_fini+0x50/0x70 [nouveau] drm_gem_release+0x20/0x30 [drm] drm_release+0x34c/0x3a0 [drm] __fput+0xdf/0x1e0 ____fput+0xe/0x10 task_work_run+0x80/0xa0 do_exit+0x2c8/0xb80 ? __do_page_fault+0x266/0x4e0 do_group_exit+0x47/0xb0 SyS_exit_group+0x14/0x20 entry_SYSCALL_64_fastpath+0x1a/0xa9 ... ---[ end trace 02bd4b75c91c94a7 ]--- 4.10.8-1002.fc24.x86_64 = 4.10.8-100...
2020 Sep 15
0
[PATCH v2 18/21] drm/vkms: Introduce GEM object functions
...8 deletions(-) diff --git a/drivers/gpu/drm/vkms/vkms_drv.c b/drivers/gpu/drm/vkms/vkms_drv.c index cb0b6230c22c..726801ab44d4 100644 --- a/drivers/gpu/drm/vkms/vkms_drv.c +++ b/drivers/gpu/drm/vkms/vkms_drv.c @@ -51,12 +51,6 @@ static const struct file_operations vkms_driver_fops = { .release = drm_release, }; -static const struct vm_operations_struct vkms_gem_vm_ops = { - .fault = vkms_gem_fault, - .open = drm_gem_vm_open, - .close = drm_gem_vm_close, -}; - static void vkms_release(struct drm_device *dev) { struct vkms_device *vkms = container_of(dev, struct vkms_device, drm); @@ -98,8 +92,6...
2019 Aug 08
0
[PATCH v4 17/17] drm/qxl: use DEFINE_DRM_GEM_FOPS()
...dex 2fb1641c817e..4853082ba924 100644 --- a/drivers/gpu/drm/qxl/qxl_drv.c +++ b/drivers/gpu/drm/qxl/qxl_drv.c @@ -132,15 +132,7 @@ qxl_pci_remove(struct pci_dev *pdev) drm_dev_put(dev); } -static const struct file_operations qxl_fops = { - .owner = THIS_MODULE, - .open = drm_open, - .release = drm_release, - .unlocked_ioctl = drm_ioctl, - .poll = drm_poll, - .read = drm_read, - .mmap = drm_gem_mmap, -}; +DEFINE_DRM_GEM_FOPS(qxl_fops); static int qxl_drm_freeze(struct drm_device *dev) { -- 2.18.1
2019 Oct 17
0
[PATCH 4/5] drm/qxl: use DEFINE_DRM_GEM_FOPS()
...dex 65464630ac98..1d601f57a6ba 100644 --- a/drivers/gpu/drm/qxl/qxl_drv.c +++ b/drivers/gpu/drm/qxl/qxl_drv.c @@ -150,15 +150,7 @@ qxl_pci_remove(struct pci_dev *pdev) drm_dev_put(dev); } -static const struct file_operations qxl_fops = { - .owner = THIS_MODULE, - .open = drm_open, - .release = drm_release, - .unlocked_ioctl = drm_ioctl, - .poll = drm_poll, - .read = drm_read, - .mmap = drm_gem_mmap, -}; +DEFINE_DRM_GEM_FOPS(qxl_fops); static int qxl_drm_freeze(struct drm_device *dev) { -- 2.18.1
2019 Jun 20
0
[PATCH 3/3] drm: drop DEFINE_DRM_GEM_SHMEM_FOPS
...- if you need a - * non-static version of this you're probably doing it wrong and will break the - * THIS_MODULE reference by accident. - */ -#define DEFINE_DRM_GEM_SHMEM_FOPS(name) \ - static const struct file_operations name = {\ - .owner = THIS_MODULE,\ - .open = drm_open,\ - .release = drm_release,\ - .unlocked_ioctl = drm_ioctl,\ - .compat_ioctl = drm_compat_ioctl,\ - .poll = drm_poll,\ - .read = drm_read,\ - .llseek = noop_llseek,\ - .mmap = drm_gem_mmap, \ - } - struct drm_gem_shmem_object *drm_gem_shmem_create(struct drm_device *dev, size_t size); void drm_gem_shmem_free_obje...
2019 Sep 13
2
[PATCH 8/8] drm/vram: drop DRM_VRAM_MM_FILE_OPERATIONS
...mp;struct file_operations with default functions. - */ -#define DRM_VRAM_MM_FILE_OPERATIONS \ - .llseek = no_llseek, \ - .read = drm_read, \ - .poll = drm_poll, \ - .unlocked_ioctl = drm_ioctl, \ - .compat_ioctl = drm_compat_ioctl, \ - .mmap = drm_gem_mmap, \ - .open = drm_open, \ - .release = drm_release \ - - #endif diff --git a/include/drm/drm_vram_mm_helper.h b/include/drm/drm_vram_mm_helper.h new file mode 100644 index 000000000000..a47b49adba62 --- /dev/null +++ b/include/drm/drm_vram_mm_helper.h @@ -0,0 +1,82 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ + +#ifndef DRM_VRAM_MM_HELPER_H...
2019 Sep 13
2
[PATCH 8/8] drm/vram: drop DRM_VRAM_MM_FILE_OPERATIONS
...mp;struct file_operations with default functions. - */ -#define DRM_VRAM_MM_FILE_OPERATIONS \ - .llseek = no_llseek, \ - .read = drm_read, \ - .poll = drm_poll, \ - .unlocked_ioctl = drm_ioctl, \ - .compat_ioctl = drm_compat_ioctl, \ - .mmap = drm_gem_mmap, \ - .open = drm_open, \ - .release = drm_release \ - - #endif diff --git a/include/drm/drm_vram_mm_helper.h b/include/drm/drm_vram_mm_helper.h new file mode 100644 index 000000000000..a47b49adba62 --- /dev/null +++ b/include/drm/drm_vram_mm_helper.h @@ -0,0 +1,82 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ + +#ifndef DRM_VRAM_MM_HELPER_H...
2019 Aug 08
1
[PATCH v4 07/17] drm/shmem: drop DEFINE_DRM_GEM_SHMEM_FOPS
...- if you need a - * non-static version of this you're probably doing it wrong and will break the - * THIS_MODULE reference by accident. - */ -#define DEFINE_DRM_GEM_SHMEM_FOPS(name) \ - static const struct file_operations name = {\ - .owner = THIS_MODULE,\ - .open = drm_open,\ - .release = drm_release,\ - .unlocked_ioctl = drm_ioctl,\ - .compat_ioctl = drm_compat_ioctl,\ - .poll = drm_poll,\ - .read = drm_read,\ - .llseek = noop_llseek,\ - .mmap = drm_gem_mmap, \ - } - struct drm_gem_shmem_object *drm_gem_shmem_create(struct drm_device *dev, size_t size); void drm_gem_shmem_free_obje...
2017 Mar 08
1
[PATCH 14/24] drm/nouveau: Merge pre/postclose hooks
Again no apparent explanation for the split except hysterical raisins. Merging them also makes it a bit more obviuos what's going on wrt the runtime pm refdancing. Cc: Ben Skeggs <bskeggs at redhat.com> Cc: nouveau at lists.freedesktop.org Signed-off-by: Daniel Vetter <daniel.vetter at intel.com> --- drivers/gpu/drm/nouveau/nouveau_drm.c | 9 +-------- 1 file changed, 1
2019 Aug 08
0
[PATCH v4 12/17] drm: drop DRM_VRAM_MM_FILE_OPERATIONS
...mp;struct file_operations with default functions. - */ -#define DRM_VRAM_MM_FILE_OPERATIONS \ - .llseek = no_llseek, \ - .read = drm_read, \ - .poll = drm_poll, \ - .unlocked_ioctl = drm_ioctl, \ - .compat_ioctl = drm_compat_ioctl, \ - .mmap = drm_gem_mmap, \ - .open = drm_open, \ - .release = drm_release \ - #endif diff --git a/drivers/gpu/drm/ast/ast_drv.c b/drivers/gpu/drm/ast/ast_drv.c index 6ed6ff49efc0..358d2a34b4e6 100644 --- a/drivers/gpu/drm/ast/ast_drv.c +++ b/drivers/gpu/drm/ast/ast_drv.c @@ -201,10 +201,7 @@ static struct pci_driver ast_pci_driver = { .driver.pm = &ast_pm_ops, };...
2019 Jun 19
0
nouveau: DRM: GPU lockup - switching to software fbcon
....560410] nvif_object_fini+0x49/0x60 [10380.560412] nouveau_channel_del+0x89/0x110 [10380.560413] nouveau_abi16_chan_fini.isra.0+0xa0/0x110 [10380.560414] nouveau_abi16_fini+0x2d/0x60 [10380.560416] nouveau_drm_postclose+0x4c/0xe0 [10380.560418] drm_file_free.part.0+0x1e0/0x290 [10380.560420] drm_release+0xa7/0xe0 [10380.591300] __fput+0xc7/0x250 [10380.592291] task_work_run+0x90/0xc0 [10380.593271] do_exit+0x286/0xb10 [10380.594306] do_group_exit+0x33/0xa0 [10380.595333] get_signal+0x12d/0x7e0 [10380.596304] do_signal+0x23/0x590 [10380.597490] ? __bpf_prog_run64+0x40/0x40 [10380.598441] ?...
2019 Oct 16
0
[PATCH v4 11/11] drm/vram: drop DRM_VRAM_MM_FILE_OPERATIONS
...mp;struct file_operations with default functions. - */ -#define DRM_VRAM_MM_FILE_OPERATIONS \ - .llseek = no_llseek, \ - .read = drm_read, \ - .poll = drm_poll, \ - .unlocked_ioctl = drm_ioctl, \ - .compat_ioctl = drm_compat_ioctl, \ - .mmap = drm_gem_mmap, \ - .open = drm_open, \ - .release = drm_release \ - - #endif diff --git a/drivers/gpu/drm/ast/ast_drv.c b/drivers/gpu/drm/ast/ast_drv.c index e0e8770462bc..1f17794b0890 100644 --- a/drivers/gpu/drm/ast/ast_drv.c +++ b/drivers/gpu/drm/ast/ast_drv.c @@ -200,10 +200,7 @@ static struct pci_driver ast_pci_driver = { .driver.pm = &ast_pm_ops,...
2019 Sep 17
0
[PATCH v2 11/11] drm/vram: drop DRM_VRAM_MM_FILE_OPERATIONS
...mp;struct file_operations with default functions. - */ -#define DRM_VRAM_MM_FILE_OPERATIONS \ - .llseek = no_llseek, \ - .read = drm_read, \ - .poll = drm_poll, \ - .unlocked_ioctl = drm_ioctl, \ - .compat_ioctl = drm_compat_ioctl, \ - .mmap = drm_gem_mmap, \ - .open = drm_open, \ - .release = drm_release \ - - #endif diff --git a/drivers/gpu/drm/ast/ast_drv.c b/drivers/gpu/drm/ast/ast_drv.c index e0e8770462bc..1f17794b0890 100644 --- a/drivers/gpu/drm/ast/ast_drv.c +++ b/drivers/gpu/drm/ast/ast_drv.c @@ -200,10 +200,7 @@ static struct pci_driver ast_pci_driver = { .driver.pm = &ast_pm_ops,...
2019 Sep 19
0
[PATCH v3 11/11] drm/vram: drop DRM_VRAM_MM_FILE_OPERATIONS
...mp;struct file_operations with default functions. - */ -#define DRM_VRAM_MM_FILE_OPERATIONS \ - .llseek = no_llseek, \ - .read = drm_read, \ - .poll = drm_poll, \ - .unlocked_ioctl = drm_ioctl, \ - .compat_ioctl = drm_compat_ioctl, \ - .mmap = drm_gem_mmap, \ - .open = drm_open, \ - .release = drm_release \ - - #endif diff --git a/drivers/gpu/drm/ast/ast_drv.c b/drivers/gpu/drm/ast/ast_drv.c index e0e8770462bc..1f17794b0890 100644 --- a/drivers/gpu/drm/ast/ast_drv.c +++ b/drivers/gpu/drm/ast/ast_drv.c @@ -200,10 +200,7 @@ static struct pci_driver ast_pci_driver = { .driver.pm = &ast_pm_ops,...
2019 Sep 17
0
[PATCH v2 05/11] drm/shmem: drop DEFINE_DRM_GEM_SHMEM_FOPS
...- if you need a - * non-static version of this you're probably doing it wrong and will break the - * THIS_MODULE reference by accident. - */ -#define DEFINE_DRM_GEM_SHMEM_FOPS(name) \ - static const struct file_operations name = {\ - .owner = THIS_MODULE,\ - .open = drm_open,\ - .release = drm_release,\ - .unlocked_ioctl = drm_ioctl,\ - .compat_ioctl = drm_compat_ioctl,\ - .poll = drm_poll,\ - .read = drm_read,\ - .llseek = noop_llseek,\ - .mmap = drm_gem_mmap, \ - } - struct drm_gem_shmem_object *drm_gem_shmem_create(struct drm_device *dev, size_t size); void drm_gem_shmem_free_obje...