Star64_linux/drivers/gpu/drm
Ville Syrjälä e85d30060e drm/tinydrm: Make fb_dirty into a lower level hook
mipi_dbi_enable_flush() wants to call the fb->dirty() hook from the
bowels of the .atomic_enable() hook. That prevents us from taking the
plane mutex in fb->dirty() unless we also plumb down the acquire
context.

Instead it seems simpler to split the fb->dirty() into a tinydrm
specific lower level hook that can be called from
mipi_dbi_enable_flush() and from a generic higher level
tinydrm_fb_dirty() helper. As we don't have a tinydrm specific
vfuncs table we'll just stick it into tinydrm_device directly
for now.

v2: Deal with the fb->dirty() in tinydrm_display_pipe_update() as well (Noralf)

Cc: "Noralf Trønnes" <noralf@tronnes.org>
Cc: David Lechner <david@lechnology.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Noralf Trønnes <noralf@tronnes.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20180323153509.15287-1-ville.syrjala@linux.intel.com
Reviewed-by: Noralf Trønnes <noralf@tronnes.org>
Tested-by: Noralf Trønnes <noralf@tronnes.org>
2018-03-28 19:19:32 +03:00
..
amd Merge airlied/drm-next into drm-misc-next 2018-03-21 09:40:55 -04:00
arc
arm
armada
ast
atmel-hlcdc
bochs
bridge
cirrus
etnaviv
exynos drm/exynos: Let core take care of normalizing the zpos 2018-03-28 09:45:43 +03:00
fsl-dcu
gma500
hisilicon
i2c
i810
i915 Merge airlied/drm-next into drm-misc-next 2018-03-21 09:40:55 -04:00
imx
lib
mediatek
meson drm/meson: Fix potential NULL dereference in meson_drv_bind_master() 2018-03-20 17:15:40 +01:00
mga
mgag200
msm Merge tag 'drm-msm-next-2018-03-20' of git://people.freedesktop.org/~robclark/linux into drm-next 2018-03-21 14:06:00 +10:00
mxsfb drm/simple-kms-helper: Plumb plane state to the enable hook 2018-03-28 19:19:32 +03:00
nouveau gpu: drm: nouveau: Use list_{next/prev}_entry instead of list_entry 2018-03-26 16:10:52 +02:00
omapdrm drm/omap: Use normalized zpos for plane placement 2018-03-28 09:45:45 +03:00
panel
pl111 drm/simple-kms-helper: Plumb plane state to the enable hook 2018-03-28 19:19:32 +03:00
qxl Merge airlied/drm-next into drm-misc-next 2018-03-21 09:40:55 -04:00
r128
radeon Merge airlied/drm-next into drm-misc-next 2018-03-21 09:40:55 -04:00
rcar-du drm: rcar-du: Let core take care of normalizing the zpos 2018-03-28 09:45:45 +03:00
rockchip drm/rockchip: fixup comment for gem_free_object_unlocked 2018-03-28 17:07:36 +02:00
savage
scheduler
selftests
shmobile
sis
sti drm/sti: Let core take care of normalizing the zpos 2018-03-28 09:45:44 +03:00
stm
sun4i drm/sun4i: backend: Support YUV planes 2018-03-19 22:04:57 +01:00
tdfx
tegra drm/tegra: Let core take care of normalizing the zpos 2018-03-28 09:45:44 +03:00
tilcdc
tinydrm drm/tinydrm: Make fb_dirty into a lower level hook 2018-03-28 19:19:32 +03:00
ttm
tve200 drm/simple-kms-helper: Plumb plane state to the enable hook 2018-03-28 19:19:32 +03:00
udl drm/udl: Get rid of dev->struct_mutex usage 2018-03-28 17:07:36 +02:00
vc4 drm/vc4_validate: Remove VLA usage 2018-03-16 15:51:52 -07:00
vgem
via
virtio
vmwgfx Merge airlied/drm-next into drm-misc-next 2018-03-21 09:40:55 -04:00
zte
ati_pcigart.c
drm_agpsupport.c
drm_atomic.c
drm_atomic_helper.c drm: Add drm_mode_config->normalize_zpos boolean 2018-03-28 09:45:43 +03:00
drm_auth.c
drm_blend.c
drm_bridge.c
drm_bufs.c drm: dma_bufs: Fixed checkpatch issues 2018-03-19 09:31:20 -04:00
drm_cache.c
drm_color_mgmt.c
drm_connector.c
drm_context.c
drm_crtc.c
drm_crtc_helper.c
drm_crtc_helper_internal.h
drm_crtc_internal.h
drm_debugfs.c
drm_debugfs_crc.c
drm_dma.c
drm_dp_aux_dev.c
drm_dp_dual_mode_helper.c
drm_dp_helper.c
drm_dp_mst_topology.c drm/dp/mst: Fix off-by-one typo when dump payload table 2018-03-28 09:12:16 +03:00
drm_drv.c
drm_dumb_buffers.c
drm_edid.c
drm_edid_load.c
drm_encoder.c
drm_encoder_slave.c
drm_fb_cma_helper.c
drm_fb_helper.c
drm_file.c
drm_flip_work.c
drm_fourcc.c
drm_framebuffer.c
drm_gem.c drm/gem: Document that handle_create must be the last step 2018-03-26 17:42:06 +02:00
drm_gem_cma_helper.c
drm_gem_framebuffer_helper.c
drm_global.c
drm_hashtab.c
drm_info.c
drm_internal.h
drm_ioc32.c
drm_ioctl.c
drm_irq.c
drm_kms_helper_common.c
drm_lease.c gpu: drm/lease:: Use list_{next/prev}_entry instead of list_entry 2018-03-26 10:38:06 +02:00
drm_legacy.h
drm_lock.c
drm_memory.c
drm_mipi_dsi.c
drm_mm.c
drm_mode_config.c
drm_mode_object.c
drm_modes.c
drm_modeset_helper.c
drm_modeset_lock.c
drm_of.c
drm_panel.c
drm_panel_orientation_quirks.c
drm_pci.c
drm_plane.c Merge airlied/drm-next into drm-misc-next 2018-03-21 09:40:55 -04:00
drm_plane_helper.c
drm_prime.c
drm_print.c drm: Reduce object size of DRM_DEV_<LEVEL> uses 2018-03-19 15:15:42 +01:00
drm_probe_helper.c
drm_property.c
drm_rect.c
drm_scatter.c
drm_scdc_helper.c drm/scdc-helper: Convert errors into debug messages 2018-03-26 21:37:24 +03:00
drm_simple_kms_helper.c drm/simple-kms-helper: Plumb plane state to the enable hook 2018-03-28 19:19:32 +03:00
drm_syncobj.c
drm_sysfs.c
drm_trace.h
drm_trace_points.c
drm_vblank.c
drm_vm.c
drm_vma_manager.c
Kconfig
Makefile