linux/drivers/gpu/drm/omapdrm
Maarten Lankhorst 3dfeb631a1 drm/omap: Rework the rotation-on-crtc hack
I want/need to rework the core property handling, and this hack is
getting in the way. But since it's a non-standard propety only used by
legacy userspace we know that this will only every be called from
ioctl code. And never on some other free-standing state struct, where
this old hack wouldn't work either.

v2: don't forget zorder and get_property!

v3: Shadow the legacy state to avoid locking issues in get_property
(Maarten).

v4: Review from Laurent
- Move struct omap_crtc_state into omap_crtc.c
- Clean up comments.
- Don't forget to copy the shadowed state over on duplicate.

v5: Don't forget to update the reset handler (Maarten).
v6: Update omap_crtc_state shadow values in omap_crtc_atomic_check (Maarten).
v7:
- Fix get_property to return 0 and set value in *val (Maarten).
- Update comment in set_property for changes in v6 (Maarten).

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> (v4)
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> (v4)
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/a6a10a4f-2ebc-5f81-00bd-5e906967f384@linux.intel.com
2017-08-08 14:09:34 +02:00
..
displays drm/omap: remove legacy get_resolution 2017-06-02 10:57:19 +03:00
dss drm/omap: fix YUV422 90/270 rotation with mirroring 2017-06-02 11:09:33 +03:00
Kconfig drm/omap: Get rid of DRM_OMAP_NUM_CRTCS config option 2017-04-03 12:36:40 +03:00
Makefile drm/omap: remove unneeded -Iinclude/drm compiler flag 2017-05-18 07:13:17 +02:00
omap_connector.c drm/omap: fix display SYNC/DE flags 2017-04-03 12:36:40 +03:00
omap_crtc.c drm/omap: Rework the rotation-on-crtc hack 2017-08-08 14:09:34 +02:00
omap_debugfs.c drm/omap: Remove omap_debugfs_cleanup() 2017-01-27 15:25:53 +01:00
omap_dmm_priv.h drm/omap: fix race conditon in DMM 2015-03-24 13:50:59 +02:00
omap_dmm_tiler.c drm/omap: 64bit compile fixes 2017-06-02 10:57:13 +03:00
omap_dmm_tiler.h drm/omap: fix TILER on OMAP5 2015-03-24 13:50:55 +02:00
omap_drv.c drm/omapdrm: Fix omap_atomic_wait_for_completion 2017-08-01 11:07:36 +02:00
omap_drv.h drm/omap: remove omap_drm_win 2017-06-02 11:04:17 +03:00
omap_encoder.c drm: handle HDMI 2.0 VICs in AVI info-frames 2017-07-14 21:23:54 +03:00
omap_fb.c drm/omap: fix YUV422 rotation with TILER 2017-06-02 11:08:59 +03:00
omap_fbdev.c drm/<drivers>: Drop fbdev info flags 2017-07-26 13:22:40 +02:00
omap_gem_dmabuf.c drm: omapdrm: Take GEM object reference when exporting dmabuf 2017-06-02 10:57:08 +03:00
omap_gem.c drm/omap: fix tiled buffer stride calculations 2017-06-02 11:09:34 +03:00
omap_irq.c drm/omap: ratelimit OCP error 2017-06-02 10:57:21 +03:00
omap_plane.c drm: Plumb modifiers through plane init 2017-08-01 17:50:06 +01:00
tcm-sita.c drm/omap: Use bitmaps for TILER placement 2015-12-31 11:25:47 +02:00
tcm-sita.h
tcm.h drm/omap: Use bitmaps for TILER placement 2015-12-31 11:25:47 +02:00
TODO