mirror_ubuntu-kernels/drivers/gpu/drm/gma500
Thomas Zimmermann 0b80214b64 drm/gma500: Inline psb_gtt_attach_pages() and psb_gtt_detach_pages()
psb_gtt_attach_pages() are not GTT functions but deal with the GEM
object's SHMEM pages. The only callers of psb_gtt_attach_pages() and
psb_gtt_detach_pages() are the GEM pin helpers. Inline the calls and
cleanup the resulting code.

v2:
	* unlock gtt_mutex in pin-error handling (Patrik)

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211015084053.13708-7-tzimmermann@suse.de
2021-10-19 10:38:54 +02:00
..
backlight.c drm/gma500: Replace references to dev_private with helper function 2021-09-23 09:40:20 +02:00
cdv_device.c drm/gma500: Embed struct drm_device in struct drm_psb_private 2021-09-23 09:40:39 +02:00
cdv_device.h drm/gma500: Unify crtc helpers 2021-02-09 13:07:41 +01:00
cdv_intel_crt.c drm/gma500/cdv: Remove unused code for crt init 2021-02-09 13:07:39 +01:00
cdv_intel_display.c drm/gma500: Replace references to dev_private with helper function 2021-09-23 09:40:20 +02:00
cdv_intel_dp.c drm/gma500: Replace references to dev_private with helper function 2021-09-23 09:40:20 +02:00
cdv_intel_hdmi.c drm/gma500: Remove Medfield support 2021-02-09 17:14:11 +01:00
cdv_intel_lvds.c drm/gma500: Replace references to dev_private with helper function 2021-09-23 09:40:20 +02:00
framebuffer.c drm/gma500: Allocate GTT ranges in stolen memory with psb_gem_create() 2021-10-19 10:38:48 +02:00
framebuffer.h drm/gma500: Remove struct psb_fbdev 2019-11-25 11:19:31 +01:00
gem.c drm/gma500: Inline psb_gtt_attach_pages() and psb_gtt_detach_pages() 2021-10-19 10:38:54 +02:00
gem.h drm/gma500: Rename psb_gtt_{pin,unpin}() to psb_gem_{pin,unpin}() 2021-10-19 10:38:54 +02:00
gma_device.c drm/gma500: Replace references to dev_private with helper function 2021-09-23 09:40:20 +02:00
gma_device.h
gma_display.c drm/gma500: Rename psb_gtt_{pin,unpin}() to psb_gem_{pin,unpin}() 2021-10-19 10:38:54 +02:00
gma_display.h
gtt.c drm/gma500: Move helpers for struct gtt_range from gtt.c to gem.c 2021-10-19 10:31:15 +02:00
gtt.h drm/gma500: Move helpers for struct gtt_range from gtt.c to gem.c 2021-10-19 10:31:15 +02:00
intel_bios.c drm/gma500: Embed struct drm_device in struct drm_psb_private 2021-09-23 09:40:39 +02:00
intel_bios.h drm/gma500/intel_bios.h: Replace zero-length array with flexible-array member 2020-03-06 11:40:53 +01:00
intel_gmbus.c drm/gma500: Embed struct drm_device in struct drm_psb_private 2021-09-23 09:40:39 +02:00
intel_i2c.c drm/gma500/intel_i2c: Remove superflouous parameter description and rename another 2021-01-18 15:41:51 +01:00
Kconfig drm/gma500: Remove dependency on TTM 2021-02-09 17:14:12 +01:00
Makefile drm/gma500: Drop DRM_GMA3600 config option 2021-02-09 17:14:11 +01:00
mid_bios.c drm/gma500: Embed struct drm_device in struct drm_psb_private 2021-09-23 09:40:39 +02:00
mid_bios.h
mmu.c drm/gma500: Replace references to dev_private with helper function 2021-09-23 09:40:20 +02:00
mmu.h
oaktrail_crtc.c drm/gma500: Replace references to dev_private with helper function 2021-09-23 09:40:20 +02:00
oaktrail_device.c drm/gma500: Replace references to dev_private with helper function 2021-09-23 09:40:20 +02:00
oaktrail_hdmi_i2c.c gma500: clean up error handling in init 2020-12-03 10:50:57 +01:00
oaktrail_hdmi.c drm/gma500: Replace references to dev_private with helper function 2021-09-23 09:40:20 +02:00
oaktrail_lvds_i2c.c drm/gma500: Replace references to dev_private with helper function 2021-09-23 09:40:20 +02:00
oaktrail_lvds.c drm/gma500: Replace references to dev_private with helper function 2021-09-23 09:40:20 +02:00
oaktrail.h
opregion.c drm/gma500: Embed struct drm_device in struct drm_psb_private 2021-09-23 09:40:39 +02:00
opregion.h
power.c drm/gma500: Replace references to dev_private with helper function 2021-09-23 09:40:20 +02:00
power.h
psb_device.c Revert "drm/gma500: cleanup: drm_modeset_lock_all() --> DRM_MODESET_LOCK_ALL_BEGIN()" 2021-10-04 09:34:55 -04:00
psb_device.h
psb_drv.c drm/gma500: Fix wrong pointer passed to PTR_ERR() 2021-09-24 20:11:40 +02:00
psb_drv.h drm/gma500: Embed struct drm_device in struct drm_psb_private 2021-09-23 09:40:39 +02:00
psb_intel_display.c drm/gma500: Allocate GTT ranges in stolen memory with psb_gem_create() 2021-10-19 10:38:48 +02:00
psb_intel_drv.h drm: gma500: Convert to GPIO descriptors 2020-08-19 15:48:09 +02:00
psb_intel_lvds.c drm/gma500: Replace references to dev_private with helper function 2021-09-23 09:40:20 +02:00
psb_intel_modes.c drm/gma500/psb_intel_modes: Provide missing descriptions for function param 'adapter' 2021-01-18 15:45:29 +01:00
psb_intel_reg.h drm/gma500: Remove Medfield support 2021-02-09 17:14:11 +01:00
psb_intel_sdvo_regs.h
psb_intel_sdvo.c drm/gma500: Replace references to dev_private with helper function 2021-09-23 09:40:20 +02:00
psb_irq.c drm/gma500: Embed struct drm_device in struct drm_psb_private 2021-09-23 09:40:39 +02:00
psb_irq.h drm/gma500: Convert to Linux IRQ interfaces 2021-08-10 20:13:32 +02:00
psb_lid.c drm/gma500: Embed struct drm_device in struct drm_psb_private 2021-09-23 09:40:39 +02:00
psb_reg.h drm/gma500: Remove Medfield support 2021-02-09 17:14:11 +01:00