Displaying 20 results from an estimated 28 matches for "drm_vram_help".
Did you mean:
drm_vram_helper
2019 Sep 04
1
[PATCH v3 7/7] drm/vram: fix Kconfig
select isn't recursive, so we can't turn on DRM_TTM + DRM_TTM_HELPER
in config DRM_VRAM_HELPER, we have to select them on the vram users
instead.
Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
---
drivers/gpu/drm/Kconfig | 2 --
drivers/gpu/drm/ast/Kconfig | 2 ++
drivers/gpu/drm/bochs/Kconfig | 2 ++
drivers/gpu/drm/hisilicon/hibmc/Kconfi...
2019 Apr 24
0
[PATCH v2 05/17] drm: Add VRAM MM, a simple memory manager for dedicated VRAM
.... kernel-doc:: drivers/gpu/drm/drm_vram_mm_helper.c
+ :export:
+
VMA Offset Manager
==================
diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig
index 9a1870f4dab6..fc8007de5d09 100644
--- a/drivers/gpu/drm/Kconfig
+++ b/drivers/gpu/drm/Kconfig
@@ -166,6 +166,13 @@ config DRM_VRAM_HELPER
help
Helpers for VRAM memory management
+config DRM_VRAM_MM_HELPER
+ tristate
+ depends on DRM && DRM_TTM
+ select DRM_VRAM_HELPER
+ help
+ Choose this if you need the VRAM MM helper functions
+
config DRM_GEM_CMA_HELPER
bool
depends on DRM
diff --git a/drivers/gpu/drm/Make...
2019 Apr 29
0
[PATCH v3 01/19] drm: Add |struct drm_gem_vram_object| and helpers
...off-by: Thomas Zimmermann <tzimmermann at suse.de>
---
Documentation/gpu/drm-mm.rst | 12 +
drivers/gpu/drm/Kconfig | 13 +
drivers/gpu/drm/Makefile | 4 +
drivers/gpu/drm/drm_gem_vram_helper.c | 410 +++++++++++++++++++++++
drivers/gpu/drm/drm_vram_helper_common.c | 6 +
include/drm/drm_gem_vram_helper.h | 92 +++++
6 files changed, 537 insertions(+)
create mode 100644 drivers/gpu/drm/drm_gem_vram_helper.c
create mode 100644 drivers/gpu/drm/drm_vram_helper_common.c
create mode 100644 include/drm/drm_gem_vram_helper.h
diff --git a/Doc...
2019 May 06
0
[PATCH v4 01/19] drm: Add |struct drm_gem_vram_object| and helpers
...py their implementation from each
other; except for the names of several data types. The helpers are
currently build with TTM, but this is considered an implementation
detail and may change in future updates.
v4:
* cleanups from checkpatch.pl
* removed several fixed-size types from interfaces
* DRM_VRAM_HELPER now selects DRM_TTM
* remove separate config option for GEM VRAM
v2:
* rename to |struct drm_gem_vram_object|
* move drm_is_gem_ttm() to a later patch in the series
* add drm_gem_vram_kmap_at()
* return is_iomem from kmap functions
* redefine TTM placement flags for public interface
* docu...
2020 Apr 14
1
[PATCH v2] Fix: buffer overflow during hvc_alloc().
...reject_ipv6 nft_reject nft_ct nf_tables_set nft_chain_nat_ipv6 nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 nft_chain_route_ipv6 nft_chain_nat_ipv4 nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack nft_chain_route_ipv4 ip6_tables nft_compat ip_set nf_tables nfnetlink sunrpc bochs_drm drm_vram_helper ttm drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops drm i2c_piix4 pcspkr crct10dif_pclmul crc32_pclmul joydev ghash_clmulni_intel ip_tables xfs libcrc32c sd_mod sg ata_generic ata_piix virtio_net libata crc32c_intel net_failover failover serio_raw virtio_scsi dm_mirror dm_region_hash...
2019 Apr 29
4
[PATCH v3 01/19] drm: Add |struct drm_gem_vram_object| and helpers
...tzimmermann at suse.de>
> ---
> Documentation/gpu/drm-mm.rst | 12 +
> drivers/gpu/drm/Kconfig | 13 +
> drivers/gpu/drm/Makefile | 4 +
> drivers/gpu/drm/drm_gem_vram_helper.c | 410 +++++++++++++++++++++++
> drivers/gpu/drm/drm_vram_helper_common.c | 6 +
> include/drm/drm_gem_vram_helper.h | 92 +++++
> 6 files changed, 537 insertions(+)
> create mode 100644 drivers/gpu/drm/drm_gem_vram_helper.c
> create mode 100644 drivers/gpu/drm/drm_vram_helper_common.c
> create mode 100644 include/drm/drm_gem_vram_h...
2019 Apr 29
4
[PATCH v3 01/19] drm: Add |struct drm_gem_vram_object| and helpers
...tzimmermann at suse.de>
> ---
> Documentation/gpu/drm-mm.rst | 12 +
> drivers/gpu/drm/Kconfig | 13 +
> drivers/gpu/drm/Makefile | 4 +
> drivers/gpu/drm/drm_gem_vram_helper.c | 410 +++++++++++++++++++++++
> drivers/gpu/drm/drm_vram_helper_common.c | 6 +
> include/drm/drm_gem_vram_helper.h | 92 +++++
> 6 files changed, 537 insertions(+)
> create mode 100644 drivers/gpu/drm/drm_gem_vram_helper.c
> create mode 100644 drivers/gpu/drm/drm_vram_helper_common.c
> create mode 100644 include/drm/drm_gem_vram_h...
2019 May 08
22
[PATCH v5 00/20] Share TTM code among DRM framebuffer drivers
...or pin-count mismatches
* only allocate 2 entries in placements array
v4:
* cleanups from checkpatch.pl
* add more documentation for VRAM helpers
* remove several fixed-size types from interfaces
* don't make drivers depend on DRM_TTM; auto-selected if necessary
* use single config optiom DRM_VRAM_HELPER
v3:
* share VRAM MM callback structure among drivers
* move VRAM MM instances to drm_device and share rsp. code
v2:
* rename |struct drm_gem_ttm_object| to |struct drm_gem_vram_object|
* rename |struct drm_simple_ttm| to |struct drm_vram_mm|
* make drm_is_gem_ttm() an internal helper
* add...
2019 May 08
22
[PATCH v5 00/20] Share TTM code among DRM framebuffer drivers
...or pin-count mismatches
* only allocate 2 entries in placements array
v4:
* cleanups from checkpatch.pl
* add more documentation for VRAM helpers
* remove several fixed-size types from interfaces
* don't make drivers depend on DRM_TTM; auto-selected if necessary
* use single config optiom DRM_VRAM_HELPER
v3:
* share VRAM MM callback structure among drivers
* move VRAM MM instances to drm_device and share rsp. code
v2:
* rename |struct drm_gem_ttm_object| to |struct drm_gem_vram_object|
* rename |struct drm_simple_ttm| to |struct drm_vram_mm|
* make drm_is_gem_ttm() an internal helper
* add...
2019 May 06
25
[PATCH v4 00/19] Share TTM code among DRM framebuffer drivers
...using the generic fbcon.
The patch set is against a recent drm-tip.
v4:
* cleanups from checkpatch.pl
* add more documentation for VRAM helpers
* remove several fixed-size types from interfaces
* don't make drivers depend on DRM_TTM; auto-selected if necessary
* use single config optiom DRM_VRAM_HELPER
v3:
* share VRAM MM callback structure among drivers
* move VRAM MM instances to drm_device and share rsp. code
v2:
* rename |struct drm_gem_ttm_object| to |struct drm_gem_vram_object|
* rename |struct drm_simple_ttm| to |struct drm_vram_mm|
* make drm_is_gem_ttm() an internal helper
* add...
2019 May 06
25
[PATCH v4 00/19] Share TTM code among DRM framebuffer drivers
...using the generic fbcon.
The patch set is against a recent drm-tip.
v4:
* cleanups from checkpatch.pl
* add more documentation for VRAM helpers
* remove several fixed-size types from interfaces
* don't make drivers depend on DRM_TTM; auto-selected if necessary
* use single config optiom DRM_VRAM_HELPER
v3:
* share VRAM MM callback structure among drivers
* move VRAM MM instances to drm_device and share rsp. code
v2:
* rename |struct drm_gem_ttm_object| to |struct drm_gem_vram_object|
* rename |struct drm_simple_ttm| to |struct drm_vram_mm|
* make drm_is_gem_ttm() an internal helper
* add...
2020 Oct 02
0
5.9-rc7 oops in nvkm_udevice_info() w/ GA100
...s
x_tables autofs4 btrfs blake2b_generic raid10 raid456
async_raid6_recov async_memcpy async_pq async_xor async_tx xor
raid6_pq libcrc32c raid1 raid0 multipath linear mlx5_ib ses enclosure
hid_generic usbhid uas hid usb_storage ib_uverbs ib_core
crct10dif_pclmul crc32_pclmul ast ghash_clmulni_intel drm_vram_helper
aesni_intel drm_ttm_helper crypto_simd ttm cryptd drm_kms_helper
glue_helper syscopyarea sysfillrect sysimgblt mlx5_core fb_sys_fops
pci_hyperv_intf igb cec mpt3sas dca rc_core raid_class nvme tls
i2c_algo_bit scsi_transport_sas drm mlxfw xhci_pci nvme_core
xhci_pci_renesas i2c_piix4
[ 213.497060...
2019 Apr 24
21
[PATCH v2 00/17] Share TTM code among DRM framebuffer drivers
...bochs.h | 45 +-
drivers/gpu/drm/bochs/bochs_drv.c | 4 +-
drivers/gpu/drm/bochs/bochs_kms.c | 18 +-
drivers/gpu/drm/bochs/bochs_mm.c | 395 +-----------
drivers/gpu/drm/drm_gem_vram_helper.c | 570 ++++++++++++++++++
drivers/gpu/drm/drm_vram_helper_common.c | 6 +
drivers/gpu/drm/drm_vram_mm_helper.c | 210 +++++++
drivers/gpu/drm/hisilicon/hibmc/Kconfig | 2 +
.../gpu/drm/hisilicon/hibmc/hibmc_drm_de.c | 21 +-
.../gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 5 +-
.../gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h...
2019 Apr 30
0
[PATCH v3 01/19] drm: Add |struct drm_gem_vram_object| and helpers
...I already has a mixture of such types and I tried to use the
type that best fits the current context. But yeah, I don't mind some
consistency. I'll see if I can replace some of these instances.
>> +config DRM_GEM_VRAM_HELPER
>> + bool
>> + depends on DRM
>> + select DRM_VRAM_HELPER
>> + help
>> + Choose this if you need the GEM VRAM helper functions
>> +
> I cannot remember how select will deal with symbols whos has
> a "depends on".
> But if I recall correct then the "depends on" will be ignored
> or in best case trigger...
2022 Dec 19
1
[PATCH v3] drm: Only select I2C_ALGOBIT for drivers that actually need it
...IGHT_CLASS_DEVICE if ACPI
diff --git a/drivers/gpu/drm/hisilicon/hibmc/Kconfig b/drivers/gpu/drm/hisilicon/hibmc/Kconfig
index 4e41c144a290..126504318a4f 100644
--- a/drivers/gpu/drm/hisilicon/hibmc/Kconfig
+++ b/drivers/gpu/drm/hisilicon/hibmc/Kconfig
@@ -7,6 +7,8 @@ config DRM_HISI_HIBMC
select DRM_VRAM_HELPER
select DRM_TTM
select DRM_TTM_HELPER
+ select I2C
+ select I2C_ALGOBIT
help
Choose this option if you have a Hisilicon Hibmc soc chipset.
If M is selected the module will be called hibmc-drm.
diff --git a/drivers/gpu/drm/i915/Kconfig b/drivers/gpu/drm/i915/Kconfig
index 3efce05d7b57...
2019 May 06
0
[PATCH v4 12/19] drm/bochs: Convert bochs driver to VRAM MM
...1f6ae9dd042 100644
--- a/drivers/gpu/drm/bochs/Kconfig
+++ b/drivers/gpu/drm/bochs/Kconfig
@@ -2,7 +2,6 @@ config DRM_BOCHS
tristate "DRM Support for bochs dispi vga interface (qemu stdvga)"
depends on DRM && PCI && MMU
select DRM_KMS_HELPER
- select DRM_TTM
select DRM_VRAM_HELPER
help
Choose this option for qemu.
diff --git a/drivers/gpu/drm/bochs/bochs.h b/drivers/gpu/drm/bochs/bochs.h
index 4ccf82e1ca68..323dcca256a3 100644
--- a/drivers/gpu/drm/bochs/bochs.h
+++ b/drivers/gpu/drm/bochs/bochs.h
@@ -12,8 +12,7 @@
#include <drm/drm_gem.h>
#include <drm/dr...
2019 May 15
0
[PATCH v5 00/20] Share TTM code among DRM framebuffer drivers
...y allocate 2 entries in placements array
> v4:
> * cleanups from checkpatch.pl
> * add more documentation for VRAM helpers
> * remove several fixed-size types from interfaces
> * don't make drivers depend on DRM_TTM; auto-selected if necessary
> * use single config optiom DRM_VRAM_HELPER
> v3:
> * share VRAM MM callback structure among drivers
> * move VRAM MM instances to drm_device and share rsp. code
> v2:
> * rename |struct drm_gem_ttm_object| to |struct drm_gem_vram_object|
> * rename |struct drm_simple_ttm| to |struct drm_vram_mm|
> * make drm_is_g...
2019 Oct 07
0
[PATCH v3] gpu: Fix Kconfig indentation
...Mali 400/450 GPUs.
+ DRM driver for ARM Mali 400/450 GPUs.
diff --git a/drivers/gpu/drm/mgag200/Kconfig b/drivers/gpu/drm/mgag200/Kconfig
index 76fee0fbdcae..4b31ef376abc 100644
--- a/drivers/gpu/drm/mgag200/Kconfig
+++ b/drivers/gpu/drm/mgag200/Kconfig
@@ -6,8 +6,8 @@ config DRM_MGAG200
select DRM_VRAM_HELPER
help
This is a KMS driver for the MGA G200 server chips, it
- does not support the original MGA G200 or any of the desktop
- chips. It requires 0.3.0 of the modesetting userspace driver,
- and a version of mga driver that will fail on KMS enabled
- devices.
+...
2020 Apr 06
0
[PATCH] Fix: buffer overflow during hvc_alloc().
...t_ct
> nf_tables_set nft_chain_nat_ipv6 nf_conntrack_ipv6 nf_defrag_ipv6
> nf_nat_ipv6 nft_chain_route_ipv6 nft_chain_nat_ipv4 nf_conntrack_ipv4
> nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack nft_chain_route_ipv4
> ip6_tables nft_compat ip_set nf_tables nfnetlink sunrpc bochs_drm
> drm_vram_helper ttm drm_kms_helper syscopyarea sysfillrect sysimgblt
> fb_sys_fops drm i2c_piix4 pcspkr crct10dif_pclmul crc32_pclmul joydev
> ghash_clmulni_intel ip_tables xfs libcrc32c sd_mod sg ata_generic ata_piix
> virtio_net libata crc32c_intel net_failover failover serio_raw virtio_scsi
> dm_m...
2019 May 16
5
[PATCH 0/2] Add BO reservation to GEM VRAM pin/unpin/push_to_system
...ed a problem with the locktorture testcase that
was triggered by the GEM VRAM helpers.
...
[ 10.004734] RIP: 0010:ttm_bo_validate+0x41/0x141 [ttm]
...
[ 10.015669] ? kvm_sched_clock_read+0x5/0xd
[ 10.016157] ? get_lock_stats+0x11/0x3f
[ 10.016607] drm_gem_vram_pin+0x77/0xa2 [drm_vram_helper]
[ 10.017229] drm_gem_vram_driver_gem_prime_vmap+0xe/0x39 [drm_vram_helper]
[ 10.018015] drm_gem_vmap+0x36/0x43 [drm]
[ 10.018491] drm_client_framebuffer_create+0xc6/0x1ca [drm]
[ 10.019143] drm_fb_helper_generic_probe+0x4c/0x157 [drm_kms_helper]
[ 10.019864] __drm_fb_hel...