mirror_ubuntu-kernels/drivers/gpu/drm/tegra
Thierry Reding 3f257bc63c drm/tegra: gem: Do not return NULL in tegra_bo_mmap()
It's confusing for a function to return NULL and ERR_PTR()-encoded error
codes on failure. Make sure we only ever return the latter since that's
what callers already expect.

Reported-by: Sui Jingfeng <suijingfeng@loongson.cn>
Reviewed-by: Sui Jingfeng <suijingfeng@loongson.cn>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/ZSVuVcqdGfGtQIQj@orome.fritz.box
2023-10-11 22:52:44 +02:00
..
dc.c drm/debugfs: rework drm_debugfs_create_files implementation v2 2023-09-01 08:54:12 +02:00
dc.h drm/tegra: rgb: Make tegra_dc_rgb_remove() return void 2023-04-04 14:24:40 +02:00
dp.c drm: Rename dp/ to display/ 2022-04-25 11:17:45 +02:00
dp.h
dpaux.c drm/tegra: dpaux: Fix incorrect return value of platform_get_irq 2023-07-27 18:41:59 +02:00
dpaux.h
drm.c drm: Clear fd/handle callbacks in struct drm_driver 2023-06-26 11:08:41 +02:00
drm.h drm/tegra: Remove two unused function declarations 2023-10-11 22:52:43 +02:00
dsi.c drm/debugfs: rework drm_debugfs_create_files implementation v2 2023-09-01 08:54:12 +02:00
dsi.h
falcon.c drm/tegra: falcon: Set DMACTX field on DMA transactions 2022-07-08 16:27:52 +02:00
falcon.h drm/tegra: falcon: Set DMACTX field on DMA transactions 2022-07-08 16:27:52 +02:00
fb.c drm/tegra: Hide fbdev support behind config option 2023-04-06 12:18:54 +02:00
fbdev.c fbdev: Use _DMAMEM_ infix for DMA-memory helpers 2023-07-31 20:07:18 +02:00
firewall.c drm/tegra: firewall: Check for is_addr_reg existence in IMM check 2023-01-26 15:55:38 +01:00
gem.c drm/tegra: gem: Do not return NULL in tegra_bo_mmap() 2023-10-11 22:52:44 +02:00
gem.h
gr2d.c drm/tegra: Enable runtime PM during probe 2023-07-27 18:41:59 +02:00
gr2d.h
gr3d.c drm/tegra: Enable runtime PM during probe 2023-07-27 18:41:59 +02:00
gr3d.h
hda.c
hda.h
hdmi.c drm/debugfs: rework drm_debugfs_create_files implementation v2 2023-09-01 08:54:12 +02:00
hdmi.h
hub.c drm/tegra: hub: Increase buffer size to ensure all possible values can be stored 2023-10-11 22:52:43 +02:00
hub.h
Kconfig fbdev: Use _DMAMEM_ infix for DMA-memory helpers 2023-07-31 20:07:18 +02:00
Makefile drm/tegra: Hide fbdev support behind config option 2023-04-06 12:18:54 +02:00
mipi-phy.c
mipi-phy.h
nvdec.c drm/tegra: Enable runtime PM during probe 2023-07-27 18:41:59 +02:00
output.c drm/tegra: Include <linux/i2c.h> 2023-04-05 17:06:07 +02:00
plane.c drm/tegra: plane: Improve use of dev_err_probe() 2023-04-04 18:04:57 +02:00
plane.h drm/tegra: Support semi-planar formats on Tegra114+ 2022-03-01 11:13:09 +01:00
rgb.c drm/tegra: rgb: Parameterize V- and H-sync polarities 2023-09-20 13:48:34 +02:00
riscv.c drm/tegra: Add code for booting RISC-V based engines 2022-11-25 16:14:58 +01:00
riscv.h drm/tegra: Add code for booting RISC-V based engines 2022-11-25 16:14:58 +01:00
sor.c drm/debugfs: rework drm_debugfs_create_files implementation v2 2023-09-01 08:54:12 +02:00
sor.h
submit.c drm/tegra: Use tegra_dev_iommu_get_stream_id() 2023-01-27 17:49:43 +01:00
submit.h
trace.c
trace.h
uapi.c gpu: host1x: Select context device based on attached IOMMU 2022-11-25 16:14:19 +01:00
uapi.h
vic.c drm/tegra: Enable runtime PM during probe 2023-07-27 18:41:59 +02:00
vic.h