nstable for playback, this time with the full dmesg output.
--
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL:
<http://lists.freedesktop.org/archives/dri-devel/attachments/2014103
Hi Steve,
On Fri, Oct 31, 2014 at 8:53 PM, Steve Longerbeam
wrote:
> Hi, this affects only Freescale imx IPU and imx-drm staging drivers,
> except for two patches that affect drm core (patch 53 and 63, see below).
>
> New features for imx-drm staging driver:
>
> - Support for multi-display (HDMI
veri. It's specifically related
Southern Islands GPUs.
--
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL:
<http://lists.freedesktop.org/archives/dri-devel/attachments/20141031/f0ed9f3e/attachment.html>
On Fri, Oct 31, 2014 at 02:39:11PM +, Damien Lespiau wrote:
> Cc: Chandra Konduru
> Cc: Daniel Vetter
> Signed-off-by: Damien Lespiau
On the entire series:
Reviewed-by: Daniel Vetter
Merged into topic/core-stuff for shepherding until it lands in drm-next.
-Daniel
> ---
> drivers/gpu/dr
On Thu, Oct 30, 2014 at 01:39:04PM -0400, Rob Clark wrote:
> After:
>
> commit d059f652e73c35678d28d4cd09ab2cec89696af9
> Author: Daniel Vetter
> AuthorDate: Fri Jul 25 18:07:40 2014 +0200
>
> drm: Handle legacy per-crtc locking with full acquire ctx
>
> drm_mode_cursor_common() was swi
On Thu, Oct 30, 2014 at 03:41:31PM +0100, Thomas Hellstrom wrote:
> Hi!
>
> Details in
>
> https://bugzilla.redhat.com/show_bug.cgi?id=1155825
>
> Can whoever broke the driver please make an effort to fix it up?
>
> Daniel, You've been named as a suspect. I'm not sure if that is true.
Yeah the
part --
An HTML attachment was scrubbed...
URL:
<http://lists.freedesktop.org/archives/dri-devel/attachments/20141031/42d0207c/attachment.html>
On Fri, Oct 31, 2014 at 07:25:08AM -0400, Sean Paul wrote:
> On Wed, Oct 29, 2014 at 5:12 AM, Daniel Vetter
> wrote:
> > While writing atomic docs I've noticed that I don't get any errors
> > for my screw-ups in drm_crtc.h. Fix this immediately.
> >
> > This just does the bare minimum to get star
On Thu, Oct 30, 2014 at 04:07:05PM +0100, Thomas Hellstrom wrote:
> On 10/28/2014 12:10 PM, Daniel Vetter wrote:
> > On Tue, Oct 28, 2014 at 06:35:04PM +0900, Michel Dänzer wrote:
> >> From: Michel Dänzer
> >>
> >> DRM_MM_SEARCH_BEST gets the smallest hole which can fit the BO. That seems
> >> a
On 10/31/2014 05:09 PM, Fabio Estevam wrote:
> Hi Steve,
>
> On Fri, Oct 31, 2014 at 8:53 PM, Steve Longerbeam
> wrote:
>> Hi, this affects only Freescale imx IPU and imx-drm staging drivers,
>> except for two patches that affect drm core (patch 53 and 63, see below).
>>
>> New features for imx-d
On Thu, Oct 30, 2014 at 01:40:34PM +0200, Laurent Pinchart wrote:
> Hi Simon,
>
> On Thursday 30 October 2014 20:29:22 Simon Horman wrote:
> > 2014/10/30 20:05 "Laurent Pinchart" :
> > > On Tuesday 28 October 2014 15:30:05 Dave Airlie wrote:
> > >>> The last patch instantiates the HDMI encoder in
On Wed, Oct 29, 2014 at 02:42:29PM +0100, Thierry Reding wrote:
> On Wed, Oct 22, 2014 at 11:45:23AM +0530, sonika.jindal at intel.com wrote:
> > From: Sonika Jindal
> >
> > v2: Reading DP_EDP_REV, only when DISPLAY_CONTROL_CAPABLE field is set
> > (Satheesh)
> >
> > v3: Moving the utility func
On Wed, Oct 29, 2014 at 10:09:04AM +0100, Andrzej Hajda wrote:
> On 10/29/2014 08:58 AM, Daniel Vetter wrote:
> > On Tue, Oct 28, 2014 at 04:05:34PM +0100, Thierry Reding wrote:
> >> On Tue, Oct 28, 2014 at 08:16:44PM +0530, Ajay kumar wrote:
> >>> On Tue, Oct 28, 2014 at 8:11 PM, Thierry Reding
>
On Wed, Oct 29, 2014 at 10:16:49AM +0100, Thierry Reding wrote:
> On Wed, Oct 29, 2014 at 08:51:27AM +0100, Daniel Vetter wrote:
> > On Tue, Oct 28, 2014 at 03:29:47PM +0100, Thierry Reding wrote:
> > > On Mon, Oct 27, 2014 at 11:20:31PM +0100, Daniel Vetter wrote:
> > > > On Mon, Oct 27, 2014 at 8
On Thu, Oct 30, 2014 at 10:09:28AM +, Russell King - ARM Linux wrote:
> On Thu, Oct 30, 2014 at 11:01:02AM +0100, Andrzej Hajda wrote:
> > On 10/29/2014 10:14 AM, Thierry Reding wrote:
> > > On Wed, Oct 29, 2014 at 09:57:02AM +0100, Daniel Vetter wrote:
> > >> I think we nee try_get_module for
ajax at nwnk dot net has used the 'sudo' feature to
access
Bugzilla using your account.
ajax at nwnk dot net provided the following reason for
doing this:
seeing if i can set email prefs (mareko wants the New: gone from bz emails)
If you feel that this action was inappropriate, p
because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL:
<http://lists.freedesktop.org/archives/dri-devel/attachments/20141031/04b800e6/attachment.html>
On Wed, Oct 29, 2014 at 10:14:37AM +0100, Thierry Reding wrote:
> On Wed, Oct 29, 2014 at 09:57:02AM +0100, Daniel Vetter wrote:
> > That makes the entire thing a bit non-trivial, which is why I think it
> > would be better as some generic helper. Which then gets embedded or
> > instantiated for sp
Enable 8 burst locking in the primary and overlay plane
idmac channels. This seems to improve some cases of data
starvation errors to the DI.
Signed-off-by: Steve Longerbeam
---
drivers/staging/imx-drm/ipuv3-plane.c |1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/staging/imx-drm/i
If the overlay exists and is enabled, it must be disabled before
stopping the DI, otherwise DI synchronous display errors are the
result.
Signed-off-by: Steve Longerbeam
---
drivers/staging/imx-drm/ipuv3-crtc.c |8
1 file changed, 8 insertions(+)
diff --git a/drivers/staging/imx-dr
At preclose, destroy page flip events that are pending on every
plane.
Signed-off-by: Steve Longerbeam
---
drivers/staging/imx-drm/imx-drm-core.c | 15 +--
drivers/staging/imx-drm/imx-drm.h |2 ++
drivers/staging/imx-drm/ipuv3-crtc.c | 13 +
drivers/staging
Implement the mode_set_base drm_crtc_helper callback. DRM core calls
this method when there is a SetCrtc request but only the framebuffer
and/or the x/y scanout position in the framebuffer has changed and no
other video mode parameters have changed.
So mode_set_base is similar to a page flip excep
If a ddc node was specified in the device tree, use it in
imx_ldb_connector_detect() to probe the ddc with drm_probe_ddc(), if
the result is success, we know there is a display connected so return
connected status. Otherwise (no ddc specified in DT) we just have to
assume connected status.
Signed-
Call ipu_fb_disable() in the crtc unbind method, in case the
crtc has been left enabled.
Signed-off-by: Steve Longerbeam
---
drivers/staging/imx-drm/ipuv3-crtc.c |2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/staging/imx-drm/ipuv3-crtc.c
b/drivers/staging/imx-drm/ipuv3-crtc.c
Instead of assuming only a single defined display-timing node in the
device tree, assume there can be multiple modes and register all of
them in imx_pd_connector_get_modes().
Signed-off-by: Steve Longerbeam
---
drivers/staging/imx-drm/parallel-display.c | 48 +++-
1 fil
Instead of assuming only a single defined display-timing node in the
device tree, assume there can be multiple modes and register all of
them in imx_ldb_connector_get_modes().
Signed-off-by: Steve Longerbeam
---
drivers/staging/imx-drm/imx-ldb.c | 46 ++---
1 fi
Previously, pixel clock polarity was hardcoded and wasn't configurable.
This patch adds support to configure the pixel clock polarity from the
DRM mode flags.
Signed-off-by: Mohsin Kazmi
Signed-off-by: Steve Longerbeam
---
drivers/staging/imx-drm/ipuv3-crtc.c |3 ++-
1 file changed, 2 inser
Signed-off-by: Steve Longerbeam
---
drivers/gpu/drm/drm_modes.c |4
include/uapi/drm/drm_mode.h |4
2 files changed, 8 insertions(+)
diff --git a/drivers/gpu/drm/drm_modes.c b/drivers/gpu/drm/drm_modes.c
index d1b7d20..5016099 100644
--- a/drivers/gpu/drm/drm_modes.c
+++ b/driv
According to the imx6 reference manual, the DMFC channel's
burstsize must match the corresponding IDMAC channel's burstsize,
so make sure to pass the IDMAC channel burstsize to
ipu_dmfc_alloc_bandwidth(). We need to move ipu_dmfc_alloc_bandwidth()
to after the channel is setup, in order to first in
Store the ipu/di mux in struct imx_hdmi during imx_hdmi_encoder_prepare().
imx_hdmi_encoder_commit() can then use the mux when setting the iomux
instead of looking it up again via imx_drm_encoder_get_mux_id().
Signed-off-by: Steve Longerbeam
---
drivers/staging/imx-drm/imx-hdmi.c |9 +---
Set the i.mx crtc device name to a more meaningful crtc[0-3], which
matches the device tree phandle names.
Signed-off-by: Steve Longerbeam
---
drivers/staging/imx-drm/ipuv3-crtc.c | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/imx-drm/ipuv3-crtc.
If DI is firstly bound to ldb and then re-bound to HDMI,
DI clock source will still be routed to LDB clock by ldb driver.
In HDMI driver's encoder_prepare, we have to set DI clock source to
the parent di_pre clock mux to ensure we are having correct clock
chain to drive HDMI display.
Signed-off-by
Define a new devicetree property "interface-pix-map" for use by
i.MX DRM display drivers. This property defines a DI interface
pixel bus mapping. Implement the parsing of this property in the
parallel display driver, and pass on the mapping to
imx_drm_panel_format().
See Documentation/devicetree/b
Adds the framework that allows encoder/connector drivers to create
a new interface pixel mapping passed to imx_drm_panel_format(). The
crtc driver will then pass this pointer on to ipu_dc_init_sync() which
sets up the new mapping in the DC.
Signed-off-by: Steve Longerbeam
---
drivers/staging/imx
Implement i.MX specific ioctl to set gamma directly using slope and
y-intercept values that define the piecewise linear gamma correction
curve.
Signed-off-by: Steve Longerbeam
---
drivers/staging/imx-drm/imx-drm-core.c | 40 +++-
drivers/staging/imx-drm/imx-drm.h
Implement the DRM gamma set API. This API expects that the adapter
will use a gamma-corrected CLUT, but the CLUT on i.MX6 is insufficient
for that purpose.
But the i.MX6 does support gamma correction via a set of registers
that define a piecewise linear approximation to a luminance
gamma correctio
Assign ipu_plane_page_flip to new drm_plane_funcs->page_flip method.
This allows page flip operation in both the primary and overlay planes.
Signed-off-by: Steve Longerbeam
---
drivers/staging/imx-drm/ipuv3-plane.c |1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/staging/imx-drm/ip
Planes like crtcs would benefit from having page flip event support.
With planes page flip it is now possible to synchronize changing a
framebuffer used by an overlay (or even cursor) plane with vertical
sync events.
A page flip in the primary plane is equivalent to a crtc page flip,
which suggest
In the crtc and plane drivers it is possible the ipu unit pointers
could be left at error pointer values. Reset them to NULL on errors
to prevent this. Also ipu_put_resources() should reset the units to
NULL after releasing them.
Signed-off-by: Steve Longerbeam
---
drivers/staging/imx-drm/ipuv3-
Move page flip handling and associated vblank handling to the
plane driver. This paves the way to allow page flipping in not
just the primary plane but the overlay plane as well.
To do this the primary and overlay planes are assigned a pipe value
suitable for passing to the drm core vblank methods
drm_crtc_init() will create a primary plane object, while imx-drm also
creates its own, thus two primary planes are separately created, and
can cause difficult bugs to track down in the future.
Fix by using drm_crtc_init_with_planes() instead of drm_crtc_init(),
so that we can hand drm our own pri
Add support for reading EDID over Display Data Channel. If no DDC
adapter is available, falls back to hardcoded EDID or display-timings
node as before.
Signed-off-by: Steve Longerbeam
---
drivers/staging/imx-drm/imx-ldb.c | 39 +
1 file changed, 31 insertion
Rearrange how HDMI driver requests and frees irq. Currently the driver
has two problems:
1) if imx_hdmi_register() fails, irq still can trigger and cause oops
2) irq is enabled too early, before all fields are initialized, so
triggered irq can cause oops.
Fix by moving irq request and activation
Add support for setting global alpha and colorkey in foreground planes
using plane properties. Background planes can also support these
properties if the background plane is initialized as not private.
Signed-off-by: Steve Longerbeam
---
drivers/staging/imx-drm/ipuv3-plane.c | 144 +
Report more supported formats to drm core via ipu_plane_formats[].
Signed-off-by: Steve Longerbeam
---
drivers/staging/imx-drm/ipuv3-plane.c |8
1 file changed, 8 insertions(+)
diff --git a/drivers/staging/imx-drm/ipuv3-plane.c
b/drivers/staging/imx-drm/ipuv3-plane.c
index cbd300b
A background plane was assuming the framebuffer pixel format was
RGB by passing IPUV3_COLORSPACE_RGB to ipu_dp_setup_channel(). Fix
by passing the actual colorspace of the framebuffer's pixel format.
Signed-off-by: Steve Longerbeam
---
drivers/staging/imx-drm/ipuv3-plane.c |2 +-
1 file chan
During a mode set the U/V plane strides and buffer offsets
for planar pixel formats were not being configured in cpmem.
Fix by calling ipu_cpmem_set_yuv_planar() for planar formats.
Signed-off-by: Steve Longerbeam
---
drivers/staging/imx-drm/ipuv3-plane.c |4
1 file changed, 4 insertion
Comma expression is used to set mode type
"mode->type |= DRM_MODE_TYPE_DRIVER | DRM_MODE_TYPE_PREFERRED,"
which is a typo, replace it with ";".
Signed-off-by: Jiada Wang
Signed-off-by: Steve Longerbeam
---
drivers/staging/imx-drm/parallel-display.c |4 ++--
1 file changed, 2 insertions(+),
Implement imx_ldb_encoder_dpms(). Two new functions are created
to share poweroff and poweron code. imx_ldb_poweroff() is called
by encoder dpms, prepare, and disable. imx_ldb_poweron() is called
by encoder dpms and commit.
Signed-off-by: Steve Longerbeam
---
drivers/staging/imx-drm/imx-ldb.c |
Add some debug macros for the important encoder and connector
callbacks.
Signed-off-by: Steve Longerbeam
---
drivers/staging/imx-drm/imx-ldb.c | 36 +++-
1 file changed, 27 insertions(+), 9 deletions(-)
diff --git a/drivers/staging/imx-drm/imx-ldb.c
b/drivers/
Add a clause to imx-pd driver to use 18-bit output if driver is told so.
Signed-off-by: Dmitry Eremin-Solenikov
Signed-off-by: Steve Longerbeam
---
drivers/staging/imx-drm/parallel-display.c |7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/staging/imx-drm/parallel-display.c
A wait of around 50 ~ 100 micro seconds seems to be enough to allow
I2C Master PHY done, so instead of wait 1000 usec at each time
of register check, wait 100 usec is more appropriate.
Signed-off-by: Jiada Wang
Signed-off-by: Steve Longerbeam
---
drivers/staging/imx-drm/imx-hdmi.c |6 +++---
The crtcs are now nodes in the device tree, and the encoder endpoints
fall under the crtc port.
ipu_client_platformdata is no longer needed and is gone. The crtc
retrieves the following required parameters from its node:
- ipu phandle.
- di number.
- the port endpoints.
Optionally, "dual-plane"
Adds ipu_cpmem_get_burstsize().
Signed-off-by: Steve Longerbeam
---
drivers/gpu/ipu-v3/ipu-cpmem.c |6 ++
include/video/imx-ipu-v3.h |1 +
2 files changed, 7 insertions(+)
diff --git a/drivers/gpu/ipu-v3/ipu-cpmem.c b/drivers/gpu/ipu-v3/ipu-cpmem.c
index b05a5e8..7afea0a 100644
Add simple hooks to support YVU422 in cpmem.
Signed-off-by: Steve Longerbeam
---
drivers/gpu/ipu-v3/ipu-cpmem.c |3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/gpu/ipu-v3/ipu-cpmem.c b/drivers/gpu/ipu-v3/ipu-cpmem.c
index a53b242..b05a5e8 100644
--- a/drivers/gpu/ipu-v3/ipu-cpm
Adds functions to link and unlink IDMAC source channels to sink
channels.
So far the following links are supported:
IPUV3_CHANNEL_IC_PRP_ENC_MEM -> IPUV3_CHANNEL_MEM_ROT_ENC
PUV3_CHANNEL_IC_PRP_VF_MEM -> IPUV3_CHANNEL_MEM_ROT_VF
IPUV3_CHANNEL_IC_PP_MEM -> IPUV3_CHANNEL_MEM_ROT_PP
More lin
Adds ipu_drm_fourcc_is_planar(), which is equivalent to
ipu_pixelformat_is_planar() but accepts a drm fourcc format.
Signed-off-by: Steve Longerbeam
---
drivers/gpu/ipu-v3/ipu-common.c | 18 ++
include/video/imx-ipu-v3.h |1 +
2 files changed, 19 insertions(+)
diff --
Pass a drm pixel format fourcc to ipu_cpmem_set_yuv_interleaved(),
ipu_cpmem_set_yuv_planar_full(), and ipu_cpmem_set_yuv_planar(),
instead of a v4l2 pixel format. The remaining cpmem API that still
accepts a v4l2 format is now only ipu_cpmem_set_image(), since this
function is called by v4l2 drive
Adds RGB666 to the pre-loaded interface pixel maps.
Signed-off-by: Steve Longerbeam
---
drivers/gpu/ipu-v3/ipu-dc.c |4
1 file changed, 4 insertions(+)
diff --git a/drivers/gpu/ipu-v3/ipu-dc.c b/drivers/gpu/ipu-v3/ipu-dc.c
index 23b6e2c..955adab 100644
--- a/drivers/gpu/ipu-v3/ipu-dc.c
This patch sets the rate of the DI pre clock to support a much wider
range of pixel clock frequencies.
It does this by calculating two values for the pre-clk rate: a
rate that is a whole integer multiple of the pixel clock, and a rate
that is a half-integer multiple. It then programs whichever rat
The IPU client devices have been moved to the device tree, so
remove platform registration of those devices. As a result,
platform data (struct ipu_client_platformdata) is no longer
needed, the client data is retrieved from the device nodes.
Signed-off-by: Steve Longerbeam
---
drivers/gpu/ipu-v3
This patch changes signal names in struct ipu_di_signal_cfg
as per the industry standard names, and renames fields that
were using CamelCase.
Signed-off-by: Deepak Das
Signed-off-by: Steve Longerbeam
---
drivers/gpu/ipu-v3/ipu-di.c | 68 +-
drivers/sta
Add a couple error messages to ipu_di_init() for better IPU
load/unload debug. Add more debug messages.
Signed-off-by: Steve Longerbeam
---
drivers/gpu/ipu-v3/ipu-di.c | 30 --
1 file changed, 20 insertions(+), 10 deletions(-)
diff --git a/drivers/gpu/ipu-v3/ipu-di
Move the init of di->ipu pointer to near top of ipu_di_init().
Signed-off-by: Steve Longerbeam
---
drivers/gpu/ipu-v3/ipu-di.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/ipu-v3/ipu-di.c b/drivers/gpu/ipu-v3/ipu-di.c
index 5686969..70bf594 100644
--- a/driv
Define the names of the DC channels, and reference them in ipu-dc.
Signed-off-by: Steve Longerbeam
---
drivers/gpu/ipu-v3/ipu-dc.c |6 ++
include/video/imx-ipu-v3.h |7 +++
2 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/drivers/gpu/ipu-v3/ipu-dc.c b/drivers/gpu/i
The dmfc mutex was being acquired in ipu_dmfc_free_bandwidth(), freed,
then immediately re-acquired in ipu_dmfc_alloc_bandwidth(). Acquire
the lock once at the beginning of ipu_dmfc_alloc_bandwidth().
Signed-off-by: Steve Longerbeam
---
drivers/gpu/ipu-v3/ipu-dmfc.c | 19 ---
1
The function ipu_dmfc_init_channel() sets the "WAIT4EOT" mode according
to the line width and the DMFC channel's FIFO size (the slots parameter).
But this can only happen after slots has been calculated in
ipu_dmfc_alloc_bandwidth().
Fix by renaming ipu_dmfc_init_channel() to a static dmfc_set_wai
IDMAC channels can have a burtsize of 20 pixels, so allow for that in
ipu_dmfc_setup_channel().
Signed-off-by: Steve Longerbeam
---
drivers/gpu/ipu-v3/ipu-dmfc.c |1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/ipu-v3/ipu-dmfc.c b/drivers/gpu/ipu-v3/ipu-dmfc.c
index 307020e..37
Cleanup indentation and whitespace in ipu-dmfc.c. No functional
changes.
Signed-off-by: Steve Longerbeam
---
drivers/gpu/ipu-v3/ipu-dmfc.c | 30 --
1 file changed, 16 insertions(+), 14 deletions(-)
diff --git a/drivers/gpu/ipu-v3/ipu-dmfc.c b/drivers/gpu/ipu-v3/ipu
In Freescale kernels, when a DP channel is enabled, the DP sync
SRM is updated for both background and foreground DP channels. Do
the same.
Signed-off-by: Steve Longerbeam
---
drivers/gpu/ipu-v3/ipu-dp.c | 11 +--
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/drivers/gp
Move the DI waveform counter enable/disable out of
ipu_module_enable()/disable(). This should be carried out
when enabling/disabling the DI pixel clock.
Signed-off-by: Steve Longerbeam
---
drivers/gpu/ipu-v3/ipu-common.c | 37 +++--
drivers/gpu/ipu-v3/ipu-di.c
Some cm_reg accesses were not being protected by the IPU spin lock.
Signed-off-by: Steve Longerbeam
---
drivers/gpu/ipu-v3/ipu-common.c | 22 --
1 file changed, 20 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/ipu-v3/ipu-common.c b/drivers/gpu/ipu-v3/ipu-common.c
DI clock enable/disable is moved out of ipu_di_enable() and ipu_di_disable()
and into (new) ipu_di_enable_clock() and ipu_di_disable_clock(). So
ipu_di_enable() and ipu_di_disable() are now pure module enable/disable.
The purpose of this change is to more closely emulate the display mode
setting s
Adds ipu_di_uninit_sync_panel() which tears down ipu_di_init_sync_panel().
Signed-off-by: Steve Longerbeam
---
drivers/gpu/ipu-v3/ipu-di.c | 18 ++
include/video/imx-ipu-v3.h |1 +
2 files changed, 19 insertions(+)
diff --git a/drivers/gpu/ipu-v3/ipu-di.c b/drivers/gpu/ip
Add debug messages when these modules are globally disabled or enabled
in the IPU_CONF register.
Signed-off-by: Steve Longerbeam
---
drivers/gpu/ipu-v3/ipu-dc.c |8 ++--
drivers/gpu/ipu-v3/ipu-di.c |2 ++
drivers/gpu/ipu-v3/ipu-dmfc.c |5 -
drivers/gpu/ipu-v3/ipu-dp.c |
From: Jiada Wang
On some monitors, with high resolution(1920x1080), HDMI is not working,
some resolution have pixel column truncation problem
(shows 1280x1022 instead of 1280x1024), which will result in really strange
picture on some monitors.
This Patch aims to fix these HDMI timing issues.
Si
The functions ipu_dc_enable() and ipu_dc_disable() enable/disable the DC
globally in the IPU_CONF register, but the DC is used by multiple clients
on different DC channels. So make sure to only disable/enable the DC
globally based on a use counter.
Signed-off-by: Steve Longerbeam
---
drivers/gpu
Pass the pointer to DP channel to ipu_dp_enable() and ipu_dp_disable(),
to be more consistent with the other ipu-dp APIs.
Signed-off-by: Steve Longerbeam
---
drivers/gpu/ipu-v3/ipu-dp.c | 10 ++
drivers/staging/imx-drm/ipuv3-plane.c |4 ++--
include/video/imx-ipu-v3.h
Adds the function ipu_dp_uninit_channel() which tears down
ipu_dp_setup_channel().
Signed-off-by: Steve Longerbeam
Signed-off-by: Muzaffar Mahmood
---
drivers/gpu/ipu-v3/ipu-dp.c | 18 ++
include/video/imx-ipu-v3.h |1 +
2 files changed, 19 insertions(+)
diff --git a/dri
Pass the pointer to DC channel to ipu_dc_enable() and ipu_dc_disable(),
to be more consistent with the other ipu-dc APIs.
Signed-off-by: Steve Longerbeam
---
drivers/gpu/ipu-v3/ipu-dc.c | 12
drivers/staging/imx-drm/ipuv3-crtc.c |8 ++--
include/video/imx-ipu-v3.h
Adds the function ipu_dc_uninit_sync() which tears down
ipu_dc_init_sync().
Signed-off-by: Steve Longerbeam
Signed-off-by: Muzaffar Mahmood
---
drivers/gpu/ipu-v3/ipu-dc.c | 14 ++
include/video/imx-ipu-v3.h |1 +
2 files changed, 15 insertions(+)
diff --git a/drivers/gpu/ip
Adds support to ipu-dc to dynamically create new display interface
pixel mappings.
The mappings are formally defined by a struct ipu_dc_if_map, which is
passed to ipu_dc_init_sync().
The ipu-dc maintains a list of the currently programmed mappings.
Some mappings are pre-loaded at probe time (RGB2
Adds the function ipu_dp_set_gamma_correction(), which programs the
piecewise linear curve that approximates a gamma correction curve.
Signed-off-by: Steve Longerbeam
---
drivers/gpu/ipu-v3/ipu-dp.c | 46 +++
include/video/imx-ipu-v3.h |2 ++
2 file
Adds the function ipu_dp_set_chroma_key(), which sets up a color key
value for a DP foreground plane.
ipu_dp_set_chroma_key() accepts a color key value in RGB24 format.
If the combiner unit colorspace is YUV, the key must be converted
to YUV444, using the same CSC coefficients as programmed in the
Adds ipu_cpmem_set_uv_offset(), to set planar U/V offsets.
Signed-off-by: Steve Longerbeam
---
drivers/gpu/ipu-v3/ipu-cpmem.c |7 +++
include/video/imx-ipu-v3.h |1 +
2 files changed, 8 insertions(+)
diff --git a/drivers/gpu/ipu-v3/ipu-cpmem.c b/drivers/gpu/ipu-v3/ipu-cpmem.c
in
Select pll3_usb_otg for ldb_di clock for rev 1.0 chips.
Signed-off-by: Jiada Wang
Signed-off-by: Steve Longerbeam
---
arch/arm/mach-imx/clk-imx6q.c |3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/mach-imx/clk-imx6q.c b/arch/arm/mach-imx/clk-imx6q.c
index 86b58fc..68064a6 1006
AS pll5_video_div has already been used as clock root for ldb_di,
so use pll2_pfd0_352m as clock root of ipu_di for HDMI.
Signed-off-by: Jiada Wang
Signed-off-by: Steve Longerbeam
---
arch/arm/mach-imx/clk-imx6q.c |8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/ar
Create imx-drm crtc device nodes. Each crtc node requires the following
parameters:
- parent ipu phandle.
- di number.
- port endpoints.
Optionally the node can specify a "dual-plane" boolean parameter
to configure the crtc device with a foreground plane. If not given,
the crtc will have only a s
From: "George G. Davis"
Signed-off-by: George G. Davis
---
arch/arm/boot/dts/imx6qdl-sabreauto.dtsi |5 +
1 file changed, 5 insertions(+)
diff --git a/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi
b/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi
index 009abd6..1bb3ead 100644
--- a/arch/arm/boot/
Adds hdmi with DDC on i2c2.
Signed-off-by: Steve Longerbeam
---
arch/arm/boot/dts/imx6qdl-sabrelite.dtsi | 19 +++
1 file changed, 19 insertions(+)
diff --git a/arch/arm/boot/dts/imx6qdl-sabrelite.dtsi
b/arch/arm/boot/dts/imx6qdl-sabrelite.dtsi
index 0a36129..577e4fd 100644
-
Hi, this affects only Freescale imx IPU and imx-drm staging drivers,
except for two patches that affect drm core (patch 53 and 63, see below).
New features for imx-drm staging driver:
- Support for multi-display (HDMI and LVDS).
- Support for global alpha and color-key properties for overlay plan
hat
> everything can crash if someone unbind driver from LINK2 and then try to
> enable the panel.
I don't think so. Since we're not doing anything with the DSI-LINK2
device anymore it's irrelevant whether it is bound to the driver or
not.
> > + return 0;
> > + }
> > +
> > + err = sharp_panel_disable(&sharp->base);
> > + if (err < 0)
> > + dev_err(&dsi->dev, "failed to disable panel: %d\n", err);
>
> IMHO calling mipi_dsi_detach below should cause connector to call panel
> disable and unprepare so the call above seems to me unnecessary.
I don't think the connector has any business doing anything with the
panel on mipi_dsi_detach(). I suppose we could implement something like
that as part of drm_panel_detach(), but that's not the case today, so
this simply follows what every other panel has done so far.
> > +
> > + err = mipi_dsi_detach(dsi);
> > + if (err < 0)
> > + dev_err(&dsi->dev, "failed to detach from DSI host: %d\n", err);
> > +
> > + drm_panel_detach(&sharp->base);
>
> drm_panel_attach is called from tegra_dsi_host_attach,
> wouldn't be more 'symmetrical' to call drm_panel_detach from
> tegra_dsi_host_detach :)
No, it's not called from tegra_dsi_host_attach(), it's called as part of
the DSI output initialization at DRM load time.
drm_panel_detach() really needs to be called from two places: when the
panel driver is unloaded and when the connector is unloaded. It seems
like this is another area where we may have to put more thought into how
to handle it more uniformly across drivers.
Thierry
-- next part --
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL:
<http://lists.freedesktop.org/archives/dri-devel/attachments/20141031/a8398dbe/attachment.sig>
When drm properties are created, they are added to mode_config.property_list
which is then used in drm_mode_config_cleanup() to destroy every single
property created by the driver.
Cc: Patrik Jakobsson
Signed-off-by: Damien Lespiau
---
drivers/gpu/drm/gma500/psb_intel_sdvo.c | 49 --
When drm properties are created, they are added to mode_config.property_list,
which is then used in drm_mode_config_cleanup() to destroy every single
property created by the driver.
Cc: Chandra Konduru
Cc: Daniel Vetter
Signed-off-by: Damien Lespiau
---
drivers/gpu/drm/i915/intel_sdvo.c | 47 -
Cc: Chandra Konduru
Cc: Daniel Vetter
Signed-off-by: Damien Lespiau
---
drivers/gpu/drm/drm_crtc.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c
index 4081d7a..0f3c24c 100644
--- a/drivers/gpu/drm/drm_crtc.c
+++ b/drivers/gpu/drm
From: Gustavo Padovan
They are not implemented anywhere, so wipe them out.
Signed-off-by: Gustavo Padovan
---
drivers/gpu/drm/exynos/exynos_drm_drv.h | 11 ---
1 file changed, 11 deletions(-)
diff --git a/drivers/gpu/drm/exynos/exynos_drm_drv.h
b/drivers/gpu/drm/exynos/exynos_drm_drv
From: Gustavo Padovan
Description of the @create_connector callback was missing,
and the @manager was no longer needed.
Signed-off-by: Gustavo Padovan
---
drivers/gpu/drm/exynos/exynos_drm_drv.h | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/exynos/exynos
From: Gustavo Padovan
Save a few bytes by compiling them all in the same byte.
Signed-off-by: Gustavo Padovan
---
drivers/gpu/drm/exynos/exynos_drm_drv.h | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/drivers/gpu/drm/exynos/exynos_drm_drv.h
b/drivers/gpu/
From: Gustavo Padovan
This is a leftover, all code using this macro have been removed/
changed already.
Signed-off-by: Gustavo Padovan
---
drivers/gpu/drm/exynos/exynos_drm_drv.h | 14 --
1 file changed, 14 deletions(-)
diff --git a/drivers/gpu/drm/exynos/exynos_drm_drv.h
b/drive
From: Gustavo Padovan
Re-declare struct is not a good practice, let's use the original
drm and exynos declarations.
Signed-off-by: Gustavo Padovan
---
drivers/gpu/drm/exynos/exynos_drm_crtc.h | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/drivers/gpu/drm/exynos/exynos_
1 - 100 of 138 matches
Mail list logo