Re: [RFC v2 8/8] drm: tegra: Add gr2d device

2012-11-26 Thread Dave Airlie
> > Third would be having a firewall in 2D driver checking the stream and > ensuring all registers that accept addresses are written by values > derived from dmabufs. I haven't tried implementing this, but it'd > involve a lookup table in kernel and CPU reading through the command > stream. Offsets

Re: [RFC v2 8/8] drm: tegra: Add gr2d device

2012-11-26 Thread Terje Bergström
On 27.11.2012 00:15, Dave Airlie wrote: >> static int tegra_drm_open(struct drm_device *drm, struct drm_file *filp) >> { >> - return 0; >> + struct tegra_drm_fpriv *fpriv; >> + int err = 0; >> + >> + fpriv = kzalloc(sizeof(*fpriv), GFP_KERNEL); >> + if (!fpriv) >> +

Re: [RFC v2 5/8] ARM: tegra: Add auxiliary data for nvhost

2012-11-26 Thread Terje Bergström
On 27.11.2012 01:39, Stephen Warren wrote: > Clock names shouldn't be passed in platform data; instead, clk_get() > should be passed the device object and device-relative (i.e. not global) > clock name. I expect if the driver is fixed to make this change, the > changes to tegra*_clocks_data.c won't

[Bug 51021] Matrox g200 driver mgag200 doesn't work with FS PRIMERGY RX200 S4

2012-11-26 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=51021 Igor Sverkos changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug 56405] Distorted graphics on Radeon HD 6620G

2012-11-26 Thread bugzilla-dae...@freedesktop.org
L attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20121126/1819898b/attachment.html>

[Bug 56405] Distorted graphics on Radeon HD 6620G

2012-11-26 Thread bugzilla-dae...@freedesktop.org
t it solves bug #56986 for me. -- 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/20121126/7dbc2b59/attachment.html>

Re: [PATCH 1/1] drm/nouveau: remove duplicate inclusion of nouveau_ttm.h

2012-11-26 Thread Ben Skeggs
On Tue, 2012-11-27 at 09:04 +0530, Sachin Kamat wrote: > ping > > On 20 November 2012 11:23, Sachin Kamat wrote: > > nouveau_ttm.h was included twice. I've queued it in my tree, thanks! Ben. > > > > Signed-off-by: Sachin Kamat > > --- > > drivers/gpu/drm/nouveau/nouveau_drm.c |2 -- > > 1

[Intel-gfx] [PATCH 2/2] drm/i915: set the VIC of the mode on the AVI InfoFrame

2012-11-26 Thread Daniel Vetter
On Fri, Nov 23, 2012 at 12:09:27PM -0200, Paulo Zanoni wrote: > From: Paulo Zanoni > > We currently set "0" as the VIC value of the AVI InfoFrames. According > to the specs this should be fine and work for every mode, so to my > point of view we can't consider the current behavior as a bug. The >

Re: [PATCH] drm: tegra: Use framebuffer pitch as line stride

2012-11-26 Thread Mark Zhang
On 11/27/2012 06:37 AM, Stephen Warren wrote: > On 11/22/2012 12:37 PM, Thierry Reding wrote: >> Instead of using the stride derived from the display mode, use the pitch >> associated with the currently active framebuffer. This fixes a bug where >> the LCD display content would be skewed when enabl

[PATCHv15 3/7] video: add of helper for display timings/videomode

2012-11-26 Thread Tomi Valkeinen
re exposed outside the kernel scare me, as they should be just and not almost right. However, I want to also point out that where ever you're going to use the videomode DT bindings, when the common display framework is merged and presuming you'll use it, you may need to change the DT stuff again (for the SoC/gfx card, not the videomode bindings). Tomi -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 899 bytes Desc: OpenPGP digital signature URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20121126/ae5085ee/attachment.pgp>

[Bug 57567] 3.7 radeonfb broken on efivga screens

2012-11-26 Thread bugzilla-dae...@freedesktop.org
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/20121126/52aa9dd6/attachment.html>

[Bug 57567] 3.7 radeonfb broken on efivga screens

2012-11-26 Thread bugzilla-dae...@freedesktop.org
the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20121126/a058f8f5/attachment.html>

[Bug 57567] 3.7 radeonfb broken on efivga screens

2012-11-26 Thread bugzilla-dae...@freedesktop.org
the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20121126/4d4ef129/attachment.html>

[Bug 57567] 3.7 radeonfb broken on efivga screens

2012-11-26 Thread bugzilla-dae...@freedesktop.org
xt part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20121126/c25c99a8/attachment.html>

[Bug 57567] 3.7 radeonfb broken on efivga screens

2012-11-26 Thread bugzilla-dae...@freedesktop.org
xt part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20121126/be322647/attachment.html>

[Bug 57567] 3.7 radeonfb broken on efivga screens

2012-11-26 Thread bugzilla-dae...@freedesktop.org
scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20121126/71a792c4/attachment.html>

[Bug 57567] New: 3.7 radeonfb broken on efivga screens

2012-11-26 Thread bugzilla-dae...@freedesktop.org
ttp://lists.freedesktop.org/archives/dri-devel/attachments/20121126/d7fd1896/attachment.html>

[PATCH 1/2] drm: add drm_mode_cea_vic

2012-11-26 Thread Daniel Vetter
On Fri, Nov 23, 2012 at 03:11:52PM +0100, Thierry Reding wrote: > On Fri, Nov 23, 2012 at 12:09:26PM -0200, Paulo Zanoni wrote: > > From: Paulo Zanoni > > > > This function returns the VIC of the mode. This value can be used when > > creating AVI InfoFrames. > > > > Cc: Thierry Reding > > Bugzi

[PATCHv15 3/7] video: add of helper for display timings/videomode

2012-11-26 Thread Steffen Trumtrar
Hi, On Mon, Nov 26, 2012 at 04:38:36PM +0200, Tomi Valkeinen wrote: > Hi, > > On 2012-11-26 11:07, Steffen Trumtrar wrote: > > This adds support for reading display timings from DT into a struct > > display_timings. The of_display_timing implementation supports multiple > > subnodes. All children

[Bug 57531] [GEM] RS780V allocation errors with piglit

2012-11-26 Thread bugzilla-dae...@freedesktop.org
-- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20121126/1b53dd3e/attachment.html>

[PATCHv15 2/7] video: add display_timing and videomode

2012-11-26 Thread Steffen Trumtrar
On Mon, Nov 26, 2012 at 02:37:26PM +0200, Tomi Valkeinen wrote: > On 2012-11-26 11:07, Steffen Trumtrar wrote: > > > +/* > > + * Subsystem independent description of a videomode. > > + * Can be generated from struct display_timing. > > + */ > > +struct videomode { > > + u32 pixelclock; /

[RFC v2 5/8] ARM: tegra: Add auxiliary data for nvhost

2012-11-26 Thread Stephen Warren
On 11/26/2012 06:19 AM, Terje Bergstrom wrote: > Add SoC specific auxiliary data to host1x and gr2d. nvhost uses > this data. > > Signed-off-by: Terje Bergstrom > Signed-off-by: Arto Merilainen Arto's S-o-b really should be first and yours last since you're (Terje) the one who touched the patch

[PATCHv15 3/7] video: add of helper for display timings/videomode

2012-11-26 Thread Tomi Valkeinen
ode. The DT part could be merged later, when there's confidence that the timings are good for all platforms. Or, alternatively, all the non-common bindings (de-active, pck invert,...) that are not used for fbdev or drm currently could be left out for now. But I'd stil prefer merging it in two parts. Tomi -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 899 bytes Desc: OpenPGP digital signature URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20121126/7884ebc8/attachment-0001.pgp>

[Bug 51021] New: Matrox g200 driver mgag200 doesn't work with FS PRIMERGY RX200 S4

2012-11-26 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=51021 Summary: Matrox g200 driver mgag200 doesn't work with FS PRIMERGY RX200 S4 Product: Drivers Version: 2.5 Kernel Version: 3.6.7 Platform: All OS/Version: Linux

[RFC v2 8/8] drm: tegra: Add gr2d device

2012-11-26 Thread Rob Clark
On Mon, Nov 26, 2012 at 7:19 AM, Terje Bergstrom wrote: > > +struct tegra_drm_submit_args { > + void *context; Just a quick comment.. You shouldn't really use ptr here, but instead use a 64bit type so that you don't run into issues later for armv8/64bit. Same comment applies in a few oth

Re: [RFC v2 5/8] ARM: tegra: Add auxiliary data for nvhost

2012-11-26 Thread Stephen Warren
On 11/26/2012 06:19 AM, Terje Bergstrom wrote: > Add SoC specific auxiliary data to host1x and gr2d. nvhost uses > this data. > > Signed-off-by: Terje Bergstrom > Signed-off-by: Arto Merilainen Arto's S-o-b really should be first and yours last since you're (Terje) the one who touched the patch

[PATCH] drm: tegra: Use framebuffer pitch as line stride

2012-11-26 Thread Stephen Warren
On 11/22/2012 12:37 PM, Thierry Reding wrote: > Instead of using the stride derived from the display mode, use the pitch > associated with the currently active framebuffer. This fixes a bug where > the LCD display content would be skewed when enabling HDMI with a video > mode different from that of

[RFC v2 8/8] drm: tegra: Add gr2d device

2012-11-26 Thread Terje Bergstrom
Add client driver for 2D device. Signed-off-by: Arto Merilainen Signed-off-by: Terje Bergstrom --- drivers/gpu/drm/tegra/Makefile |2 +- drivers/gpu/drm/tegra/drm.c| 231 +++- drivers/gpu/drm/tegra/drm.h| 42 ++-- drivers/gpu/drm/tegra/gr2d

[RFC v2 7/8] gpu: drm: tegra: Prime support

2012-11-26 Thread Terje Bergstrom
From: Arto Merilainen This patch introduces support for exporting allocated memory as dmabuf objects. Exported buffers are used for delivering data to nvhost driver. Signed-off-by: Arto Merilainen Signed-off-by: Terje Bergstrom --- drivers/gpu/drm/tegra/Makefile |2 +- drivers/gpu/drm/teg

[RFC v2 6/8] gpu: drm: tegra: Remove redundant host1x

2012-11-26 Thread Terje Bergstrom
From: Arto Merilainen This patch removes the redundant host1x driver from tegradrm and makes necessary bindings to the separate host driver. This modification introduces a regression: Because there is no general framework for attaching separate devices into the same address space, this patch rem

[RFC v2 5/8] ARM: tegra: Add auxiliary data for nvhost

2012-11-26 Thread Terje Bergstrom
Add SoC specific auxiliary data to host1x and gr2d. nvhost uses this data. Signed-off-by: Terje Bergstrom Signed-off-by: Arto Merilainen --- arch/arm/mach-tegra/board-dt-tegra20.c| 38 - arch/arm/mach-tegra/board-dt-tegra30.c| 38 +

[RFC v2 4/8] video: tegra: Add debug support

2012-11-26 Thread Terje Bergstrom
Add support for host1x debugging. Adds debugfs entries, and dumps channel state to UART in case of stuck submit. Signed-off-by: Terje Bergstrom --- drivers/video/tegra/host/Makefile |1 + drivers/video/tegra/host/bus_client.c |3 + drivers/video/tegra/host/chip_su

[RFC v2 3/8] video: tegra: host: Add channel and client support

2012-11-26 Thread Terje Bergstrom
Add support for host1x client modules, and host1x channels to submit work to the clients. The work is submitted in dmabuf buffers, so add support for dmabuf memory management, too. Signed-off-by: Terje Bergstrom --- drivers/video/tegra/host/Makefile |8 +- drivers/video/tegr

[RFC v2 2/8] video: tegra: Add syncpoint wait and interrupts

2012-11-26 Thread Terje Bergstrom
Add support for sync point interrupts, and sync point wait. Sync point wait uses interrupts for unblocking wait. Signed-off-by: Terje Bergstrom --- drivers/video/tegra/host/Makefile |1 + drivers/video/tegra/host/chip_support.h | 17 ++ drivers/video/tegra/host/dev.c

[RFC v2 1/8] video: tegra: Add nvhost driver

2012-11-26 Thread Terje Bergstrom
Add nvhost, the driver for host1x. This patch adds support for reading and incrementing sync points and dynamic power management. Signed-off-by: Terje Bergstrom --- drivers/video/Kconfig |2 + drivers/video/Makefile |2 + drivers/v

[RFC v2 0/8] Support for Tegra 2D hardware

2012-11-26 Thread Terje Bergstrom
This set of patches adds support for Tegra20 and Tegra30 host1x and 2D. It is based on Thierry Reding's tegra/next branch. We still have unresolved issues, so I don't expect these patches to be merged, but act as a way to get the code out for public review. The first version was sent only to linux

[Bug 57531] [GEM] RS780V allocation errors with piglit

2012-11-26 Thread bugzilla-dae...@freedesktop.org
vel/attachments/20121126/e865c319/attachment-0001.html>

[PATCH] drm: tegra: Use framebuffer pitch as line stride

2012-11-26 Thread Mark Zhang
Tested-by: Mark Zhang On my Tegra 3 cardhu. Mark On 11/23/2012 03:37 AM, Thierry Reding wrote: > Instead of using the stride derived from the display mode, use the pitch > associated with the currently active framebuffer. This fixes a bug where > the LCD display content would be skewed when enab

[PATCH Resend] drm/exynos: Use devm_clk_get in exynos_drm_fimd.c

2012-11-26 Thread Inki Dae
Applied. Thanks, Inki Dae > -Original Message- > From: Sachin Kamat [mailto:sachin.kamat at linaro.org] > Sent: Monday, November 26, 2012 1:17 PM > To: dri-devel at lists.freedesktop.org > Cc: inki.dae at samsung.com; sachin.kamat at linaro.org; patches at > linaro.org; > airlied at linu

[PATCH v3] drm: exynos: hdmi: sending AVI and AUI info frames

2012-11-26 Thread Inki Dae
Please, comply with patch format next time. Applied. Thank, Inki Dae > -Original Message- > From: Rahul Sharma [mailto:rahul.sharma at samsung.com] > Sent: Monday, November 26, 2012 2:23 PM > To: dri-devel at lists.freedesktop.org > Cc: inki.dae at samsung.com; kgene.kim at samsung.com; r

[RFC v2 0/5] Common Display Framework

2012-11-26 Thread Alan Cox
On Sat, 24 Nov 2012 09:15:51 +0200 Tomi Valkeinen wrote: > On 2012-11-23 21:56, Thierry Reding wrote: > > On Thu, Nov 22, 2012 at 10:45:31PM +0100, Laurent Pinchart wrote: > > [...] > >> Display entities are accessed by driver using notifiers. Any driver can > >> register a display entity notifie

Re: [PATCH] drm: tegra: Use framebuffer pitch as line stride

2012-11-26 Thread Stephen Warren
On 11/22/2012 12:37 PM, Thierry Reding wrote: > Instead of using the stride derived from the display mode, use the pitch > associated with the currently active framebuffer. This fixes a bug where > the LCD display content would be skewed when enabling HDMI with a video > mode different from that of

[PATCHv15 2/7] video: add display_timing and videomode

2012-11-26 Thread Tomi Valkeinen
d be good to document it well. Tomi -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 899 bytes Desc: OpenPGP digital signature URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20121126/1cdf4e51/attachment-0001.pgp>

Re: [RFC v2 8/8] drm: tegra: Add gr2d device

2012-11-26 Thread Dave Airlie
> static int tegra_drm_open(struct drm_device *drm, struct drm_file *filp) > { > - return 0; > + struct tegra_drm_fpriv *fpriv; > + int err = 0; > + > + fpriv = kzalloc(sizeof(*fpriv), GFP_KERNEL); > + if (!fpriv) > + return -ENOMEM; > + > + INIT_

Re: [RFC v2 8/8] drm: tegra: Add gr2d device

2012-11-26 Thread Rob Clark
On Mon, Nov 26, 2012 at 7:19 AM, Terje Bergstrom wrote: > > +struct tegra_drm_submit_args { > + void *context; Just a quick comment.. You shouldn't really use ptr here, but instead use a 64bit type so that you don't run into issues later for armv8/64bit. Same comment applies in a few othe

[Bug 51021] Matrox g200 driver mgag200 doesn't work with FS PRIMERGY RX200 S4

2012-11-26 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=51021 Igor Sverkos changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug 50941] Kernel does not compile

2012-11-26 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=50941 Alan changed: What|Removed |Added CC||alan at lxorguk.ukuu.org.uk Component|Ot

[Bug 56405] Distorted graphics on Radeon HD 6620G

2012-11-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=56405 --- Comment #37 from runetmem...@gmail.com --- For me "ColorTiling2D" "false" doesn't help too. -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-

[Bug 56405] Distorted graphics on Radeon HD 6620G

2012-11-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=56405 --- Comment #36 from Michael Dressel --- (In reply to comment #35) > To confirm, does: > Option "ColorTiling2D" "false" > in the device section of your xorg.conf also fix the issues? No it does not solve this bug but it solves bug #56986 for me.

[Bug 57567] 3.7 radeonfb broken on efivga screens

2012-11-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57567 --- Comment #6 from Vladimir --- Added logs with 3.5 kernel (where it works fine) and 3.7 kernel videocard - 6870, 1920x1080 display. Video of what's happening - http://www.youtube.com/watch?v=-m3geT3RMXM&feature=g-upl -- You are receiving th

[Bug 57567] 3.7 radeonfb broken on efivga screens

2012-11-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57567 --- Comment #5 from Vladimir --- Created attachment 70609 --> https://bugs.freedesktop.org/attachment.cgi?id=70609&action=edit Xorg log on 3.7 kernel -- You are receiving this mail because: You are the assignee for the bug. __

[Bug 57567] 3.7 radeonfb broken on efivga screens

2012-11-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57567 --- Comment #4 from Vladimir --- Created attachment 70608 --> https://bugs.freedesktop.org/attachment.cgi?id=70608&action=edit Xorg log on 3.5 kernel -- You are receiving this mail because: You are the assignee for the bug. __

[Bug 57567] 3.7 radeonfb broken on efivga screens

2012-11-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57567 --- Comment #3 from Vladimir --- Created attachment 70607 --> https://bugs.freedesktop.org/attachment.cgi?id=70607&action=edit 3.7 dmesg -- You are receiving this mail because: You are the assignee for the bug. ___

[PATCH v3] drm: exynos: hdmi: sending AVI and AUI info frames

2012-11-26 Thread Rahul Sharma
This patch adds code for composing AVI and AUI info frames and send them every VSYNC. This patch is important for hdmi certification. v1: - Remove un-necessary blank lines. - Change the case of hex constants. v2: - Added few blank lines. - Corrected comments format. - Added comments for 2's Comp

[Bug 57567] 3.7 radeonfb broken on efivga screens

2012-11-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57567 --- Comment #2 from Vladimir --- Created attachment 70606 --> https://bugs.freedesktop.org/attachment.cgi?id=70606&action=edit 3.5.0 dmesg -- You are receiving this mail because: You are the assignee for the bug. _

Re: [Intel-gfx] [PATCH 2/2] drm/i915: set the VIC of the mode on the AVI InfoFrame

2012-11-26 Thread Daniel Vetter
On Fri, Nov 23, 2012 at 12:09:27PM -0200, Paulo Zanoni wrote: > From: Paulo Zanoni > > We currently set "0" as the VIC value of the AVI InfoFrames. According > to the specs this should be fine and work for every mode, so to my > point of view we can't consider the current behavior as a bug. The >

[Bug 57567] 3.7 radeonfb broken on efivga screens

2012-11-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57567 --- Comment #1 from Alex Deucher --- Can you bisect? Please also attach your xorg log and dmesg output. -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing

[PATCH v2] drm: exynos: hdmi: sending AVI and AUI info frames

2012-11-26 Thread Rahul Sharma
Hi Mr. Dae, On Sat, Nov 24, 2012 at 11:34 AM, Inki Dae wrote: > Let's update one more time. Below is my comments. > >> -Original Message- >> From: Rahul Sharma [mailto:rahul.sharma at samsung.com] >> Sent: Friday, November 23, 2012 9:04 PM >> To: dri-devel at lists.freedesktop.org >> Cc:

[Bug 57567] New: 3.7 radeonfb broken on efivga screens

2012-11-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57567 Priority: medium Bug ID: 57567 Assignee: dri-devel@lists.freedesktop.org Summary: 3.7 radeonfb broken on efivga screens Severity: normal Classification: Unclassified OS: All

[PATCHv15 7/7] drm_modes: add of_videomode helpers

2012-11-26 Thread Steffen Trumtrar
Add helper to get drm_display_mode from devicetree. Signed-off-by: Steffen Trumtrar Reviewed-by: Thierry Reding Acked-by: Thierry Reding Tested-by: Thierry Reding Tested-by: Philipp Zabel Reviewed-by: Laurent Pinchart Acked-by: Laurent Pinchart --- drivers/gpu/drm/drm_modes.c | 33 ++

[PATCHv15 6/7] drm_modes: add videomode helpers

2012-11-26 Thread Steffen Trumtrar
Add conversion from videomode to drm_display_mode Signed-off-by: Steffen Trumtrar Reviewed-by: Thierry Reding Acked-by: Thierry Reding Tested-by: Thierry Reding Tested-by: Philipp Zabel Reviewed-by: Laurent Pinchart Acked-by: Laurent Pinchart Signed-off-by: Steffen Trumtrar --- drivers/gp

[PATCHv15 5/7] fbmon: add of_videomode helpers

2012-11-26 Thread Steffen Trumtrar
Add helper to get fb_videomode from devicetree. Signed-off-by: Steffen Trumtrar Reviewed-by: Thierry Reding Acked-by: Thierry Reding Tested-by: Thierry Reding Tested-by: Philipp Zabel Reviewed-by: Laurent Pinchart Acked-by: Laurent Pinchart Signed-off-by: Steffen Trumtrar --- drivers/vide

[PATCHv15 4/7] fbmon: add videomode helpers

2012-11-26 Thread Steffen Trumtrar
Add a function to convert from the generic videomode to a fb_videomode. Signed-off-by: Steffen Trumtrar Reviewed-by: Thierry Reding Acked-by: Thierry Reding Tested-by: Thierry Reding Tested-by: Philipp Zabel Reviewed-by: Laurent Pinchart Acked-by: Laurent Pinchart Signed-off-by: Steffen Tru

[PATCHv15 3/7] video: add of helper for display timings/videomode

2012-11-26 Thread Steffen Trumtrar
This adds support for reading display timings from DT into a struct display_timings. The of_display_timing implementation supports multiple subnodes. All children are read into an array, that can be queried. If no native mode is specified, the first subnode will be used. For cases where the graph

[PATCHv15 2/7] video: add display_timing and videomode

2012-11-26 Thread Steffen Trumtrar
Add display_timing structure and the according helper functions. This allows the description of a display via its supported timing parameters. Also, add helper functions to convert from display timings to a generic videomode structure. The struct display_timing specifies all needed parameters to

[PATCHv15 1/7] viafb: rename display_timing to via_display_timing

2012-11-26 Thread Steffen Trumtrar
The struct display_timing is specific to the via subsystem. The naming leads to collisions with the new struct display_timing, that is supposed to be a shared struct between different subsystems. To clean this up, prepend the existing struct with the subsystem it is specific to. Signed-off-by: Ste

[PATCHv15 0/7] of: add display helper

2012-11-26 Thread Steffen Trumtrar
Hi! Changes since v14: - fix "const struct *" warning (reported by: Leela Krishna Amudala ) - return -EINVAL when htotal or vtotal are zero - remove unreachable code in of_get_display_timings - include headers in .c files and not implicit in .h

[PATCH 1/1] drm/exynos: remove unnecessary clk_disable calls in exynos_drm_fimd.c

2012-11-26 Thread Sachin Kamat
Ok. Mailed you the combined patch. On 24 November 2012 11:10, Inki Dae wrote: > > >> -Original Message- >> From: Sachin Kamat [mailto:sachin.kamat at linaro.org] >> Sent: Friday, November 23, 2012 7:06 PM >> To: dri-devel at lists.freedesktop.org >> Cc: inki.dae at samsung.com; sachin.kam

[PATCH Resend] drm/exynos: Use devm_clk_get in exynos_drm_fimd.c

2012-11-26 Thread Sachin Kamat
devm_clk_get is device managed and makes error handling and exit code simpler. Also fixes an error related to returning 'ret' without initialising with error code. Signed-off-by: Sachin Kamat --- drivers/gpu/drm/exynos/exynos_drm_fimd.c | 31 ++--- 1 files changed, 7 in

[Bug 57531] [GEM] RS780V allocation errors with piglit

2012-11-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57531 --- Comment #4 from Marek Olšák --- AFAIK, allocation failures are correctly reported to applications as the GL_OUT_OF_MEMORY errors. -- You are receiving this mail because: You are the assignee for the bug.

Re: [PATCHv15 3/7] video: add of helper for display timings/videomode

2012-11-26 Thread Tomi Valkeinen
On 2012-11-26 18:10, Steffen Trumtrar wrote: > Hi, > > On Mon, Nov 26, 2012 at 04:38:36PM +0200, Tomi Valkeinen wrote: >>> +optional properties: >>> + - hsync-active: hsync pulse is active low/high/ignored >>> + - vsync-active: vsync pulse is active low/high/ignored >>> + - de-active: data-enable

Re: [PATCH 1/2] drm: add drm_mode_cea_vic

2012-11-26 Thread Daniel Vetter
On Fri, Nov 23, 2012 at 03:11:52PM +0100, Thierry Reding wrote: > On Fri, Nov 23, 2012 at 12:09:26PM -0200, Paulo Zanoni wrote: > > From: Paulo Zanoni > > > > This function returns the VIC of the mode. This value can be used when > > creating AVI InfoFrames. > > > > Cc: Thierry Reding > > Bugzi

Re: [PATCHv15 3/7] video: add of helper for display timings/videomode

2012-11-26 Thread Tomi Valkeinen
Hi, On 2012-11-26 11:07, Steffen Trumtrar wrote: > This adds support for reading display timings from DT into a struct > display_timings. The of_display_timing implementation supports multiple > subnodes. All children are read into an array, that can be queried. > > If no native mode is specified

[RFC v2 0/5] Common Display Framework

2012-11-26 Thread Philipp Zabel
Hi Thierry, Am Freitag, den 23.11.2012, 20:56 +0100 schrieb Thierry Reding: > On Thu, Nov 22, 2012 at 10:45:31PM +0100, Laurent Pinchart wrote: > [...] > > Display entities are accessed by driver using notifiers. Any driver can > > register a display entity notifier with the CDF, which then calls

Re: [PATCHv15 3/7] video: add of helper for display timings/videomode

2012-11-26 Thread Steffen Trumtrar
Hi, On Mon, Nov 26, 2012 at 04:38:36PM +0200, Tomi Valkeinen wrote: > Hi, > > On 2012-11-26 11:07, Steffen Trumtrar wrote: > > This adds support for reading display timings from DT into a struct > > display_timings. The of_display_timing implementation supports multiple > > subnodes. All children

[Bug 51021] New: Matrox g200 driver mgag200 doesn't work with FS PRIMERGY RX200 S4

2012-11-26 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=51021 Summary: Matrox g200 driver mgag200 doesn't work with FS PRIMERGY RX200 S4 Product: Drivers Version: 2.5 Kernel Version: 3.6.7 Platform: All OS/Version: Linux

Re: [PATCHv15 2/7] video: add display_timing and videomode

2012-11-26 Thread Steffen Trumtrar
On Mon, Nov 26, 2012 at 02:37:26PM +0200, Tomi Valkeinen wrote: > On 2012-11-26 11:07, Steffen Trumtrar wrote: > > > +/* > > + * Subsystem independent description of a videomode. > > + * Can be generated from struct display_timing. > > + */ > > +struct videomode { > > + u32 pixelclock; /

[Bug 57531] [GEM] RS780V allocation errors with piglit

2012-11-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57531 --- Comment #3 from Michel Dänzer --- Some piglit tests are about allocating as large textures as possible, which can result in such intermittent allocation failures. It might be feasible to handle this more gracefully in userspace, but otherwise

Re: [RFC v2 0/5] Common Display Framework

2012-11-26 Thread Alan Cox
On Sat, 24 Nov 2012 09:15:51 +0200 Tomi Valkeinen wrote: > On 2012-11-23 21:56, Thierry Reding wrote: > > On Thu, Nov 22, 2012 at 10:45:31PM +0100, Laurent Pinchart wrote: > > [...] > >> Display entities are accessed by driver using notifiers. Any driver can > >> register a display entity notifie

[RFC v2 8/8] drm: tegra: Add gr2d device

2012-11-26 Thread Terje Bergstrom
Add client driver for 2D device. Signed-off-by: Arto Merilainen Signed-off-by: Terje Bergstrom --- drivers/gpu/drm/tegra/Makefile |2 +- drivers/gpu/drm/tegra/drm.c| 231 +++- drivers/gpu/drm/tegra/drm.h| 42 ++-- drivers/gpu/drm/tegra/gr2d

[RFC v2 2/8] video: tegra: Add syncpoint wait and interrupts

2012-11-26 Thread Terje Bergstrom
Add support for sync point interrupts, and sync point wait. Sync point wait uses interrupts for unblocking wait. Signed-off-by: Terje Bergstrom --- drivers/video/tegra/host/Makefile |1 + drivers/video/tegra/host/chip_support.h | 17 ++ drivers/video/tegra/host/dev.c

[RFC v2 6/8] gpu: drm: tegra: Remove redundant host1x

2012-11-26 Thread Terje Bergstrom
From: Arto Merilainen This patch removes the redundant host1x driver from tegradrm and makes necessary bindings to the separate host driver. This modification introduces a regression: Because there is no general framework for attaching separate devices into the same address space, this patch rem

[RFC v2 4/8] video: tegra: Add debug support

2012-11-26 Thread Terje Bergstrom
Add support for host1x debugging. Adds debugfs entries, and dumps channel state to UART in case of stuck submit. Signed-off-by: Terje Bergstrom --- drivers/video/tegra/host/Makefile |1 + drivers/video/tegra/host/bus_client.c |3 + drivers/video/tegra/host/chip_su

[RFC v2 7/8] gpu: drm: tegra: Prime support

2012-11-26 Thread Terje Bergstrom
From: Arto Merilainen This patch introduces support for exporting allocated memory as dmabuf objects. Exported buffers are used for delivering data to nvhost driver. Signed-off-by: Arto Merilainen Signed-off-by: Terje Bergstrom --- drivers/gpu/drm/tegra/Makefile |2 +- drivers/gpu/drm/teg

[RFC v2 5/8] ARM: tegra: Add auxiliary data for nvhost

2012-11-26 Thread Terje Bergstrom
Add SoC specific auxiliary data to host1x and gr2d. nvhost uses this data. Signed-off-by: Terje Bergstrom Signed-off-by: Arto Merilainen --- arch/arm/mach-tegra/board-dt-tegra20.c| 38 - arch/arm/mach-tegra/board-dt-tegra30.c| 38 +

[RFC v2 0/8] Support for Tegra 2D hardware

2012-11-26 Thread Terje Bergstrom
This set of patches adds support for Tegra20 and Tegra30 host1x and 2D. It is based on Thierry Reding's tegra/next branch. We still have unresolved issues, so I don't expect these patches to be merged, but act as a way to get the code out for public review. The first version was sent only to linux

Re: [PATCHv15 2/7] video: add display_timing and videomode

2012-11-26 Thread Tomi Valkeinen
On 2012-11-26 11:07, Steffen Trumtrar wrote: > +/* > + * Subsystem independent description of a videomode. > + * Can be generated from struct display_timing. > + */ > +struct videomode { > + u32 pixelclock; /* pixelclock in Hz */ I don't know if this is of any importance, but the linu

Re: [RFC v2 0/5] Common Display Framework

2012-11-26 Thread Philipp Zabel
Hi Thierry, Am Freitag, den 23.11.2012, 20:56 +0100 schrieb Thierry Reding: > On Thu, Nov 22, 2012 at 10:45:31PM +0100, Laurent Pinchart wrote: > [...] > > Display entities are accessed by driver using notifiers. Any driver can > > register a display entity notifier with the CDF, which then calls

[PATCH v3] drm: exynos: hdmi: sending AVI and AUI info frames

2012-11-26 Thread Rahul Sharma
This patch adds code for composing AVI and AUI info frames and send them every VSYNC. This patch is important for hdmi certification. v1: - Remove un-necessary blank lines. - Change the case of hex constants. v2: - Added few blank lines. - Corrected comments format. - Added comments for 2's Comp

Re: [PATCH 1/1] drm/exynos: remove unnecessary clk_disable calls in exynos_drm_fimd.c

2012-11-26 Thread Sachin Kamat
Ok. Mailed you the combined patch. On 24 November 2012 11:10, Inki Dae wrote: > > >> -Original Message- >> From: Sachin Kamat [mailto:sachin.ka...@linaro.org] >> Sent: Friday, November 23, 2012 7:06 PM >> To: dri-devel@lists.freedesktop.org >> Cc: inki@samsung.com; sachin.ka...@linaro

[PATCH Resend] drm/exynos: Use devm_clk_get in exynos_drm_fimd.c

2012-11-26 Thread Sachin Kamat
devm_clk_get is device managed and makes error handling and exit code simpler. Also fixes an error related to returning 'ret' without initialising with error code. Signed-off-by: Sachin Kamat --- drivers/gpu/drm/exynos/exynos_drm_fimd.c | 31 ++--- 1 files changed, 7 in

[Bug 50941] Kernel does not compile

2012-11-26 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=50941 Alan changed: What|Removed |Added CC||a...@lxorguk.ukuu.org.uk Component|Other

[PATCHv15 0/7] of: add display helper

2012-11-26 Thread Steffen Trumtrar
Hi! Changes since v14: - fix "const struct *" warning (reported by: Leela Krishna Amudala ) - return -EINVAL when htotal or vtotal are zero - remove unreachable code in of_get_display_timings - include headers in .c files and not implicit in .h

[PATCHv15 3/7] video: add of helper for display timings/videomode

2012-11-26 Thread Steffen Trumtrar
This adds support for reading display timings from DT into a struct display_timings. The of_display_timing implementation supports multiple subnodes. All children are read into an array, that can be queried. If no native mode is specified, the first subnode will be used. For cases where the graph

[PATCHv15 1/7] viafb: rename display_timing to via_display_timing

2012-11-26 Thread Steffen Trumtrar
The struct display_timing is specific to the via subsystem. The naming leads to collisions with the new struct display_timing, that is supposed to be a shared struct between different subsystems. To clean this up, prepend the existing struct with the subsystem it is specific to. Signed-off-by: Ste

[PATCHv15 7/7] drm_modes: add of_videomode helpers

2012-11-26 Thread Steffen Trumtrar
Add helper to get drm_display_mode from devicetree. Signed-off-by: Steffen Trumtrar Reviewed-by: Thierry Reding Acked-by: Thierry Reding Tested-by: Thierry Reding Tested-by: Philipp Zabel Reviewed-by: Laurent Pinchart Acked-by: Laurent Pinchart --- drivers/gpu/drm/drm_modes.c | 33 ++

[PATCHv15 5/7] fbmon: add of_videomode helpers

2012-11-26 Thread Steffen Trumtrar
Add helper to get fb_videomode from devicetree. Signed-off-by: Steffen Trumtrar Reviewed-by: Thierry Reding Acked-by: Thierry Reding Tested-by: Thierry Reding Tested-by: Philipp Zabel Reviewed-by: Laurent Pinchart Acked-by: Laurent Pinchart Signed-off-by: Steffen Trumtrar --- drivers/vide

[PATCHv15 4/7] fbmon: add videomode helpers

2012-11-26 Thread Steffen Trumtrar
Add a function to convert from the generic videomode to a fb_videomode. Signed-off-by: Steffen Trumtrar Reviewed-by: Thierry Reding Acked-by: Thierry Reding Tested-by: Thierry Reding Tested-by: Philipp Zabel Reviewed-by: Laurent Pinchart Acked-by: Laurent Pinchart Signed-off-by: Steffen Tru

[PATCHv15 2/7] video: add display_timing and videomode

2012-11-26 Thread Steffen Trumtrar
Add display_timing structure and the according helper functions. This allows the description of a display via its supported timing parameters. Also, add helper functions to convert from display timings to a generic videomode structure. The struct display_timing specifies all needed parameters to

[PATCHv15 6/7] drm_modes: add videomode helpers

2012-11-26 Thread Steffen Trumtrar
Add conversion from videomode to drm_display_mode Signed-off-by: Steffen Trumtrar Reviewed-by: Thierry Reding Acked-by: Thierry Reding Tested-by: Thierry Reding Tested-by: Philipp Zabel Reviewed-by: Laurent Pinchart Acked-by: Laurent Pinchart Signed-off-by: Steffen Trumtrar --- drivers/gp

  1   2   >