[PATCH 1/2] drm/rockchip: vop: Do check if an update is pending during disable

2016-04-11 Thread Mark yao
On 2016年04月08日 18:54, Tomeu Vizoso wrote: > On 8 April 2016 at 03:07, Mark yao wrote: >> On 2016年04月06日 18:14, Tomeu Vizoso wrote: >> >> When a plane is being disabled but it's still enabled, do check if the >> previous update has been completed by reading yrgb_mst back. >> >> Otherwis

[PATCH 1/2] drm/rockchip: remove redundant statement

2016-04-11 Thread Mark yao
On 2016年04月05日 21:50, John Keeping wrote: > The call to arm_iommu_detach_device() on the previous line sets > dev->archdata.mapping to NULL so this call is always a no-op. > > Signed-off-by: John Keeping > --- > drivers/gpu/drm/rockchip/rockchip_drm_drv.c | 1 - > 1 file changed, 1 deleti

[PATCH 2/2] drm/rockchip: don't leak iommu mapping

2016-04-11 Thread Mark yao
On 2016年04月05日 21:50, John Keeping wrote: > arm_iommu_attach_device() takes its own reference to the mapping we give > it. Since we do not keep a reference to the mapping ourselves, we must > release it before returning. > > Also fix the error path, which fails to release the mapping if it h

Nouveau crashes in 4.6-rc on arm64

2016-04-11 Thread Alexandre Courbot
ally sync all buffers and let the DMA API abstract this away. My concern is that on coherent architectures we would still need to loop over all the pages for nothing, as I don't think the loop (see e.g. nouveau_bo_sync_for_cpu in nouveau_bo.c) can be optimized away by the compiler. Thanks, Alex. -- next part -- A non-text attachment was scrubbed... Name: 0001-WIP-no-dma-api-for-coherent-gpuobjs.patch Type: text/x-patch Size: 3801 bytes Desc: not available URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160411/46428d08/attachment.bin>

[PATCH] drm/core: Do not preserve framebuffer on rmfb, v3.

2016-04-11 Thread Maarten Lankhorst
Op 31-03-16 om 13:26 schreef Maarten Lankhorst: > It turns out that preserving framebuffers after the rmfb call breaks > vmwgfx userspace. This was originally introduced because it was thought > nobody relied on the behavior, but unfortunately it seems there are > exceptions. > > drm_framebuffer_re

[PATCH 1/6] drm/amd: Mark some tables as const

2016-04-11 Thread Christian König
Am 10.04.2016 um 16:29 schrieb Nils Wallménius: > This patch marks some compile-time constant tables 'const'. > The tables marked in this patch are the low hanging fruit > where little other changes were necesary to avoid casting > away constness etc. Also mark some tables that are private > to a

[Bug 116101] "RIP radeon_gem_va_ioctl+0x35/0x650", "Userspace still has active objects", and "trying to unbind memory from uninitialized GART !" when unbinding from radeon

2016-04-11 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=116101 Christian König changed: What|Removed |Added CC||deathsimple at vodafone.de --- Commen

Nouveau crashes in 4.6-rc on arm64

2016-04-11 Thread Alexandre Courbot
On 04/11/2016 04:22 PM, Alexandre Courbot wrote: > ... or maybe we could just unconditionally sync all buffers and let the > DMA API abstract this away. My concern is that on coherent architectures > we would still need to loop over all the pages for nothing, as I don't > think the loop (see e.g. n

[alsa-devel] [PATCH 2/5 v4] drm/i2c/adv7511: Add audio support

2016-04-11 Thread Lars-Peter Clausen
On 04/11/2016 11:27 AM, Jose Abreu wrote: > Hi Lars, > > > On 09-04-2016 16:02, Lars-Peter Clausen wrote: >> On 04/08/2016 06:12 PM, Jose Abreu wrote: >> [...] [...] > +- adi,enable-audio: If set the ADV7511 driver will register a codec > interface > + into ALSA SoC. This

[PATCH v2] drm/core: Add drm_accurate_vblank_count_and_time, v2.

2016-04-11 Thread Maarten Lankhorst
This function is useful for gen2 intel devices which have no frame counter, but need a way to determine the current vblank count without racing with the vblank interrupt handler. intel_pipe_update_start checks if no vblank interrupt will occur during vblank evasion, but cannot check whether the vb

[PATCH v3 5/5] [media] imx-ipu: Add i.MX IPUv3 scaler driver

2016-04-11 Thread Jean-Michel Hautbois
her things. I'll prepare a new version of this > series. > Let's try another reminder ? :) Thanks, JM -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160411/cb2e635a/attachment.html>

[PATCH] drm: atomic: fix legacy gamma set helper

2016-04-11 Thread Lionel Landwerlin
Color management properties are a bit of an odd use case because they're not marked as atomic properties. Currently we're not updating the non atomic values so the drm_crtc_state is out of sync with the values stored in the crtc object. v2: Update non atomic values only if commit succeeds (Bob Paa

[PATCH] drm: atomic: fix legacy gamma set helper

2016-04-11 Thread Maarten Lankhorst
Op 11-04-16 om 12:37 schreef Lionel Landwerlin: > Color management properties are a bit of an odd use case because > they're not marked as atomic properties. Currently we're not updating > the non atomic values so the drm_crtc_state is out of sync with the > values stored in the crtc object. > > v2

[RESEND] fence: add missing descriptions for fence

2016-04-11 Thread Luis de Bethencourt
The members child_list and active_list were added to the fence struct without descriptions for the Documentation. Adding these. Fixes: b55b54b5db33 ("staging/android: remove struct sync_pt") Signed-off-by: Luis de Bethencourt Reviewed-by: Javier Martinez Canillas --- Hi, Just resending this pat

[alsa-devel] [PATCH 2/5 v4] drm/i2c/adv7511: Add audio support

2016-04-11 Thread Lars-Peter Clausen
On 04/11/2016 01:32 PM, Jose Abreu wrote: > Hi Lars, > > > On 11-04-2016 10:33, Lars-Peter Clausen wrote: >> On 04/11/2016 11:27 AM, Jose Abreu wrote: >>> Hi Lars, >>> >>> >>> On 09-04-2016 16:02, Lars-Peter Clausen wrote: On 04/08/2016 06:12 PM, Jose Abreu wrote: [...] >> [...] >>>

[Bug 94667] Artifacts on applications on discrete and kernel freezes

2016-04-11 Thread bugzilla-dae...@freedesktop.org
attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160411/cb2df800/attachment.html>

[Bug 94667] Artifacts on applications on discrete and kernel freezes

2016-04-11 Thread bugzilla-dae...@freedesktop.org
You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160411/9df9b5aa/attachment.html>

[PATCH v8 02/10] drm/hisilicon: Add hisilicon kirin drm master driver

2016-04-11 Thread Xinliang Liu
Add kirin DRM master driver for hi6220 SoC which used in HiKey board. Add dumb buffer feature. Add prime dmabuf feature. v8: None. v7: - Add config.mutex protection when accessing mode_config.connector_list. - Clean up match data getting. v6: None. v5: None. v4: None. v3: - Move and rename all the

[PATCH v8 04/10] drm/hisilicon: Add plane driver for ADE

2016-04-11 Thread Xinliang Liu
Add plane funcs and helper funcs for ADE. v8: None. v7: None. v6: None. v5: None. v4: None. v3: - A few cleanup. v2: - Remove abtraction layer. Signed-off-by: Xinliang Liu Signed-off-by: Xinwei Kong --- drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c | 535 +++- 1 file chan

[PATCH v8 08/10] drm/hisilicon: Add designware dsi host driver

2016-04-11 Thread Xinliang Liu
Add DesignWare dsi host driver for hi6220 SoC. v8: None. v7: None. v6: None. v5: None. v4: None. v3: None. v2: - Remove abtraction layer. Signed-off-by: Xinliang Liu Signed-off-by: Xinwei Kong Reviewed-by: Archit Taneja --- drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c | 50 +++

[PATCH v8 09/10] drm/hisilicon: Add support for external bridge

2016-04-11 Thread Xinliang Liu
Add support for external HDMI bridge. v8: None. v7: None. v6: None. v5: None. v4: None. v3: - Fix a typo: s/exteranl/external. v2: - Remove abtraction layer. Signed-off-by: Xinliang Liu Signed-off-by: Xinwei Kong Reviewed-by: Archit Taneja --- drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c | 52

[PATCH v8 10/10] MAINTAINERS: Add maintainer for hisilicon DRM driver

2016-04-11 Thread Xinliang Liu
Add maintainer and reviewer for hisilicon DRM driver. v8: None. v7: None. v6: None. v5: None. v4: - Add Chen Feng as Designated reviewer. v3: First version. Signed-off-by: Xinliang Liu --- MAINTAINERS | 10 ++ 1 file changed, 10 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS ind

[PATCH] drm/radeon: hold reference to fences in radeon_sa_bo_new (3.17 and older)

2016-04-11 Thread Luis Henriques
On Tue, Mar 15, 2016 at 12:56:45PM -0500, Nicolai Hähnle wrote: > From: Nicolai Hähnle > > [Backport of upstream commit f6ff4f67cdf8455d0a4226eeeaf5af17c37d05eb, with > an additional NULL pointer guard that is required for kernels 3.17 and older. > Thank you, Nicolai. I'll queue this backpor

[alsa-devel] [PATCH 2/5 v4] drm/i2c/adv7511: Add audio support

2016-04-11 Thread Jose Abreu
Hi Lars, On 09-04-2016 16:02, Lars-Peter Clausen wrote: > On 04/08/2016 06:12 PM, Jose Abreu wrote: > [...] >>> [...] +- adi,enable-audio: If set the ADV7511 driver will register a codec interface + into ALSA SoC. >>> This is not a description of the hardware. >> Is this okay: "a

[PATCH v8 00/10] Add DRM Driver for HiSilicon Kirin hi6220 SoC

2016-04-11 Thread Xinliang Liu
This patch set adds a new drm driver for HiSilicon Kirin hi6220 SoC. Current testing and support board is Hikey board which is one of Linaro 96boards. It is an arm64 open source board. For more information about this board, please access https://www.96boards.org. Hardware Detail ---

[PATCH v8 01/10] drm/hisilicon: Add device tree binding for hi6220 display subsystem

2016-04-11 Thread Xinliang Liu
Add ADE display controller binding doc. Add DesignWare DSI Host Controller v1.20a binding doc. v8: None. v7: Acked by Rob Herring. v6: - Cleanup values part of reg and clocks properties. - Change "pclk_dsi" clock name to "pclk". v5: - Remove endpoint unit address of dsi output port. - Add "hisilic

[PATCH v8 03/10] drm/hisilicon: Add crtc driver for ADE

2016-04-11 Thread Xinliang Liu
Add crtc funcs and helper funcs for ADE. v8: None. v7: - A few Regs define clean up and typo fixs. v6: - Cleanup reg-names dt parsing. v5: - Use syscon to access ADE media NOC QoS registers instread of directly writing registers. - Use reset controller to reset ADE instead of directly writing re

[PATCH v8 05/10] drm/hisilicon: Add vblank driver for ADE

2016-04-11 Thread Xinliang Liu
Add vblank irq handle. v8: None. v7: - Fix irq flag "DRIVER_IRQF_SHARED" to "IRQF_SHARED". v6: None. v5: None. v4: None. v3: - Remove hisi_get_crtc_from_index func. - A few cleanup. v2: - Remove abtraction layer. Signed-off-by: Xinliang Liu Signed-off-by: Xinwei Kong --- drivers/gpu/drm/hisili

[PATCH v8 06/10] drm/hisilicon: Add cma fbdev and hotplug

2016-04-11 Thread Xinliang Liu
Add cma Fbdev, Fbdev is legency and optional, you can enable/disable it by configuring DRM_FBDEV_EMULATION. Add hotplug. v8: None. v7: None. v6: None. v5: None. v4: None. v3: None. v2: - Use CONFIG_DRM_FBDEV_EMULATION instead of CONFIG_DRM_HISI_FBDEV. Signed-off-by: Xinliang Liu Signed-off-by: X

[alsa-devel] [PATCH 5/5 v4] ASoC: dwc: Update DOCUMENTATION for I2S Driver

2016-04-11 Thread Jose Abreu
Hi Lars, On 09-04-2016 15:55, Lars-Peter Clausen wrote: > On 04/08/2016 06:08 PM, Jose Abreu wrote: >> Hi Lars, >> >> >> On 08-04-2016 16:52, Lars-Peter Clausen wrote: >>> On 04/08/2016 12:06 PM, Jose Abreu wrote: Hi Mark, On 07-04-2016 18:53, Mark Brown wrote: > On Thu, A

[alsa-devel] [PATCH 2/5 v4] drm/i2c/adv7511: Add audio support

2016-04-11 Thread Jose Abreu
Hi Lars, On 11-04-2016 10:33, Lars-Peter Clausen wrote: > On 04/11/2016 11:27 AM, Jose Abreu wrote: >> Hi Lars, >> >> >> On 09-04-2016 16:02, Lars-Peter Clausen wrote: >>> On 04/08/2016 06:12 PM, Jose Abreu wrote: >>> [...] > [...] >> +- adi,enable-audio: If set the ADV7511 driver will re

[PATCH v8 07/10] drm/hisilicon: Add designware dsi encoder driver

2016-04-11 Thread Xinliang Liu
Add DesignWare MIPI DSI Host Controller v1.02 encoder driver for hi6220 SoC. v8: None. v7: - A few regs define clean up. v6: - Change "pclk_dsi" to "pclk". v5: None. v4: None. v3: - Rename file name to dw_drm_dsi.c - Make encoder type as DRM_MODE_ENCODER_DSI. - A few cleanup. v2: - Remove abtracti

[PATCH] drm: atomic: fix legacy gamma set helper

2016-04-11 Thread Lionel Landwerlin
Color management properties are a bit of an odd use case because they're not marked as atomic properties. Currently we're not updating the non atomic values so the drm_crtc_state is out of sync with the values stored in the crtc object. v2: Update non atomic values only if commit succeeds (Bob Paa

[PATCH v2] drm/core: Add drm_accurate_vblank_count_and_time, v2.

2016-04-11 Thread Ville Syrjälä
On Mon, Apr 11, 2016 at 11:42:57AM +0200, Maarten Lankhorst wrote: > This function is useful for gen2 intel devices which have no frame > counter, but need a way to determine the current vblank count without > racing with the vblank interrupt handler. > > intel_pipe_update_start checks if no vblan

[Bug 116101] "RIP radeon_gem_va_ioctl+0x35/0x650", "Userspace still has active objects", and "trying to unbind memory from uninitialized GART !" when unbinding from radeon

2016-04-11 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=116101 --- Comment #2 from Joe P. --- Right now the radeon card isn't being used for anything. I am using my Intel iGPU as my output but using PRIME offloading to play games via the 290 (which works fine). Sorry, I should have specified that in the orig

[PATCH libdrm] freedreno: add dummy fd_bo_from_fbdev implementation when KGSL is disabled

2016-04-11 Thread Nicolas Dechesne
Make sure that this function is defined (even empty/dummy) when KGSL support is disabled, since it's part of the driver i/f and it was reported to cause symbols issues when building against musl libc implementation. Reported-by: Khem Raj Signed-off-by: Nicolas Dechesne --- freedreno/freedreno_b

[Bug 116101] "RIP radeon_gem_va_ioctl+0x35/0x650", "Userspace still has active objects", and "trying to unbind memory from uninitialized GART !" when unbinding from radeon

2016-04-11 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=116101 --- Comment #3 from Joe P. --- (In reply to Christian König from comment #1) > Well as the error message already suggests "Userspace still has active > objects !" you have an application which is still using the hardware. > > So unbinding and r

[PATCH v2] drm/core: Add drm_accurate_vblank_count_and_time, v2.

2016-04-11 Thread Maarten Lankhorst
Op 11-04-16 om 16:43 schreef Ville Syrjälä: > On Mon, Apr 11, 2016 at 11:42:57AM +0200, Maarten Lankhorst wrote: >> This function is useful for gen2 intel devices which have no frame >> counter, but need a way to determine the current vblank count without >> racing with the vblank interrupt handl

[PATCH v14 0/8] MT8173 DRM support

2016-04-11 Thread Philipp Zabel
Rebased onto v4.6-rc1, removed the HDMI driver from this series and updated the suspend/resume code. The encoder driver pm_ops are now gone, the encoders are disabled via atomic suspend helpers from the main driver suspend/resume hooks. Register access in the MIPI TX driver has been changed accordi

[PATCH v14 1/8] dt-bindings: drm/mediatek: Add Mediatek display subsystem dts binding

2016-04-11 Thread Philipp Zabel
From: CK Hu Add device tree binding documentation for the display subsystem in Mediatek MT8173 SoCs. Signed-off-by: CK Hu Signed-off-by: Philipp Zabel Acked-by: Rob Herring --- .../bindings/display/mediatek/mediatek,disp.txt| 203 + .../bindings/display/mediatek/media

[PATCH v14 3/8] drm/mediatek: Add DSI sub driver

2016-04-11 Thread Philipp Zabel
From: CK Hu This patch add a drm encoder/connector driver for the MIPI DSI function block of the Mediatek display subsystem and a phy driver for the MIPI TX D-PHY control module. Signed-off-by: Jitao Shi Signed-off-by: Philipp Zabel -- Changes since v13: - Create connector in separate functio

[PATCH v14 4/8] drm/mediatek: Add DPI sub driver

2016-04-11 Thread Philipp Zabel
From: Jie Qiu Add DPI connector/encoder to support HDMI output via the attached HDMI bridge. Signed-off-by: Jie Qiu Signed-off-by: Philipp Zabel -- Changes since v13: - Remove suspend/resume functions - Meld mtk_dpi.h into mtk_dpi.c - Make mtk_dpi_set_display_mode static - Fix missing brid

[PATCH v14 2/8] drm/mediatek: Add DRM Driver for Mediatek SoC MT8173.

2016-04-11 Thread Philipp Zabel
From: CK Hu This patch adds an initial DRM driver for the Mediatek MT8173 DISP subsystem. It currently supports two fixed output streams from the OVL0/OVL1 sources to the DSI0/DPI0 sinks, respectively. Signed-off-by: CK Hu Signed-off-by: YT Shen Signed-off-by: Daniel Kurtz Signed-off-by: Bibb

[PATCH v14 5/8] clk: mediatek: make dpi0_sel propagate rate changes

2016-04-11 Thread Philipp Zabel
This mux is supposed to select a fitting divider after the PLL is already set to the correct rate. Signed-off-by: Philipp Zabel Acked-by: James Liao Acked-by: Stephen Boyd --- drivers/clk/mediatek/clk-mt8173.c | 6 +- drivers/clk/mediatek/clk-mtk.h| 15 +-- 2 files changed

[PATCH v14 8/8] arm64: dts: mt8173: Add display subsystem related nodes

2016-04-11 Thread Philipp Zabel
From: CK Hu This patch adds the device nodes for the DISP function blocks comprising the display subsystem. Signed-off-by: CK Hu Signed-off-by: Cawa Cheng Signed-off-by: Jie Qiu Signed-off-by: Daniel Kurtz Signed-off-by: Philipp Zabel --- Changes since v13: - Remove HDMI DDC I2C node, this

[PATCH v14 7/8] clk: mediatek: remove hdmitx_dig_cts from TOP clocks

2016-04-11 Thread Philipp Zabel
The hdmitx_dig_cts clock signal is not a child of tvdpll_445p5m, but is routed out of the HDMI PHY module. Signed-off-by: Philipp Zabel Acked-by: Stephen Boyd --- drivers/clk/mediatek/clk-mt8173.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/clk/mediatek/clk-mt8173.c b/drivers/cl

[PATCH v14 6/8] clk: mediatek: Add hdmi_ref HDMI PHY PLL reference clock output

2016-04-11 Thread Philipp Zabel
The configurable hdmi_ref output of the PLL block is derived from the tvdpll_594m clock signal via a configurable PLL post-divider. It is used as the PLL reference input to the HDMI PHY module. Signed-off-by: Philipp Zabel Acked-by: James Liao Acked-by: Stephen Boyd --- drivers/clk/mediatek/cl

[PATCH v14 0/6] MT8173 HDMI support

2016-04-11 Thread Philipp Zabel
This series contains the HDMI encoder, PHY, and DDC drivers split out from the "MT8173 DRM support" series. Changes since v13: - Don't disable output in suspend/resume, the bridge will be disabled by the upstream encoder - Combine hdmi bridge driver into mtk_hdmi.c - Remove mtk_cec_irq - Ad

[PATCH v14 1/6] dt-bindings: drm/mediatek: Add Mediatek HDMI dts binding

2016-04-11 Thread Philipp Zabel
Add the device tree binding documentation for Mediatek HDMI, HDMI PHY and HDMI DDC devices. Signed-off-by: Philipp Zabel Acked-by: Rob Herring --- .../bindings/display/mediatek/mediatek,hdmi.txt| 148 + 1 file changed, 148 insertions(+) create mode 100644 Documentation

[PATCH v14 2/6] drm/mediatek: Add HDMI support

2016-04-11 Thread Philipp Zabel
From: Jie Qiu This patch adds drivers for the HDMI bridge connected to the DPI0 display subsystem function block, for the HDMI DDC block, and for the HDMI PHY to support HDMI output. Signed-off-by: Jie Qiu Signed-off-by: Philipp Zabel --- Changes since v13: - Don't disable output in suspend/r

[PATCH v14 4/6] arm64: dts: mt8173: Add HDMI related nodes

2016-04-11 Thread Philipp Zabel
From: CK Hu This patch adds the device nodes for the HDMI encoder, HDMI PHY, and HDMI CEC modules. Signed-off-by: CK Hu Signed-off-by: Cawa Cheng Signed-off-by: Jie Qiu Signed-off-by: Daniel Kurtz Signed-off-by: Philipp Zabel -- Changes since v13: - Add HDMI DDC I2C node --- arch/arm64/bo

[PATCH v14 5/6] dt-bindings: hdmi-connector: add DDC I2C bus phandle documentation

2016-04-11 Thread Philipp Zabel
Add an optional ddc-i2c-bus phandle property that points to an I2C master controller that handles the connector DDC pins. Signed-off-by: Philipp Zabel Acked-by: Rob Herring --- Documentation/devicetree/bindings/display/connector/hdmi-connector.txt | 1 + 1 file changed, 1 insertion(+) diff --g

[PATCH v14 6/6] arm64: dts: mt8173-evb: enable HDMI output

2016-04-11 Thread Philipp Zabel
Add an HDMI connector node and enable the devices that are part of the HDMI display path: cec, dpi0, hdmi_phy, and hdmi0. Signed-off-by: Philipp Zabel --- arch/arm64/boot/dts/mediatek/mt8173-evb.dts | 38 + 1 file changed, 38 insertions(+) diff --git a/arch/arm64/boo

[PATCH v14 3/6] drm/mediatek: enable hdmi output control bit

2016-04-11 Thread Philipp Zabel
From: Jie Qiu MT8173 HDMI hardware has a output control bit to enable/disable HDMI output. Because of security reason, so this bit can ONLY be controlled in ARM supervisor mode. Now the only way to enter ARM supervisor is the ARM trusted firmware. So atf provides a API for HDMI driver to call to

[PATCH v2] drm/core: Add drm_accurate_vblank_count_and_time, v2.

2016-04-11 Thread Ville Syrjälä
On Mon, Apr 11, 2016 at 05:06:24PM +0200, Maarten Lankhorst wrote: > Op 11-04-16 om 16:43 schreef Ville Syrjälä: > > On Mon, Apr 11, 2016 at 11:42:57AM +0200, Maarten Lankhorst wrote: > >> This function is useful for gen2 intel devices which have no frame > >> counter, but need a way to determine

[Bug 94891] BUG: unable to handle kernel NULL pointer dereference

2016-04-11 Thread bugzilla-dae...@freedesktop.org
this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160411/a9d31836/attachment.html>

[PATCH RFC 00/11] drm/tilcdc: Atomic modeset support

2016-04-11 Thread Jyri Sarha
The LCDC in its simplicity does not fit too well into DRM atomic modeset abstractions. I wonder if I am doing the right thing in implementing the dummy primary plane and in implementing mode_set_nofb() crtc helper when the crtc actually needs the framebuffer to be there when configuring it. See ind

[PATCH RFC 01/11] drm/tilcdc: Make tilcdc_crtc_page_flip() public

2016-04-11 Thread Jyri Sarha
Make tilcdc_crtc_page_flip() public for dummy plane implementation to use. Signed-off-by: Jyri Sarha --- drivers/gpu/drm/tilcdc/tilcdc_crtc.c | 2 +- drivers/gpu/drm/tilcdc/tilcdc_drv.h | 4 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/tilcdc/tilcdc_crtc.c

[PATCH RFC 02/11] drm/tilcdc: Add dummy primary plane implementation

2016-04-11 Thread Jyri Sarha
Add dummy primary plane implementation. LCDC does not really have planes, only simple framebuffer that is mandatory. This primary plane implementation has the necessary checks for implementing simple framebuffer trough DRM plane abstraction. For setting the actual framebuffer the implementation rel

[PATCH RFC 03/11] drm/tilcdc: Initialize dummy plane from crtc init

2016-04-11 Thread Jyri Sarha
Signed-off-by: Jyri Sarha --- drivers/gpu/drm/tilcdc/tilcdc_crtc.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/tilcdc/tilcdc_crtc.c b/drivers/gpu/drm/tilcdc/tilcdc_crtc.c index 78466ed..6b39be7 100644 --- a/drivers/gpu/drm/tilcdc/tilcdc_crtc.

[PATCH RFC 03/11] drm/tilcdc: Initialize dummy primary plane from crtc init

2016-04-11 Thread Jyri Sarha
Initialize dummy primary plane from crtc init. Signed-off-by: Jyri Sarha --- drivers/gpu/drm/tilcdc/tilcdc_crtc.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/tilcdc/tilcdc_crtc.c b/drivers/gpu/drm/tilcdc/tilcdc_crtc.c index 78466ed..919c901 10

[PATCH RFC 04/11] drm/tilcdc: Add tilcdc_crtc_mode_set_nofb()

2016-04-11 Thread Jyri Sarha
Add tilcdc_crtc_mode_set_nofb(). The mode_set_nofb() semantics do not fit well to LCDC, because of the mandatory framebuffer. However, when the primary plane is required in the check phase, it and the framebuffer can be found from the atomic state struct. Signed-off-by: Jyri Sarha --- drivers/gp

[PATCH RFC 05/11] drm/tilcdc: Add tilcdc_crtc_atomic_check()

2016-04-11 Thread Jyri Sarha
Add tilcdc_crtc_atomic_check(). Checks the display mode validity and the presence of the mandatory primary plane. Signed-off-by: Jyri Sarha --- drivers/gpu/drm/tilcdc/tilcdc_crtc.c | 29 + 1 file changed, 29 insertions(+) diff --git a/drivers/gpu/drm/tilcdc/tilcdc_cr

[PATCH RFC 06/11] drm/tilcdc: Add atomic mode config funcs

2016-04-11 Thread Jyri Sarha
Add atomic mode config funcs. The atomic_commit implementation is a copy-paste from drm_atomic_helper_commit(), leaving out the async test. The similar copy-paste implementation appears to be used in many other drivers too. The standard drm_atomic_helper_check() is used for checking. Signed-off-by

[PATCH RFC 07/11] drm/tilcdc: Add drm_mode_config_reset() call to tilcdc_load()

2016-04-11 Thread Jyri Sarha
Add drm_mode_config_reset() call to tilcdc_load(). This is need to initialize atomic state variables at load time. Signed-off-by: Jyri Sarha --- drivers/gpu/drm/tilcdc/tilcdc_drv.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/tilcdc/tilcdc_drv.c b/drivers/gpu/drm/tilcd

[PATCH RFC 08/11] drm/tilcdc: Call drm_crtc_vblank_off() in tilcdc_crtc_destroy()

2016-04-11 Thread Jyri Sarha
Call drm_crtc_vblank_off() in tilcdc_crtc_destroy(). This is needed for module unloading after the DRIVER_ATOMIC is enabled. Signed-off-by: Jyri Sarha --- drivers/gpu/drm/tilcdc/tilcdc_crtc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/tilcdc/tilcdc_crtc.c

[PATCH RFC 09/11] drm/tilcdc: Set DRIVER_ATOMIC and use atomic crtc helpers

2016-04-11 Thread Jyri Sarha
Set DRIVER_ATOMIC and use atomic helpers and rename commit and prepare crtc helpers to enable and disable. This makes the final jump to mode setting, but there is lot of obsolete code to clean up. Signed-off-by: Jyri Sarha --- drivers/gpu/drm/tilcdc/tilcdc_crtc.c | 16 +++- drivers/g

[PATCH RFC 10/11] drm/tilcdc: Remove obsolete crtc helper functions

2016-04-11 Thread Jyri Sarha
Remove obsolete crtc helper functions. These are not needed when atomic modeset is used. Signed-off-by: Jyri Sarha --- drivers/gpu/drm/tilcdc/tilcdc_crtc.c | 209 --- 1 file changed, 209 deletions(-) diff --git a/drivers/gpu/drm/tilcdc/tilcdc_crtc.c b/drivers/gp

[PATCH RFC 11/11] drm/tilcdc: Remove tilcdc_verify_fb()

2016-04-11 Thread Jyri Sarha
Remove tilcdc_verify_fb(). The tilcdc_verify_fb() function is not needed because the same checks are implemented in tilcdc_plane_atomic_check(). Signed-off-by: Jyri Sarha --- drivers/gpu/drm/tilcdc/tilcdc_crtc.c | 21 - 1 file changed, 21 deletions(-) diff --git a/drivers/gp

Please ignore this (was: Re: [PATCH RFC 03/11] drm/tilcdc: Initialize dummy plane from crtc init)

2016-04-11 Thread Jyri Sarha
Please ignore this. BR, Jyri On 04/11/16 19:46, Jyri Sarha wrote: > Signed-off-by: Jyri Sarha > --- > drivers/gpu/drm/tilcdc/tilcdc_crtc.c | 12 ++-- > 1 file changed, 10 insertions(+), 2 deletions(-) > > diff --git a/drivers/gpu/drm/tilcdc/tilcdc_crtc.c > b/drivers/gpu/drm/tilcdc/til

[PATCH 1/6] drm/amd: Mark some tables as const

2016-04-11 Thread Alex Deucher
On Mon, Apr 11, 2016 at 3:32 AM, Christian König wrote: > Am 10.04.2016 um 16:29 schrieb Nils Wallménius: >> >> This patch marks some compile-time constant tables 'const'. >> The tables marked in this patch are the low hanging fruit >> where little other changes were necesary to avoid casting >>

[PATCH] drm: atomic: fix legacy gamma set helper

2016-04-11 Thread Bob Paauwe
On Mon, 11 Apr 2016 14:43:39 +0100 Lionel Landwerlin wrote: > Color management properties are a bit of an odd use case because > they're not marked as atomic properties. Currently we're not updating > the non atomic values so the drm_crtc_state is out of sync with the > values stored in the crtc

[Bug 116101] "RIP radeon_gem_va_ioctl+0x35/0x650", "Userspace still has active objects", and "trying to unbind memory from uninitialized GART !" when unbinding from radeon

2016-04-11 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=116101 --- Comment #4 from Christian König --- It doesn't matter what OpenGL driver you currently use for the desktop. The hardware is in use by something so unbinding can't work correctly. Try "sudo lsof /dev/dri/card1" (or whatever number your Radeo

[alsa-devel] [PATCH 2/5 v4] drm/i2c/adv7511: Add audio support

2016-04-11 Thread Lars-Peter Clausen
On 04/11/2016 04:08 PM, Jose Abreu wrote: [...] >> Currently there is also zero support of of-graph in ASoC, so a bit of work >> is required to get this integrated properly. >> > > I also believe this would be the better option but in the meantime can't I > integrate the audio like it is being don

[RESEND] fence: add missing descriptions for fence

2016-04-11 Thread Gustavo Padovan
Hi Luis, 2016-04-11 Luis de Bethencourt : > The members child_list and active_list were added to the fence struct > without descriptions for the Documentation. Adding these. > > Fixes: b55b54b5db33 ("staging/android: remove struct sync_pt") > Signed-off-by: Luis de Bethencourt > Reviewed-by: Ja

[Bug 94900] Regression: HD6950 GPU lockup with octodad: dadliest catch

2016-04-11 Thread bugzilla-dae...@freedesktop.org
next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160411/baf208bf/attachment-0001.html>

[RESEND] fence: add missing descriptions for fence

2016-04-11 Thread Luis de Bethencourt
On 11/04/16 21:09, Gustavo Padovan wrote: > Hi Luis, > > 2016-04-11 Luis de Bethencourt : > >> The members child_list and active_list were added to the fence struct >> without descriptions for the Documentation. Adding these. >> >> Fixes: b55b54b5db33 ("staging/android: remove struct sync_pt") >>

[Bug 94900] HD6950 GPU lockup with octodad: dadliest catch

2016-04-11 Thread bugzilla-dae...@freedesktop.org
ves/dri-devel/attachments/20160411/a260f76f/attachment.html>

[Bug 94900] HD6950 GPU lockup with octodad: dadliest catch

2016-04-11 Thread bugzilla-dae...@freedesktop.org
or the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160411/df71a899/attachment.html>

[PATCH] drm/msm/mdp: Add support for more RGBX formats

2016-04-11 Thread Rob Herring
Android needs XBGR format. Add all the missing 32-bpp formats without alpha for completeness. Cc: Archit Taneja Cc: Rob Clark Signed-off-by: Rob Herring --- drivers/gpu/drm/msm/mdp/mdp_format.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/gpu/drm/msm/mdp/mdp_format.c

[alsa-devel] [PATCH 2/5 v4] drm/i2c/adv7511: Add audio support

2016-04-11 Thread Jose Abreu
Hi Lars, On 11-04-2016 13:23, Lars-Peter Clausen wrote: > On 04/11/2016 01:32 PM, Jose Abreu wrote: >> Hi Lars, >> >> >> On 11-04-2016 10:33, Lars-Peter Clausen wrote: >>> On 04/11/2016 11:27 AM, Jose Abreu wrote: Hi Lars, On 09-04-2016 16:02, Lars-Peter Clausen wrote: > O

[PATCH v3 2/3] drm/dp/mst: Enhance DP MST debugfs output

2016-04-11 Thread Jim Bride
Add some additional information (input vs. output port, sink associated with VC, peer device type, max number of VCs supported) and ensure that any embedded '\0' characters in a branch device's devid string are not written to debugfs. v2: Rebase + change drm_edid_get_monitor_name() call to reflect

[PATCH v3 1/3] drm/edid: Add drm_edid_get_monitor_name()

2016-04-11 Thread Jim Bride
In order to include monitor name information in debugfs output we needed to add a function that would extract the monitor name from the EDID, and that function needed to reside in the file where the rest of the EDID helper functions are implemented. v2: Refactor to have drm_edid_get_monitor_name(