3e87599b68e7929a84a32ab65ad17b79a3f271f6 |
|
01-Aug-2014 |
Rob Clark <robdclark@gmail.com> |
drm/msm/mdp4: add LVDS panel support LVDS panel support uses the LCDC (parallel) encoder. Unlike with HDMI, there is not a separate LVDS block, so no need to split things into a bridge+connector. Nor is there is anything re-used with mdp5. Note that there can be some regulators shared between HDMI and LVDS (in particular, on apq8064, ext_3v3p), so we should not use the _exclusive() variants of devm_regulator_get(). The drm_panel framework is used for panel-specific driver. Signed-off-by: Rob Clark <robdclark@gmail.com>
|
d65bd0e431156f156f43946b6efb524694afb685 |
|
06-Aug-2014 |
Rob Clark <robdclark@gmail.com> |
drm/msm/mdp4: fix blend setup with multiple crtcs In particular, blend_setup() should not overwrite the other crtc's mixer settings. Also, the encoder needs to be able to specify the mixer-id explicitly, since both LVDS and DTV use 'INTF_LVDC_DTV', so we cannot guess the mixer-id from the interface. Signed-off-by: Rob Clark <robdclark@gmail.com>
|
944fc36c31ed685cf8d3d125eb681ae7198f06fc |
|
10-Jul-2014 |
Rob Clark <robdclark@gmail.com> |
drm/msm: use upstream iommu Downstream kernel IOMMU had a non-standard way of dealing with multiple devices and multiple ports/contexts. We don't need that on upstream kernel, so rip out the crazy. Note that we have to move the pinning of the ringbuffer to after the IOMMU is attached. No idea how that managed to work properly on the downstream kernel. For now, I am leaving the IOMMU port name stuff in place, to simplify things for folks trying to backport latest drm/msm to device kernels. Once we no longer have to care about pre-DT kernels, we can drop this and instead backport upstream IOMMU driver. Signed-off-by: Rob Clark <robdclark@gmail.com>
|
036c17082adae0014c53dc2ff9e813abf13bc3b8 |
|
01-Jul-2014 |
Rob Clark <robdclark@gmail.com> |
drm/msm: fix BUG_ON() in error cleanup path Signed-off-by: Rob Clark <robdclark@gmail.com>
|
e8abb5b5f4a6894d8ecf227de5d9bb6570e399ff |
|
01-Jul-2014 |
Rob Clark <robdclark@gmail.com> |
drm/msm/mdp4: add mdp axi clk Downstream kernel holds this clk via a fake-parent relationship. Upstream clock framework requires that we hold it explicitly. Signed-off-by: Rob Clark <robdclark@gmail.com>
|
41e69778c80764c12683beff5ebef12298a5d16b |
|
15-Dec-2013 |
Rob Clark <robdclark@gmail.com> |
drm/msm: DT support for 8960/8064 (v3) Now that we (almost) have enough dependencies in place (MMCC, RPM, etc), add necessary DT support so that we can use drm/msm on upstream kernel. v2: update for review comments v3: rebase on component helper changes Signed-off-by: Rob Clark <robdclark@gmail.com>
|
7d8d9f670513593377cd1442f987ce03a64ba55d |
|
22-Apr-2014 |
Rob Clark <robdclark@gmail.com> |
drm/msm/mdp4: cure for the cursor blues (v2) The hw cursor is relatively adept at triggering underflows, which manifest as a "blue flash" (since blue is configured as the underflow color). Juggle a few things around to tighten up the timing for setting cursor registers in DONE irq. And most importantly, don't ever disable the hw cursor. Instead flip it to a blank/empty cursor. This seems far more reliable, as even simply clearing the cursor-enable bit (with no other updates in previous/ following frames) can in some cases cause underflow. v1: original v2: add missing locking spotted by Micah Cc: Micah Richert <richert@braincorporation.com> Signed-off-by: Rob Clark <robdclark@gmail.com>
|
dada25bd22a52a4351357209a8c227070cfd406d |
|
01-Dec-2013 |
Rob Clark <robdclark@gmail.com> |
drm/msm: add hdmi support for apq8x74/mdp5 The HDMI block is basically the same between older SoC's with mdp4 display controller, and newer ones with mdp5. So mostly this consists of better abstracting out the different sets of regulators, clks, etc. In particular, for regulators and clks we can split it up by what is needed for hot plug detect to work, and what is needed to light up the display. Also, 8x74 has a new phy.. a very simple one, but split out into a different mmio space. And with mdp5, the irq is shared with mdp, so we don't directly register our own irq handler. Signed-off-by: Rob Clark <robdclark@gmail.com>
|
9e0efa63565511dc75846e6b036a4b80e92b9a98 |
|
30-Nov-2013 |
Rob Clark <robdclark@gmail.com> |
drm/msm: move irq utils to mdp_kms We'll want basically the same thing for mdp5, so refactor it out so it can be shared. Signed-off-by: Rob Clark <robdclark@gmail.com>
|
10a02eb64656e96579e136ae914d30093ca59e48 |
|
30-Nov-2013 |
Rob Clark <robdclark@gmail.com> |
drm/msm: mdp4_format -> mdp_format This can be shared between mdp4 and mdp5. Both use the same set of parameters to describe the format to the hw. Signed-off-by: Rob Clark <robdclark@gmail.com>
|
2e54a92ff2ec6cd70f748d990a3f6646f9b691f3 |
|
30-Nov-2013 |
Rob Clark <robdclark@gmail.com> |
drm/msm: move mdp4 -> mdp/mdp4 There are some little bits and pieces that mdp4 and mdp5 can share, so move things around so that we can have both in a common parent directory. Signed-off-by: Rob Clark <robdclark@gmail.com>
|