[PATCH] drm/exynos: resolve infinite loop issue on non multi-platform

2014-11-06 Thread Inki Dae
This patch resovles the infinite loop issue incurred when Exyno drm driver is enabled but all kms drivers are disabled on Exynos board by returning -EPROBE_DEFER only in case that there is kms device registered. Signed-off-by: Inki Dae --- drivers/gpu/drm/exynos/exynos_drm_drv.c |6 ++ 1

[Bug 85866] Desktop environment becomes unresponsive, but mouse can move after distro update

2014-11-06 Thread bugzilla-dae...@freedesktop.org
the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20141106/fc607b22/attachment.html>

[PATCH] drm/exynos: resolve infinite loop issue on multi-platform

2014-11-06 Thread Inki Dae
On 2014년 11월 06일 22:00, Krzysztof Kozlowski wrote: > On czw, 2014-11-06 at 21:32 +0900, Inki Dae wrote: >> On 2014년 11월 06일 21:11, Krzysztof Kozłowski wrote: >>> On 06.11.2014 11:32, Inki Dae wrote: This patch resolves temporarily infinite loop issue incurred when Exynos drm

[Bug 73530] Asus U38N: Black screen with Radeon driver in Linux

2014-11-06 Thread bugzilla-dae...@freedesktop.org
. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20141106/8d69d5a4/attachment.html>

[Bug 85866] Desktop environment becomes unresponsive, but mouse can move after distro update

2014-11-06 Thread bugzilla-dae...@freedesktop.org
iving 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/20141106/3d1aa9a1/attachment.html>

[Bug 85866] Desktop environment becomes unresponsive, but mouse can move after distro update

2014-11-06 Thread bugzilla-dae...@freedesktop.org
xt part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20141106/9ff4143d/attachment.html>

[Bug 87791] radeonsi lockup and oops

2014-11-06 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=87791 --- Comment #5 from aCaB --- Michel, Thanks for your pointer and sorry for the late answer. I'll try harder to find a reproducible case (firefox with some large animation seems to trigger it some times). In the meantime, if the lockup is a mesa b

[PATCH 1/9] drm/exynos: remove uneeded declaration of struct dma_iommu_mapping

2014-11-06 Thread Inki Dae
Hi Gustavo, On 2014년 11월 06일 21:38, Gustavo Padovan wrote: > > Hi Inki, > > Could you please give a review to this series? It looks good to me. This patch series is just cleanup but not test so I will merge them next week after testing if there is no any comment. Thanks, Inki Dae > >

[PATCH] drm/exynos: resolve infinite loop issue on multi-platform

2014-11-06 Thread Inki Dae
On 2014년 11월 06일 21:11, Krzysztof Kozłowski wrote: > On 06.11.2014 11:32, Inki Dae wrote: >> This patch resolves temporarily infinite loop issue incurred >> when Exynos drm driver is enabled and multi-platform kernel >> is used by registering Exynos drm device object only in case >> of Exyno

[PATCH v2 8/8] drm/cma: Remove call to drm_gem_free_mmap_offset()

2014-11-06 Thread Daniel Vetter
On Thu, Nov 06, 2014 at 04:49:21PM +0100, Thierry Reding wrote: > From: Thierry Reding > > drm_gem_object_release() called later in the drm_gem_cma_free_object() > function already calls this, so there's no need to do this explicitly. > > Signed-off-by: Thierry Reding Reviewed-by: Daniel Vette

[PATCH v2 3/8] drm/doc: Add GEM/CMA helpers to kerneldoc

2014-11-06 Thread Daniel Vetter
On Thu, Nov 06, 2014 at 04:49:16PM +0100, Thierry Reding wrote: > From: Thierry Reding > > Most of the functions already have the beginnings of kerneldoc comments > but are using the wrong opening marker. Use the correct opening marker > and flesh out the comments so that they can be integrated w

[PATCH] drm: Docbook integration and over sections for all the new helpers

2014-11-06 Thread Daniel Vetter
In all cases the text requires that new drivers are converted to the atomic interfaces. v2: Add overview for state handling. v3: Review from Sean: Some spelling fixes and drop the misguided hunk to remove rgba from the plane helpers compat list. Cc: Sean Paul Signed-off-by: Daniel Vetter -

[Intel-gfx] [PATCH 15/17] drm/atomic-helpers: functions for state duplicate/destroy/reset

2014-11-06 Thread Daniel Vetter
On Thu, Nov 06, 2014 at 12:43:43PM -0500, Sean Paul wrote: > On Sun, Nov 02, 2014 at 02:19:28PM +0100, Daniel Vetter wrote: > > The atomic users and helpers assume that there is always a obj->state > > structure around. Which means drivers need to somehow create that at > > driver load time. Also i

[PATCH] drm/atomic-helpers: functions for state duplicate/destroy/reset

2014-11-06 Thread Daniel Vetter
The atomic users and helpers assume that there is always a obj->state structure around. Which means drivers need to somehow create that at driver load time. Also it should obviously reset hardware state, so needs to be reset upon resume. Finally the destroy/duplicate_state functions are an awful l

[PATCH 6/7] drm/rcar: gem: dumb: pitch is an output

2014-11-06 Thread Laurent Pinchart
Hi Russell, On Thursday 06 November 2014 00:54:51 Russell King - ARM Linux wrote: > On Wed, Nov 05, 2014 at 08:47:07PM +0200, Laurent Pinchart wrote: > > (On a side note I believe treating the pitch and size arguments as inputs > > could be a worthwhile extension to the API, but given that we have

[PATCH] drm: Fix spelling.

2014-11-06 Thread Alex Pilon
Fix spelling of 'ioctl'. Signed-off-by: Alex Pilon --- drivers/gpu/drm/drm_crtc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c index e79c8d3..3d274c1 100644 --- a/drivers/gpu/drm/drm_crtc.c +++ b/drivers/gpu/drm/drm_c

[RFC] dpms handling on atomic drivers

2014-11-06 Thread Rob Clark
On Thu, Nov 6, 2014 at 6:29 PM, Daniel Vetter wrote: >>> Proposal. Add a new boolean ->active to the crtc state, which will track >>> the dpms state of the crtc. Add a helper to the atomic core functions >>> which will compute ->active from the state update according to the >>> proposals for issue

[PATCH] drm/exynos: resolve infinite loop issue on multi-platform

2014-11-06 Thread Inki Dae
This patch resolves temporarily infinite loop issue incurred when Exynos drm driver is enabled and multi-platform kernel is used by registering Exynos drm device object only in case of Exynos SoC. So this patch will be replaced with more generic way later. Signed-off-by: Inki Dae --- drivers/gpu

[PATCH V3 4/4] dw-hdmi: convert dw-hdmi to drm_bridge mode

2014-11-06 Thread Andy Yan
From: ykk dw-hdmi is under drm/bridge, so it should be the bridge mode. hange off the encoder to dw_hdmi-imx.c, keep the connector & birdge in dw_hdmi.c Signed-off-by: ykk Signed-off-by: Andy Yan --- drivers/gpu/drm/bridge/dw_hdmi.c | 228 +++--- drivers/stagi

[PATCH V3 3/4] dw-hdmi: add support for multi byte register width access

2014-11-06 Thread Andy Yan
On rockchip rk3288, only word(32-bit) accesses are permitted for hdmi registers. Byte width access (writeb, readb) generate an imprecise external abort. Signed-off-by: Andy Yan --- drivers/gpu/drm/bridge/dw_hdmi.c | 53 1 file changed, 48 insertions(+),

[PATCH V3 2/4] dw-hdmi: move imx-hdmi to bridge/dw-hdmi

2014-11-06 Thread Andy Yan
the original imx hdmi driver is under staging/imx-drm, which depends on imx-drm, so move the imx hdmi drvier out to drm/bridge and rename imx-hdmi to dw-hdmi Signed-off-by: Andy Yan --- drivers/gpu/drm/bridge/Kconfig | 5 + drivers/gpu/drm/bridge/Makefile

[PATCH V3 1/4] imx-drm: imx-hdmi: split imx soc specific code from imx-hdmi

2014-11-06 Thread Andy Yan
imx6 and rockchip rk3288 and JZ4780 (Ingenic Xburst/MIPS) use the interface compatible Designware HDMI IP, but they also have some lightly difference, such as phy pll configuration, register width, 4K support, clk useage, and the crtc mux configuration is also platform specific. To reuse the imx h

[PATCH V3 0/4] dw-hdmi: make imx hdmi publicly used by dw hdmi compatible platform

2014-11-06 Thread Andy Yan
We found freescale imx6 and rockchip rk3288 and Ingenic JZ4780 (Xburst/MIPS) use the interface compatible Designware HDMI IP, but they also have some lightly difference, such as phy pll configuration, register width(imx hdmi register is one byte, but rk3288 is 4 bytes width and can only access by w

[PATCH 14/17] drm/atomic-helper: implement ->page_flip

2014-11-06 Thread Daniel Vetter
On Thu, Nov 06, 2014 at 12:43:34PM -0500, Sean Paul wrote: > On Sun, Nov 02, 2014 at 02:19:27PM +0100, Daniel Vetter wrote: > > + state->acquire_ctx = drm_modeset_legacy_acquire_ctx(crtc); > > +retry: > > + crtc_state = drm_atomic_get_crtc_state(state, crtc); > > + if (IS_ERR(crtc_state)) { > > + r

exynos-drm registration: infinite loop

2014-11-06 Thread Inki Dae
On 2014년 11월 06일 18:29, Thierry Reding wrote: > On Thu, Nov 06, 2014 at 03:23:27PM +0900, Inki Dae wrote: >> On 2014년 11월 05일 23:38, Thierry Reding wrote: >>> On Tue, Nov 04, 2014 at 09:18:46PM +0400, Matwey V. Kornilov wrote: Hi, I run 3.18-rc3 kernel on BeagleBone Black

[PATCH weston 1/1] compositor: Abort on bad page flip timestamps

2014-11-06 Thread Pekka Paalanen
On Thu, 06 Nov 2014 16:08:56 +0900 Michel Dänzer wrote: > On 06.11.2014 03:06, Frederic Plourde wrote: > > Many features, like animations, hardly depend on page flip timestamps > > to work properly, but some DRM drivers do not correctly support page flip > > timestamps (or not at all) and in tha

[PATCH] drm/exynos: resolve infinite loop issue on non multi-platform

2014-11-06 Thread Sjoerd Simons
ent_list, list) { > /* >* Add components to master only in case that crtc and -- next part -- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 6170 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20141106/78b63f14/attachment.bin>

exynos-drm registration: infinite loop

2014-11-06 Thread Inki Dae
On 2014년 11월 06일 17:49, Matwey V. Kornilov wrote: > 2014-11-06 11:45 GMT+03:00 Inki Dae : >> On 2014년 11월 06일 17:03, Andrzej Hajda wrote: >>> On 11/06/2014 07:23 AM, Inki Dae wrote: On 2014년 11월 05일 23:38, Thierry Reding wrote: > On Tue, Nov 04, 2014 at 09:18:46PM +0400,

exynos-drm registration: infinite loop

2014-11-06 Thread Inki Dae
On 2014년 11월 06일 17:03, Andrzej Hajda wrote: > On 11/06/2014 07:23 AM, Inki Dae wrote: >> On 2014년 11월 05일 23:38, Thierry Reding wrote: >>> On Tue, Nov 04, 2014 at 09:18:46PM +0400, Matwey V. Kornilov wrote: Hi, I run 3.18-rc3 kernel on BeagleBone Black. It doesn't have E

[PATCH 3/3] drm/panel: add Hitachi TX23D38VM0CAA 9" WVGA TFT LCD panel

2014-11-06 Thread Lucas Stach
This patch adds support for the Hitachi TX23D38VM0CAA 9" WVGA TFT LCD panel to the simple-panel driver. This panel is connected via LVDS and uses the data enable signal for timing. Since HSYNC/VSYNC are ignored, the split between sync length and porches is arbitrary, as long as the complete horizo

[PATCH 2/3] of: Add vendor prefix for Hitachi Ltd. Corporation

2014-11-06 Thread Lucas Stach
Signed-off-by: Lucas Stach --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index 723999d73744..fed0c8d60748 100644 --- a/Doc

[PATCH 1/3] drm/panel: add support for Innolux G121I1-L01 12.1" TFT LCD panel

2014-11-06 Thread Lucas Stach
This patch adds support for the Innolux G121I1-L01 12.1" TFT LCD panel to the simple-panel driver. This panel is connected via LVDS and uses the data enable signal for timing. Since HSYNC/VSYNC are ignored, the split between sync length and porches is arbitrary, as long as the complete horizontal

[pull] radeon drm-fixes-3.18

2014-11-06 Thread Alex Deucher
Hi Dave, A few more radeon fixes for 3.18: - fix missing crtc unlock in MC setup - set optimal CE ram config - use gart rather than vram for DMA IB tests to avoid coherency issues with HDP - fix a crasher with laptop mode and TDP scripts The following changes since commit 66338feee458cb2b04e8f2b5

[PATCH 0/2] make imx hdmi publicly used by dw hdmi compatible platform

2014-11-06 Thread Kuankuan.Yang
Hi Russell I'm working on Designware hdmi-audio, also add it as a standard ALSA device. Before I saw this email, I also planed to submit my patchs to upsteam. I'm very grateful if you can email those patchs to us. Best Regards. 于 2014年11月04日 22:29, Russell King - ARM Linux 写道: > On T

[RFC] dpms handling on atomic drivers

2014-11-06 Thread Sean Paul
On Thu, Nov 6, 2014 at 5:06 PM, Rob Clark wrote: > On Thu, Nov 6, 2014 at 4:43 AM, Daniel Vetter wrote: >> Hi all, >> >> After a few atomic irc chats I've shockingly realized that I've completely >> ignored dpms handling in my helper series. Oops. >> >> But there's a few things which are seriousl

[Bug 85647] Random radeonsi crashes with mesa 10.3.x

2014-11-06 Thread bugzilla-dae...@freedesktop.org
An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20141106/3930670e/attachment.html>

[PATCH v2 5/8] drm/omap: gem: dumb: pitch is an output

2014-11-06 Thread Rob Clark
On Thu, Nov 6, 2014 at 10:49 AM, Thierry Reding wrote: > From: Thierry Reding > > When creating a dumb buffer object using the DRM_IOCTL_MODE_CREATE_DUMB > IOCTL, only the width, height, bpp and flags fields are inputs. The > caller is not guaranteed to zero out or set handle, pitch and size. > D

[RFC 1/2] core: Add generic object registry implementation

2014-11-06 Thread Thierry Reding
9 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20141106/f280695e/attachment-0001.sig>

[RFC] dpms handling on atomic drivers

2014-11-06 Thread Rob Clark
On Thu, Nov 6, 2014 at 4:43 AM, Daniel Vetter wrote: > Hi all, > > After a few atomic irc chats I've shockingly realized that I've completely > ignored dpms handling in my helper series. Oops. > > But there's a few things which are seriously wrong with DPMS, so I've > figured I'll start a discussi

-next plans/status

2014-11-06 Thread Thierry Reding
t -- 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/20141106/fcf157e9/attachment.sig>

[PATCH 3/3] drm/tegra: gem: Check before freeing CMA memory

2014-11-06 Thread Thierry Reding
From: Thierry Reding dma_free_writecombine() must not be called on a buffer that couldn't be allocated. Check for a valid virtual address before attempting to free the memory to avoid a crash. Reported-by: Sean Paul Signed-off-by: Thierry Reding --- drivers/gpu/drm/tegra/gem.c | 2 +- 1 file

[PATCH v6 2/3] drm/tegra: Add IOMMU support

2014-11-06 Thread Thierry Reding
From: Thierry Reding When an IOMMU device is available on the platform bus, allocate an IOMMU domain and attach the display controllers to it. The display controllers can then scan out non-contiguous buffers by mapping them through the IOMMU. Signed-off-by: Thierry Reding --- Changes in v6: - c

[PATCH 1/3] drm/tegra: Fix error handling cleanup

2014-11-06 Thread Thierry Reding
From: Thierry Reding The DRM driver's ->load() implementation didn't do a good job (no job at all really) cleaning up on failure. Fix that by undoing any prior setup when an error occurs. This requires a bit of rework to make it possible to clean up fbdev midway. This was tested by injecting err

[PATCH v2 8/8] drm/cma: Remove call to drm_gem_free_mmap_offset()

2014-11-06 Thread Thierry Reding
From: Thierry Reding drm_gem_object_release() called later in the drm_gem_cma_free_object() function already calls this, so there's no need to do this explicitly. Signed-off-by: Thierry Reding --- drivers/gpu/drm/drm_gem_cma_helper.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers

[PATCH v2 7/8] drm: Sanitize DRM_IOCTL_MODE_CREATE_DUMB input

2014-11-06 Thread Thierry Reding
From: Thierry Reding Some drivers treat the pitch and size fields as inputs and will use them as minima provided by userspace so that they are only overwritten if the minimal requirements of the driver exceed them. This can cause strange behaviour when applications don't zero out these fields, c

[PATCH v2 6/8] drm/rcar: gem: dumb: pitch is an output

2014-11-06 Thread Thierry Reding
From: Thierry Reding When creating a dumb buffer object using the DRM_IOCTL_MODE_CREATE_DUMB IOCTL, only the width, height, bpp and flags fields are inputs. The caller is not guaranteed to zero out or set handle, pitch and size. Drivers must not treat these values as possible inputs, otherwise th

[PATCH v2 5/8] drm/omap: gem: dumb: pitch is an output

2014-11-06 Thread Thierry Reding
From: Thierry Reding When creating a dumb buffer object using the DRM_IOCTL_MODE_CREATE_DUMB IOCTL, only the width, height, bpp and flags fields are inputs. The caller is not guaranteed to zero out or set handle, pitch and size. Drivers must not treat these values as possible inputs, otherwise th

[PATCH v2 4/8] drm/cma: Introduce drm_gem_cma_dumb_create_internal()

2014-11-06 Thread Thierry Reding
From: Thierry Reding This function is similar to drm_gem_cma_dumb_create() but targetted at kernel internal users so that they can override the pitch and size requirements of the dumb buffer. It is important to make this difference because the IOCTL says that the pitch and size fields are to be

[PATCH v2 3/8] drm/doc: Add GEM/CMA helpers to kerneldoc

2014-11-06 Thread Thierry Reding
From: Thierry Reding Most of the functions already have the beginnings of kerneldoc comments but are using the wrong opening marker. Use the correct opening marker and flesh out the comments so that they can be integrated with the DRM DocBook document. Signed-off-by: Thierry Reding --- Changes

[PATCH v2 2/8] drm/doc: mm: Fix indentation

2014-11-06 Thread Thierry Reding
From: Thierry Reding Use spaces consistently for indentation in the memory-management section. Acked-by: Daniel Vetter Signed-off-by: Thierry Reding --- Documentation/DocBook/drm.tmpl | 268 - 1 file changed, 134 insertions(+), 134 deletions(-) diff --

[PATCH v2 1/8] drm/gem: Fix a few kerneldoc typos

2014-11-06 Thread Thierry Reding
From: Thierry Reding While at it, adjust the drm_gem_handle_create() function declaration to be more consistent with other functions in the file. Reviewed-by: Daniel Vetter Signed-off-by: Thierry Reding --- drivers/gpu/drm/drm_gem.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletio

[PATCH v2 0/8] drm: Sanitize DRM_IOCTL_MODE_CREATE_DUMB input

2014-11-06 Thread Thierry Reding
From: Thierry Reding This second version addresses review comments from before. A new patch is added that removes a redundant call to drm_gem_free_mmap_offset() in the CMA GEM helpers. Below is the cover letter from the first version for more background in case anybody missed it the last time:

[PATCH 3/3] drm/msm: a4xx support for msm-drm

2014-11-06 Thread Rob Clark
On Fri, Oct 31, 2014 at 11:08 AM, Ganesan, Aravind wrote: > Added a4xx GPU support. > > Signed-off-by: Aravind Ganesan > --- > Resend the patch-set with the same thread-id > Resend in patch-set format and with dri-devel at lists.freedesktop.org on > the CC. > drivers/gpu/drm/msm/Makefile

[PATCH 2/3] drm/msm: Handle register offset differences between a3xx, and a4xx

2014-11-06 Thread Rob Clark
On Fri, Oct 31, 2014 at 11:08 AM, Ganesan, Aravind wrote: > Register offsets have changed between a3xx and a4xx GPUs. > To be able access these registers in common code, we create > a lookup table, and set of read-write APIs to access the > register through the lookup table. > > Signed-off-by: Ara

[PATCH 0/3] drm/msm: Adreno 4xx support

2014-11-06 Thread Rob Clark
On Fri, Oct 31, 2014 at 11:07 AM, Ganesan, Aravind wrote: > Resend the patch-set with the same thread-id > A set of three patches to support adreno 4xx GPUs in msm-drm: > (1) Updated the a3xx and a4xx header files. > (2) Handle register offset differences between a3xx and a4xx GPUs. > (3) Added a4

[PATCH] drm/exynos: resolve infinite loop issue on non multi-platform

2014-11-06 Thread Emil Velikov
On 06/11/14 15:44, Emil Velikov wrote: > Hi Inki, > > With all respect, > > On 06/11/14 14:10, Inki Dae wrote:> This patch resovles the infinite > loop issue incurred >> when Exyno drm driver is enabled but all kms drivers >> are disabled on Exynos board by returning -EPROBE_DEFER >> only in case

[PATCH] drm/exynos: resolve infinite loop issue on non multi-platform

2014-11-06 Thread Emil Velikov
Hi Inki, With all respect, On 06/11/14 14:10, Inki Dae wrote:> This patch resovles the infinite loop issue incurred > when Exyno drm driver is enabled but all kms drivers > are disabled on Exynos board by returning -EPROBE_DEFER > only in case that there is kms device registered. > I believe it'

[RFC] dpms handling on atomic drivers

2014-11-06 Thread Stéphane Marchesin
On Thu, Nov 6, 2014 at 1:43 AM, Daniel Vetter wrote: > > Hi all, > > After a few atomic irc chats I've shockingly realized that I've completely > ignored dpms handling in my helper series. Oops. > > But there's a few things which are seriously wrong with DPMS, so I've > figured I'll start a discus

exynos-drm registration: infinite loop

2014-11-06 Thread Inki Dae
On 2014년 11월 05일 23:38, Thierry Reding wrote: > On Tue, Nov 04, 2014 at 09:18:46PM +0400, Matwey V. Kornilov wrote: >> Hi, >> >> I run 3.18-rc3 kernel on BeagleBone Black. It doesn't have Exynos DRM >> of course, but I run multi-platform kernel where CONFIG_DRM_EXYNOS is >> set to 'y'. >> The

[PATCH] drm: Docbook integration and over sections for all the new helpers

2014-11-06 Thread Sean Paul
On Thu, Nov 6, 2014 at 3:00 PM, Daniel Vetter wrote: > In all cases the text requires that new drivers are converted to the > atomic interfaces. > > v2: Add overview for state handling. > > v3: Review from Sean: Some spelling fixes and drop the misguided > hunk to remove rgba from the plane he

[Intel-gfx] [PATCH 15/17] drm/atomic-helpers: functions for state duplicate/destroy/reset

2014-11-06 Thread Sean Paul
On Thu, Nov 6, 2014 at 2:57 PM, Daniel Vetter wrote: > On Thu, Nov 06, 2014 at 12:43:43PM -0500, Sean Paul wrote: >> On Sun, Nov 02, 2014 at 02:19:28PM +0100, Daniel Vetter wrote: >> > The atomic users and helpers assume that there is always a obj->state >> > structure around. Which means drivers

[Intel-gfx] 3.18.0-rc3: i915: eDP connected Display stays blank

2014-11-06 Thread Jani Nikula
On Thu, 06 Nov 2014, Arnd Hannemann wrote: > Hi, > > thanks for your quick response. > > Am 06.11.2014 um 10:39 schrieb Jani Nikula: >> On Thu, 06 Nov 2014, Arnd Hannemann wrote: >>> Hi, >>> >>> I have a Thinkpad T440s (Haswell) connected to two additional Monitors >>> via a Docking Station (MST)

exynos-drm registration: infinite loop

2014-11-06 Thread Inki Dae
Hi, On 2014년 11월 05일 02:18, Matwey V. Kornilov wrote: > Hi, > > I run 3.18-rc3 kernel on BeagleBone Black. It doesn't have Exynos DRM > of course, but I run multi-platform kernel where CONFIG_DRM_EXYNOS is > set to 'y'. > The issue here is that the platform probe/init goes to infinite loop

[Bug 80365] [drm:ci_dpm_set_power_state] *ERROR* ci_upload_dpm_level_enable_mask failed

2014-11-06 Thread bugzilla-dae...@freedesktop.org
scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20141106/5dcde002/attachment.html>

[Bug 71134] AMD Radeon 7790 (BONAIRE Sea Islands) rendering, stability, performance issues

2014-11-06 Thread bugzilla-dae...@freedesktop.org
part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20141106/b1634317/attachment.html>

[PATCH] drm/exynos/dsi: simplify hotplug code

2014-11-06 Thread Andrzej Hajda
On 11/06/2014 02:18 PM, Thierry Reding wrote: > On Thu, Nov 06, 2014 at 12:35:48PM +0100, Andrzej Hajda wrote: >> Exynos DSI driver uses DSI bus attach/detach callbacks to implement >> panel hotplug mechanism. The patch moves panel attachment code >> from .detect callback to DSI bus callbacks. It m

[PATCH] drm/exynos/dsi: simplify hotplug code

2014-11-06 Thread Thierry Reding
a DSI bus. 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/20141106/09098297/attachment.sig>

[PATCH 3/3] drm/tegra: gem: Check before freeing CMA memory

2014-11-06 Thread Sean Paul
On Thu, Nov 6, 2014 at 10:57 AM, Thierry Reding wrote: > From: Thierry Reding > > dma_free_writecombine() must not be called on a buffer that couldn't be > allocated. Check for a valid virtual address before attempting to free > the memory to avoid a crash. > > Reported-by: Sean Paul nit: I'd p

[PATCH] drm/exynos: resolve infinite loop issue on multi-platform

2014-11-06 Thread Krzysztof Kozlowski
On czw, 2014-11-06 at 21:32 +0900, Inki Dae wrote: > On 2014년 11월 06일 21:11, Krzysztof Kozłowski wrote: > > On 06.11.2014 11:32, Inki Dae wrote: > >> This patch resolves temporarily infinite loop issue incurred > >> when Exynos drm driver is enabled and multi-platform kernel > >> is used by

[PATCH 1/3] drm/tegra: Fix error handling cleanup

2014-11-06 Thread Sean Paul
On Thu, Nov 06, 2014 at 04:57:14PM +0100, Thierry Reding wrote: > From: Thierry Reding > > The DRM driver's ->load() implementation didn't do a good job (no job at > all really) cleaning up on failure. Fix that by undoing any prior setup > when an error occurs. This requires a bit of rework to ma

[Intel-gfx] [PATCH 14/17] drm/atomic-helper: implement ->page_flip

2014-11-06 Thread Sean Paul
On Thu, Nov 6, 2014 at 1:13 PM, Daniel Vetter wrote: > > On Thu, Nov 06, 2014 at 12:43:34PM -0500, Sean Paul wrote: > > On Sun, Nov 02, 2014 at 02:19:27PM +0100, Daniel Vetter wrote: > > > + state->acquire_ctx = drm_modeset_legacy_acquire_ctx(crtc); > > > +retry: > > > + crtc_state = drm_atomic_ge

[PATCH] drm/atomic-helper: implementatations for legacy interfaces

2014-11-06 Thread Sean Paul
On Wed, Nov 5, 2014 at 5:01 PM, Daniel Vetter wrote: > On Wed, Nov 05, 2014 at 02:48:48PM -0500, Sean Paul wrote: >> > + if (!crtc && crtc != set->crtc) >> >> I think this should be an || > > Hm. My idea idea was actually something along the lines of > diff --git a/drivers/gpu/drm/drm_atomic_helpe

[PATCH 10/17] drm: Atomic crtc/connector updates using crtc/plane helper interfaces

2014-11-06 Thread Sean Paul
On Wed, Nov 5, 2014 at 4:44 PM, Daniel Vetter wrote: > I've applied all the other nits, replies to the more interesting bits > below. > > On Wed, Nov 05, 2014 at 01:53:48PM -0500, Sean Paul wrote: >> On Sun, Nov 02, 2014 at 02:19:23PM +0100, Daniel Vetter wrote: >> > + if (new_encoder != connector

[PATCH] drm/exynos: resolve infinite loop issue on multi-platform

2014-11-06 Thread Krzysztof Kozłowski
On 06.11.2014 11:32, Inki Dae wrote: > This patch resolves temporarily infinite loop issue incurred > when Exynos drm driver is enabled and multi-platform kernel > is used by registering Exynos drm device object only in case > of Exynos SoC. So this patch will be replaced with more generic > way la

exynos-drm registration: infinite loop

2014-11-06 Thread Matwey V. Kornilov
2014-11-06 11:45 GMT+03:00 Inki Dae : > On 2014년 11월 06일 17:03, Andrzej Hajda wrote: >> On 11/06/2014 07:23 AM, Inki Dae wrote: >>> On 2014년 11월 05일 23:38, Thierry Reding wrote: On Tue, Nov 04, 2014 at 09:18:46PM +0400, Matwey V. Kornilov wrote: > Hi, > > I run 3.18-rc3

[PATCH 17/17] drm/atomic: Refcounting for plane_state->fb

2014-11-06 Thread Sean Paul
On Sun, Nov 02, 2014 at 02:19:30PM +0100, Daniel Vetter wrote: > So my original plan was that the drm core refcounts framebuffers like > with the legacy ioctls. But that doesn't work for a bunch of reasons: > > - State objects might live longer than until the next fb change > happens for a plane.

[PATCH 16/17] drm: Docbook integration and over sections for all the new helpers

2014-11-06 Thread Sean Paul
On Sun, Nov 02, 2014 at 02:19:29PM +0100, Daniel Vetter wrote: > In all cases the text requires that new drivers are converted to the > atomic interfaces. > > v2: Add overview for state handling. > > Signed-off-by: Daniel Vetter > --- > Documentation/DocBook/drm.tmpl | 20 +++

[Intel-gfx] [PATCH 15/17] drm/atomic-helpers: functions for state duplicate/destroy/reset

2014-11-06 Thread Sean Paul
On Sun, Nov 02, 2014 at 02:19:28PM +0100, Daniel Vetter wrote: > The atomic users and helpers assume that there is always a obj->state > structure around. Which means drivers need to somehow create that at > driver load time. Also it should obviously reset hardware state, so > needs to be reset upo

[PATCH 14/17] drm/atomic-helper: implement ->page_flip

2014-11-06 Thread Sean Paul
On Sun, Nov 02, 2014 at 02:19:27PM +0100, Daniel Vetter wrote: > Currently there is no way to implement async flips using atomic, that > essentially requires us to be able to cancel pending requests > mid-flight. > > To be able to do that (and I guess we want this since vblank synced > updates whic

[Intel-gfx] [PATCH 13/17] drm/atomic-helpers: document how to implement async commit

2014-11-06 Thread Sean Paul
On Sun, Nov 02, 2014 at 02:19:26PM +0100, Daniel Vetter wrote: > No helper function to do it all yet provided since no driver has > support for driver core fences yet. Which we'd need to make the > implementation really generic. > > v2: Clarify async howto a bit per the discussion With Rob Clark. >

[Intel-gfx] [PATCH 12/17] drm/atomic: Integrate fence support

2014-11-06 Thread Sean Paul
On Sun, Nov 02, 2014 at 02:19:25PM +0100, Daniel Vetter wrote: > This patch is for enabling async commits. It replaces an earlier > approach which added an async boolean paramter to the ->prepare_fb > callbacks. The idea is that prepare_fb picks up the right fence to > synchronize against, which is

[PATCH] drm/exynos/dsi: simplify hotplug code

2014-11-06 Thread Andrzej Hajda
Exynos DSI driver uses DSI bus attach/detach callbacks to implement panel hotplug mechanism. The patch moves panel attachment code from .detect callback to DSI bus callbacks. It makes the code simpler and more straightforward. The patch removes also redundant and lock unprotected dpms_off call from

[PATCH] drm/panel: simple: Update calls to gpiod_get*()

2014-11-06 Thread Alexandre Courbot
On Thu, Oct 23, 2014 at 5:16 PM, Alexandre Courbot wrote: > Add the new flags argument to calls of (devm_)gpiod_get*() and > remove any direction setting code afterwards. > > Currently both forms (with or without the flags argument) > are valid thanks to transitional macros in > . These macros wi

[PATCH] drm/panel: s6e8aa0: Update calls to gpiod_get*()

2014-11-06 Thread Alexandre Courbot
On Thu, Oct 23, 2014 at 6:46 PM, Andrzej Hajda wrote: > On 10/23/2014 10:16 AM, Alexandre Courbot wrote: >> Add the new flags argument to calls of (devm_)gpiod_get*() and >> remove any direction setting code afterwards. >> >> Currently both forms (with or without the flags argument) >> are valid t

[PATCH] drm/panel: ld9040: Update calls to gpiod_get*()

2014-11-06 Thread Alexandre Courbot
On Thu, Oct 23, 2014 at 6:45 PM, Andrzej Hajda wrote: > On 10/23/2014 10:16 AM, Alexandre Courbot wrote: >> Add the new flags argument to calls of (devm_)gpiod_get*() and >> remove any direction setting code afterwards. >> >> Currently both forms (with or without the flags argument) >> are valid t

[Intel-gfx] 3.18.0-rc3: i915: eDP connected Display stays blank

2014-11-06 Thread Jani Nikula
On Thu, 06 Nov 2014, Arnd Hannemann wrote: > Hi, > > I have a Thinkpad T440s (Haswell) connected to two additional Monitors > via a Docking Station (MST). > > During Bootup all three displays work, even when X is started. > However, if the laptop display is turned off once (either because of > pow

[Intel-gfx] 3.18.0-rc3: i915: eDP connected Display stays blank

2014-11-06 Thread Arnd Hannemann
Hi, thanks for your quick response. Am 06.11.2014 um 10:39 schrieb Jani Nikula: > On Thu, 06 Nov 2014, Arnd Hannemann wrote: >> Hi, >> >> I have a Thinkpad T440s (Haswell) connected to two additional Monitors >> via a Docking Station (MST). >> >> During Bootup all three displays work, even when

[RFC 1/2] core: Add generic object registry implementation

2014-11-06 Thread Thierry Reding
sure that we have one module reference. > Sure, document it better if you want, but I think something needs to be > done differently if at all possible. try_module_get() is the only way I know of that ensures that the code of a module stays around. Everytime we give out a new reference to a record we also need to increment the module reference count accordingly to make sure the underlying code doesn't go away all of a sudden. I guess that's not entirely accurate. The module reference count doesn't have to be increment for every record reference, it only needs to track each record. So the try_module_get() and module_put() could move into registry_add() and registry_get(), respectively. But the ->owner field would still be in the record structure. Would that alleviate your concerns? 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/20141106/1b589fb1/attachment.sig>

[PATCH 2/3] of: Add vendor prefix for Hitachi Ltd. Corporation

2014-11-06 Thread Rob Herring
On Thu, Nov 6, 2014 at 10:44 AM, Lucas Stach wrote: > Signed-off-by: Lucas Stach Acked-by: Rob Herring > --- > Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt > b/Documentatio

[RFC 1/2] core: Add generic object registry implementation

2014-11-06 Thread Thierry Reding
registry could easily implement as well. But instead of passing around void * and type IDs as in the interface tracker it could deal with real objects for proper type- safety. 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/20141106/44968ab0/attachment-0001.sig>

[RFC] dpms handling on atomic drivers

2014-11-06 Thread Daniel Vetter
Hi all, After a few atomic irc chats I've shockingly realized that I've completely ignored dpms handling in my helper series. Oops. But there's a few things which are seriously wrong with DPMS, so I've figured I'll start a discussion about them first - converting to atomic looks like a good time

[PATCH 1/9] drm/exynos: remove uneeded declaration of struct dma_iommu_mapping

2014-11-06 Thread Gustavo Padovan
Hi Inki, Could you please give a review to this series? Thanks. Gustavo 2014-10-31 Gustavo Padovan : > From: Gustavo Padovan > > It is not even used in this header anymore. > > Signed-off-by: Gustavo Padovan > --- > drivers/gpu/drm/exynos/exynos_drm_iommu.h | 1 - > 1 file change

exynos-drm registration: infinite loop

2014-11-06 Thread Thierry Reding
you need to fix this as soon as possible because this currently causes all sorts of weirdness when booting a multi-platform kernel on non-Exynos boards. Probably the easiest for now would be to add some soc_is_exynos*() check at the very beginning of exynos_drm_init(). 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/20141106/98dcd330/attachment.sig>

[PATCH 0/2] make imx hdmi publicly used by dw hdmi compatible platform

2014-11-06 Thread Russell King - ARM Linux
On Thu, Nov 06, 2014 at 05:35:40PM +0800, Kuankuan.Yang wrote: > I'm working on Designware hdmi-audio, also add it as a standard ALSA device. > Before I saw this email, I also planed to submit my patchs to upsteam. > I'm very grateful if you can email those patchs to us. I've attached the set of p

3.18.0-rc3: i915: eDP connected Display stays blank

2014-11-06 Thread Arnd Hannemann
Hi, I have a Thinkpad T440s (Haswell) connected to two additional Monitors via a Docking Station (MST). During Bootup all three displays work, even when X is started. However, if the laptop display is turned off once (either because of power saving, or via xrandr), it fails to "come back". That i

[PATCH] drm/panel: simple: Add missing .bpc fields

2014-11-06 Thread Thierry Reding
From: Thierry Reding Various panels were missing the .bpc field which encodes the number of bits per color. Not every display driver relies on this value, but since the panels can be used with any display engine it must be specified so that if a driver knows how to differentiate based on this fie

[PATCH] drm/panel: simple: Add AUO B116XW03 panel support

2014-11-06 Thread Thierry Reding
p://lists.freedesktop.org/archives/dri-devel/attachments/20141106/b68612f2/attachment.sig>

[BUG] blocked task after exynos_drm_init

2014-11-06 Thread Krzysztof Kozlowski
Hi, On last next (next-20141104, next-20141105) booting locks after initializing Exynos DRM (Trats2 board): [2.028283] [drm] Initialized drm 1.1.0 20060810 [ 240.505795] INFO: task swapper/0:1 blocked for more than 120 seconds. [ 240.510825] Not tainted 3.18.0-rc3-next-20141105 #794 [

[PATCH v2 2/2] drm/panel: Add HannStar HSD070PWW1 7.0" WXGA TFT LCD panel

2014-11-06 Thread Thierry Reding
> create mode 100644 > Documentation/devicetree/bindings/panel/hannstar,hsd070pww1.txt Applied, thanks. Thierry -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <

[PATCH v2 1/2] of: Add vendor prefix for HannStar Display Corporation

2014-11-06 Thread Thierry Reding
pplication/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20141106/91983c87/attachment.sig>

  1   2   >