-
Rob Clark committed
Nov 7, 2012 The patch 'drm/omap: add support for ARCH_MULTIPLATFORM' had a small mistake, using GET_OMAP_REVISION() instead of GET_OMAP_TYPE. Signed-off-by: Rob Clark <rob@ti.com>
-
-
Kernel changes for hwmod and omap_device initialization for GPU.
Change-Id: I4bd96e76af31d0991ce9e67b0c499f0d6f39a1a8 Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@canonical.com> [Rebase on 3.7] Signed-off-by: Vincent Stehlé <v-stehle@ti.com>
-
OMAP4: change default GPU clock source to PER DPLL
Sebastien Jan committed with Rob ClarkJun 13, 2012 POR for GPU Clock source is the PER DPLL. It permits selecting GPU freqs like 307MHz or 384MHz. Signed-off-by: Sebastien Jan <s-jan@ti.com> [Rebase on 3.7] Signed-off-by: Vincent Stehlé <v-stehle@ti.com>
-
-
drm/imx: add support for ARCH_MULTIPLATFORM
Rob Clark committedOct 29, 2012 No dependency on plat headers, so only needs Kconfig update to build for ARCH_MULTIPLATFORM. Signed-off-by: Rob Clark <rob@ti.com>
-
drm/exynos: add support for ARCH_MULTIPLATFORM
Rob Clark committedOct 29, 2012 Exynos does not seem to have any dependency on anything from platform headers so just needs Kconfig updated to build in ARCH_MULTIPLATFORM builds. Signed-off-by: Rob Clark <rob@ti.com>
-
drm/omap: add support for ARCH_MULTIPLATFORM
Rob Clark committedOct 29, 2012 Remove usage of plat/cpu.h and get information from platform data instead. This enables omapdrm to be built with ARCH_MULTIPLATFORM. Signed-off-by: Rob Clark <rob@ti.com>
-
drm/omap: Remove cpu_is_omapXXXX usage in DMM
Removed usage of the cpu_is_omapXXXX in the DMM driver. This is no longer necessary as we can key off of the omap_dmm pointer that is only non-NULL if the device has been probed successfully. Signed-off-by: Andy Gross <andy.gross@ti.com>
-
drm/omap: remove global drm_device ptr
Rob Clark committedOct 29, 2012 Not actually used anymore. Signed-off-by: Rob Clark <rob@ti.com>
-
Rob Clark committed
Sep 12, 2012 -
drm/omap: update for atomic age
Rob Clark committedSep 27, 2012 -
Rob Clark committed
Oct 12, 2012 Start breaking out the mutable state of the CRTC into it's own structure. Plus add _check_state() and _set_property() helpers. This only moves the state that is related to scanout fb, which is needed for nuclear-pageflip. The rest of the mutable state should be moved from drm_crtc to drm_crtc_state as part of the atomic-modeset implementation.
-
drm: convert page_flip to properties
Rob Clark committedSep 12, 2012 Use atomic properties mechanism for CRTC page_flip. This by itself doesn't accomplish anything, but it avoids having multiple code paths to do the same thing when nuclear-pageflip and atomic-modeset are introduced.
-
Rob Clark committed
Sep 13, 2012 Break the mutable state of a plane out into a separate structure. This makes it easier to have some helpers for plane->set_property() and for checking for invalid params. The idea is that individual drivers can wrap the state struct in their own struct which adds driver specific parameters, for easy build-up of state across multiple set_property() calls and for easy atomic commit or roll- back. The same should be done for CRTC, encoder, and connector, but this patch only includes the first part (plane).
-
drm: convert plane to properties
Rob Clark committedSep 12, 2012 Use atomic properties mechanism to set plane attributes. This by itself doesn't accomplish anything, but it avoids having multiple code paths to do the same thing when nuclear-pageflip and atomic- modeset are introduced.
-
drm: split property values out
Rob Clark committedSep 12, 2012 Split property values out into a different struct, so we can later move property values into state structs. This will allow the property values to stay in sync w/ the state updates which are either discarded or atomically committed.
-
drm: add DRM_MODE_PROP_SIGNED property flag
Rob Clark committedSep 13, 2012 Flag for range property types indicating that the value is a signed integer rather than unsigned. For range properties, the signed flag will trigger use of signed integer comparisions, to handle negative values properly.
-
drm: add DRM_MODE_PROP_DYNAMIC property flag
Rob Clark committedSep 13, 2012 This indicates to userspace that the property is something that can be set dynamically without requiring a "test" step to check if the hw is capable. This allows a userspace compositor, such as weston, to avoid an extra ioctl to check whether it needs to fall-back to GPU to composite some surface prior to submission of GPU render commands.
-
Rob Clark committed
Sep 12, 2012 An object property is an id (idr) for a drm mode object. This will allow a property to be used set/get a framebuffer, CRTC, etc.
-
Rob Clark committed
Sep 10, 2012 The 'atomic' mechanism allows for multiple properties to be updated, checked, and commited atomically. This will be the basis of atomic- modeset and nuclear-pageflip. The basic flow is: state = dev->atomic_begin(); for (... one or more ...) obj->set_property(obj, state, prop, value); if (dev->atomic_check(state)) dev->atomic_commit(state, event); dev->atomic_end(state); The split of check and commit steps is to allow for ioctls with a test-only flag (which would skip the commit step). The atomic functions are mandatory, as they will end up getting called from enough places that it is easier not to have to bother with if-null checks everywhere. -
HACK: drm/omap: hack to use dispc_request_irq()/dispc_free_irq()
Rob Clark committedOct 10, 2012 If we associate dispc hwmod w/ omapdrm then we could avoid this..
-
WIP: drm/omap: use omapdss low lever API (v?)
Rob Clark committedJul 30, 2012 This is still work in progress, but it nicely solves the omapdss vs drm impedence mismatches, and properly fixes unpin confusion vs GO bit status. As an added bonus, we also no longer leave the last overlay buffer pinned. Adding the previously missing vblank event handling for userspace should be pretty trivial now too. v1: initial version v2: Reshuffle mapping of kms to dss.. now it is plane->ovl, crtc->manager. The encoder is still a placeholder and connector is dssdev, but eventually encoder should map to dss encoder (DSI/DPI/VENC/HDMI) and connector to panel. v3: few cleanups, add debugfs, etc v4: rebase and fix some irq issues v5: rebase on "apply-test" version of omapdss v6: add error irq handlers v7: move the write access to dssdev (set_timings(), enable(), disable() to encoder, and use apply mechanism to sequence things properly v8: rebase on apply-test-6 v9: update encoder.. call directly from apply in crtc to ensure correct sequencing -
Rob Clark committed
Oct 22, 2012 mgr could be null, check_timings() can be called before we have hooked the output to an mgr.. Also, DISPC_DIVISORo() BUG()s if called for channel-digit
-
Rob Clark committed
Oct 10, 2012 -
drm/omap: only advertise rotation prop if supported
Rob Clark committedOct 25, 2012 For hardware that does not have DMM/TILER, there is no rotation, so no point in getting userspace's hopes up. Signed-off-by: Rob Clark <rob@ti.com>
-
drm/omap: fix issue w/ fb attached to multiple CRTCs
Rob Clark committedSep 28, 2012 When the fb is detached from one CRTC/plane, paddr was set back to zero. But really we don't want to do this because the fb could still be attached to other CRTC/plane(s). This originally worked like this to catch cases of freeing a pinned fb (but with the refcnt'ing this should no longer be needed). Also, there is checking in the GEM code for freeing a pinned GEM object, so this extra level of checking is redundant. Signed-off-by: Rob Clark <rob@ti.com>
-
drm: remove legacy drm_connector_property fxns
Rob Clark committedOct 12, 2012 Replace references to and remove the connector property fxns, which have been superseded with the more general object property fxns: + drm_connector_attach_property -> drm_object_attach_property + drm_connector_property_set_value -> drm_object_property_set_value + drm_connector_property_get_value -> drm_object_property_get_value Signed-off-by: Rob Clark <rob@ti.com>
-
drm/i2c: drm_connector_property -> drm_object_property
Rob Clark committedOct 12, 2012 Signed-off-by: Rob Clark <rob@ti.com>
-
drm/vmwgfx: drm_connector_property -> drm_object_property
Rob Clark committedOct 12, 2012 Signed-off-by: Rob Clark <rob@ti.com>
-
drm/udl: drm_connector_property -> drm_object_property
Rob Clark committedOct 12, 2012 Signed-off-by: Rob Clark <rob@ti.com>
-
drm/shmob: drm_connector_property -> drm_object_property
Rob Clark committedOct 12, 2012 Signed-off-by: Rob Clark <rob@ti.com>
-
drm/radeon: drm_connector_property -> drm_object_property
Rob Clark committedOct 12, 2012 Signed-off-by: Rob Clark <rob@ti.com>
-
drm/nouveau: drm_connector_property -> drm_object_property
Rob Clark committedOct 12, 2012 Signed-off-by: Rob Clark <rob@ti.com>
-
drm/gma500: drm_connector_property -> drm_object_property
Rob Clark committedOct 12, 2012 Signed-off-by: Rob Clark <rob@ti.com>