[Intel-gfx] [PATCH] drm/i915: Resume DP MST before doing any kind of modesetting

2016-03-01 Thread Thulasimani, Sivakumar
On 3/1/2016 5:03 AM, Rob Clark wrote: > On Mon, Feb 29, 2016 at 11:12 AM, Daniel Vetter wrote: >> On Wed, Feb 24, 2016 at 08:03:04AM +0530, Thulasimani, Sivakumar wrote: >>> >>> On 2/24/2016 3:41 AM, Lyude wrote: As it turns out, resuming DP MST is racey since we don't make sure MST is

[PATCH v6 03/11] drm/hisilicon: Add crtc driver for ADE

2016-03-01 Thread Archit Taneja
On 2/26/2016 2:10 PM, Xinliang Liu wrote: > Add crtc funcs and helper funcs for ADE. > > 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

[PATCH v6 04/11] drm/hisilicon: Add plane driver for ADE

2016-03-01 Thread Archit Taneja
On 2/26/2016 2:10 PM, Xinliang Liu wrote: > Add plane funcs and helper funcs for ADE. > > v6: None. > v5: None. > v4: None. > v3: > - A few cleanup. > v2: > - Remove abtraction layer. > > Signed-off-by: Xinliang Liu > --- > drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c | 535 > +

[PATCH v6 05/11] drm/hisilicon: Add vblank driver for ADE

2016-03-01 Thread Archit Taneja
On 2/26/2016 2:10 PM, Xinliang Liu wrote: > Add vblank irq handle. > > 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 > --- > drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c

[PATCH v6 07/11] drm/hisilicon: Add designware dsi encoder driver

2016-03-01 Thread Archit Taneja
On 2/26/2016 2:10 PM, Xinliang Liu wrote: > Add DesignWare MIPI DSI Host Controller v1.02 encoder driver > for hi6220 SoC. > > 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.

[PATCH v6 08/11] drm/hisilicon: Add designware dsi host driver

2016-03-01 Thread Archit Taneja
On 2/26/2016 2:10 PM, Xinliang Liu wrote: > Add DesignWare dsi host driver for hi6220 SoC. > > v6: None. > v5: None. > v4: None. > v3: None. > v2: > - Remove abtraction layer. Reviewed-by: Archit Taneja > > Signed-off-by: Xinliang Liu > --- > drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c | 5

[PATCH v6 09/11] drm/hisilicon: Add support for external bridge

2016-03-01 Thread Archit Taneja
On 2/26/2016 2:10 PM, Xinliang Liu wrote: > Add support for external HDMI bridge. > > v6: None. > v5: None. > v4: None. > v3: > - Fix a typo: s/exteranl/external. > v2: > - Remove abtraction layer. > Reviewed-by: Archit Taneja > Signed-off-by: Xinliang Liu > --- > drivers/gpu/drm/hisilicon/

[Intel-gfx] [PATCH] drm/i915: Resume DP MST before doing any kind of modesetting

2016-03-01 Thread Dave Airlie
On 1 March 2016 at 02:12, Daniel Vetter wrote: > On Wed, Feb 24, 2016 at 08:03:04AM +0530, Thulasimani, Sivakumar wrote: >> >> >> On 2/24/2016 3:41 AM, Lyude wrote: >> >As it turns out, resuming DP MST is racey since we don't make sure MST >> >is ready before we start modesetting, it just usually

[PATCH v4 1/5] staging/android: add num_fences field to struct sync_file_info

2016-03-01 Thread Dan Carpenter
This breaks userspace. You used to be able to figure it out from info->len - sizeof(struct sync_file_info). regards, dan carpenter

[PATCH v4 4/5] staging/android: refactor SYNC_IOC_FILE_INFO

2016-03-01 Thread Dan Carpenter
On Fri, Feb 26, 2016 at 03:31:46PM -0300, Gustavo Padovan wrote: > +no_fences: > + info->num_fences = sync_file->num_fences; > > - if (copy_to_user((void __user *)arg, info, len)) > + if (copy_to_user((void __user *)arg, info, sizeof(*info))) > ret = -EFAULT; > els

[Bug 93826] 144Hz graphic glitches and bad refresh rate

2016-03-01 Thread bugzilla-dae...@freedesktop.org
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/20160301/aa1d9352/attachment-0001.html>

[PATCHv2 20/31] drm/omap: HDMI: Fix HSW value

2016-03-01 Thread Tomi Valkeinen
gt;> -timing_h |= FLD_VAL(timings->hsw, 7, 0); >> +timing_h |= FLD_VAL(timings->hsw - (hsw_minus_one ? 1 : 0), 7, 0); > > If you named the variable hsw_offset, make it an unsigned int, initialized it > to 1 and set it to 0 instead of false, you could write this as

[PATCH] staging/android: refactor SYNC_IOC_FILE_INFO

2016-03-01 Thread Maarten Lankhorst
Op 29-02-16 om 23:08 schreef Gustavo Padovan: > Hi Maarten, > > 2016-02-29 Maarten Lankhorst : > >> Op 26-02-16 om 22:00 schreef Gustavo Padovan: >>> From: Gustavo Padovan >>> >>> Change SYNC_IOC_FILE_INFO behaviour to avoid future API breaks and >>> optimize buffer allocation. In the new approach

[PATCH] dma-buf/fence: fix fence_is_later v2

2016-03-01 Thread Maarten Lankhorst
Op 29-02-16 om 23:13 schreef Gustavo Padovan: > 2016-02-29 Alex Deucher : > >> From: Christian König >> >> A fence is never later than itself. This caused a bunch of overhead for >> AMDGPU. >> >> v2: simplify check as suggested by Michel. >> >> Signed-off-by: Christian König >> Reviewed-by: Mi

[PATCH] dma-buf/fence: fix fence_is_later v2

2016-03-01 Thread Christian König
Am 01.03.2016 um 09:36 schrieb Maarten Lankhorst: > Op 29-02-16 om 23:13 schreef Gustavo Padovan: >> 2016-02-29 Alex Deucher : >> >>> From: Christian König >>> >>> A fence is never later than itself. This caused a bunch of overhead for >>> AMDGPU. >>> >>> v2: simplify check as suggested by Miche

[PATCH 1/7] drm/hisilicon:Add hisilicon hibmc master driver.

2016-03-01 Thread Rongrong Zou
Hi, Emil Thanks for reviewing this path. 在 2016/2/29 17:40, Emil Velikov 写道: > On 29 February 2016 at 00:58, lijianhua wrote: >> Add hibmc DRM master driver for hi1710 which used in arm64 board. >> > Would be nice to give examples of what "arm64 board" this hardware is > presently available

freezes upon system boot with kernel 4.2.0-30

2016-03-01 Thread Mattias
[1.] freezes upon system boot with kernel 4.2.0-30 [2.] This upstart job never ends: "A start job is running for Detect the available GPUs and deal with any system changes" [3.] radeon [4.] Not available. I've tested with 4.5.0-040500rc6. See kernel bisect at bottom of this email. [5.] Not av

[CABC PATCH 2/2] drm/i915: CABC support for backlight control

2016-03-01 Thread Deepak M
In CABC (Content Adaptive Brightness Control) content grey level scale can be increased while simultaneously decreasing brightness of the backlight to achieve same perceived brightness. The CABC is not standardized and panel vendors are free to follow their implementation. The CABC implementaion h

[CABC PATCH 0/2] CABC patch list

2016-03-01 Thread Deepak M
CABC stands for the Content Adaptive Backlight Control. In the normal display the backlight which we see is due to the backlight which is being modulated by the filter, which is inturn dependent on the image. In brief the CABC does the histogram analysis of the image and then controls the filter an

[CABC PATCH 1/2] drm/i915: Parsing the PWM cntrl and CABC ON/OFF fileds in VBT

2016-03-01 Thread Deepak M
For dual link panel scenarios there are new fileds added in the VBT which indicate on which port the PWM cntrl and CABC ON/OFF commands needs to be sent. v2: Moving the comment to intel_dsi.h(Jani) Cc: Jani Nikula Cc: Daniel Vetter Cc: Yetunde Adebisi Signed-off-by: Deepak M --- drivers/gpu/

[PATCH v6 03/11] drm/hisilicon: Add crtc driver for ADE

2016-03-01 Thread Xinliang Liu
Hi, On 1 March 2016 at 02:48, Archit Taneja wrote: > > > On 2/26/2016 2:10 PM, Xinliang Liu wrote: >> >> Add crtc funcs and helper funcs for ADE. >> >> v6: >> - Cleanup reg-names dt parsing. >> v5: >> - Use syscon to access ADE media NOC QoS registers instread of directly >>writing registers.

[PATCH v6 04/11] drm/hisilicon: Add plane driver for ADE

2016-03-01 Thread Xinliang Liu
Hi, On 1 March 2016 at 02:48, Archit Taneja wrote: > > > On 2/26/2016 2:10 PM, Xinliang Liu wrote: >> >> Add plane funcs and helper funcs for ADE. >> >> v6: None. >> v5: None. >> v4: None. >> v3: >> - A few cleanup. >> v2: >> - Remove abtraction layer. >> >> Signed-off-by: Xinliang Liu >> --- >>

[PATCH v6 05/11] drm/hisilicon: Add vblank driver for ADE

2016-03-01 Thread Xinliang Liu
Hi, On 1 March 2016 at 02:48, Archit Taneja wrote: > > > On 2/26/2016 2:10 PM, Xinliang Liu wrote: >> >> Add vblank irq handle. >> >> v6: None. >> v5: None. >> v4: None. >> v3: >> - Remove hisi_get_crtc_from_index func. >> - A few cleanup. >> v2: >> - Remove abtraction layer. >> >> Signed-off-by:

[PATCH v6 07/11] drm/hisilicon: Add designware dsi encoder driver

2016-03-01 Thread Xinliang Liu
Hi, On 1 March 2016 at 02:49, Archit Taneja wrote: > > > On 2/26/2016 2:10 PM, Xinliang Liu wrote: >> >> Add DesignWare MIPI DSI Host Controller v1.02 encoder driver >> for hi6220 SoC. >> >> v6: >> - Change "pclk_dsi" to "pclk". >> v5: None. >> v4: None. >> v3: >> - Rename file name to dw_drm_dsi

[PATCH v6 08/11] drm/hisilicon: Add designware dsi host driver

2016-03-01 Thread Xinliang Liu
Hi, On 1 March 2016 at 02:51, Archit Taneja wrote: > > > On 2/26/2016 2:10 PM, Xinliang Liu wrote: >> >> Add DesignWare dsi host driver for hi6220 SoC. >> >> v6: None. >> v5: None. >> v4: None. >> v3: None. >> v2: >> - Remove abtraction layer. > > > Reviewed-by: Archit Taneja Thanks :-) Best,

[PATCH v6 09/11] drm/hisilicon: Add support for external bridge

2016-03-01 Thread Xinliang Liu
On 1 March 2016 at 02:53, Archit Taneja wrote: > > > On 2/26/2016 2:10 PM, Xinliang Liu wrote: >> >> Add support for external HDMI bridge. >> >> v6: None. >> v5: None. >> v4: None. >> v3: >> - Fix a typo: s/exteranl/external. >> v2: >> - Remove abtraction layer. >> > > Reviewed-by: Archit Taneja

[PATCH 0/8] drm: atmel-hlcdc: various fixes/improvements

2016-03-01 Thread Boris Brezillon
On Wed, 6 Jan 2016 11:19:21 +0100 Boris Brezillon wrote: > Hello, > > This series is a collection of fixes and improvements for the > atmel-hlcdc driver. > > The main feature added here is the support for external RGB -> XXX > bridges (patch 6 and 7). > > The first patch is a fix preventing a

enable display using drm

2016-03-01 Thread Alex Vazquez
ves/dri-devel/attachments/20160301/da4a48d7/attachment.html>

[PATCH v4 1/5] staging/android: add num_fences field to struct sync_file_info

2016-03-01 Thread Gustavo Padovan
2016-03-01 Dan Carpenter : > This breaks userspace. You used to be able to figure it out from > info->len - sizeof(struct sync_file_info). It does. We are breaking this on purpose to clean up the API for de-staging. Gustavo

[PATCH] staging/android: refactor SYNC_IOC_FILE_INFO

2016-03-01 Thread Gustavo Padovan
Hi Maarten, 2016-03-01 Maarten Lankhorst : > Op 29-02-16 om 23:08 schreef Gustavo Padovan: > > Hi Maarten, > > > > 2016-02-29 Maarten Lankhorst : > > > >> Op 26-02-16 om 22:00 schreef Gustavo Padovan: > >>> From: Gustavo Padovan > >>> > >>> Change SYNC_IOC_FILE_INFO behaviour to avoid future API

[PATCH v6 05/11] drm/hisilicon: Add vblank driver for ADE

2016-03-01 Thread Archit Taneja
On 3/1/2016 3:44 PM, Xinliang Liu wrote: > Hi, > > On 1 March 2016 at 02:48, Archit Taneja wrote: >> >> >> On 2/26/2016 2:10 PM, Xinliang Liu wrote: >>> >>> Add vblank irq handle. >>> >>> v6: None. >>> v5: None. >>> v4: None. >>> v3: >>> - Remove hisi_get_crtc_from_index func. >>> - A few cleanu

[PATCH v6 07/11] drm/hisilicon: Add designware dsi encoder driver

2016-03-01 Thread Archit Taneja
On 3/1/2016 4:03 PM, Xinliang Liu wrote: > Hi, > > On 1 March 2016 at 02:49, Archit Taneja wrote: >> >> >> On 2/26/2016 2:10 PM, Xinliang Liu wrote: >>> >>> Add DesignWare MIPI DSI Host Controller v1.02 encoder driver >>> for hi6220 SoC. >>> >>> v6: >>> - Change "pclk_dsi" to "pclk". >>> v5: Non

[PATCH v5 1/5] staging/android: add num_fences field to struct sync_file_info

2016-03-01 Thread Gustavo Padovan
From: Gustavo Padovan Inform userspace how many fences are in the sync_fence_info field. Signed-off-by: Gustavo Padovan Reviewed-by: Maarten Lankhorst --- drivers/staging/android/sync.c | 2 ++ drivers/staging/android/uapi/sync.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/dri

[PATCH v5 2/5] staging/android: rename SYNC_IOC_FENCE_INFO

2016-03-01 Thread Gustavo Padovan
From: Gustavo Padovan We don't use the 'fence' name to refer to sync_file anymore. So rename it to SYNC_IOC_FILE_INFO. Signed-off-by: Gustavo Padovan Reviewed-by: Maarten Lankhorst --- drivers/staging/android/sync.c | 2 +- drivers/staging/android/uapi/sync.h | 2 +- 2 files changed, 2 i

[PATCH v5 3/5] staging/android: remove redundant comments on sync_merge_data

2016-03-01 Thread Gustavo Padovan
From: Gustavo Padovan struct sync_merge_data already have documentation on top of the struct definition. No need to duplicate it. Signed-off-by: Gustavo Padovan Reviewed-by: Maarten Lankhorst --- drivers/staging/android/uapi/sync.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)

[PATCH v5 4/5] staging/android: refactor SYNC_IOC_FILE_INFO

2016-03-01 Thread Gustavo Padovan
From: Gustavo Padovan Change SYNC_IOC_FILE_INFO behaviour to avoid future API breaks and optimize buffer Now num_fences can be filled by the caller to inform how many fences it wants to retrieve from the kernel. If the num_fences passed is greater than zero info->sync_fence_info should point to

[PATCH v5 5/5] staging/android: add flags member to sync ioctl structs

2016-03-01 Thread Gustavo Padovan
From: Gustavo Padovan Play safe and add flags member to all structs. So we don't need to break API or create new IOCTL in the future if new features that requires flags arises. v2: check if flags are valid (zero, in this case) v3: return -EINVAL if flags are not zero'ed Signed-off-by: Gustavo

[PATCH v2.1 3/6] drm/atomic: Always call steal_encoder, v2.

2016-03-01 Thread Maarten Lankhorst
There's no need to have a separate function to get the crtc which is stolen, this can already be found when actually stealing the encoder. drm_for_each_connector already checks for connection_mutex, so use that macro now. Changes since v1: - Do not check for NULL crtc in connector_state, this m

Alternative binding proposal for tda998x audio (Was: Re: [PATCH RFC v5 4/8] drm/i2c: tda998x: Add support of a DT graph of ports)

2016-03-01 Thread Jyri Sarha
Ok, here is just one more simple alternative for tda998x audio binding. I feel that the graph ports binding for audio does not make sense without a graph based ASoC machine driver implementation. The ASoC simple-card is already here and it so widely used that there is no getting rid of that any

[PATCH v2 1/6] drm/atomic: Clean up update_output_state.

2016-03-01 Thread Ville Syrjälä
On Wed, Feb 24, 2016 at 09:37:28AM +0100, Maarten Lankhorst wrote: > With the addition of crtc_state->connector_mask other connectors from > different crtc's aren't needed any more to determine if a crtc has > connectors, so only call add_affected_connectors on the target crtc. > This allows a clea

[Intel-gfx] [PATCH v2 2/6] drm/atomic: Pass connector and state to update_connector_routing.

2016-03-01 Thread Ville Syrjälä
On Wed, Feb 24, 2016 at 09:37:29AM +0100, Maarten Lankhorst wrote: > Minor cleanup, connector and connector_state are always non-NULL here. > > Signed-off-by: Maarten Lankhorst Reviewed-by: Ville Syrjälä > --- > drivers/gpu/drm/drm_atomic_helper.c | 15 +-- > 1 file changed, 5 i

[PATCH v12 00/14] MT8173 DRM support

2016-03-01 Thread Philipp Zabel
Hi, another round of the MT8173 DRM driver. I plan to send a pull request with this version soon, there are just some small changes to the main driver patch: Changes since v11: - Instead of disabling all planes initally, configure them according to their state. This way the plane doesn't stay

[PATCH v12 01/14] dt-bindings: drm/mediatek: Add Mediatek display subsystem dts binding

2016-03-01 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 v12 09/14] arm64: dts: mt8173: Add HDMI related nodes

2016-03-01 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 --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 69 ++

[PATCH v12 05/14] dt-bindings: drm/mediatek: Add Mediatek HDMI dts binding

2016-03-01 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 v12 04/14] drm/mediatek: Add DPI sub driver

2016-03-01 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 --- drivers/gpu/drm/mediatek/Makefile | 3 +- drivers/gpu/drm/mediatek/mtk_dpi.c | 757 drivers/gpu/dr

[PATCH v12 10/14] clk: mediatek: make dpi0_sel propagate rate changes

2016-03-01 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 --- Changes since v10: - Add comments about MUX_GATE rate change propagation --- drivers/clk/mediatek/clk-mt8173.c | 6 +- drivers/clk/media

[PATCH v12 14/14] arm64: dts: mt8173-evb: enable HDMI output

2016-03-01 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 v12 12/14] dt-bindings: hdmi-connector: add DDC I2C bus phandle documentation

2016-03-01 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 v12 07/14] drm/mediatek: enable hdmi output control bit

2016-03-01 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 v12 02/14] drm/mediatek: Add DRM Driver for Mediatek SoC MT8173.

2016-03-01 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 v12 03/14] drm/mediatek: Add DSI sub driver

2016-03-01 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 v10: - add mipi dsi host to pass the dsi la

[PATCH v12 06/14] drm/mediatek: Add HDMI support

2016-03-01 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 --- drivers/gpu/drm/mediatek/Kconfig | 7 +

[PATCH v12 08/14] arm64: dts: mt8173: Add display subsystem related nodes

2016-03-01 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 v10: - reordered nodes by address ---

[PATCH v12 13/14] clk: mediatek: remove hdmitx_dig_cts from TOP clocks

2016-03-01 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 v12 11/14] clk: mediatek: Add hdmi_ref HDMI PHY PLL reference clock output

2016-03-01 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

[Bug 94249] Topaz GPU not working correctly

2016-03-01 Thread bugzilla-dae...@freedesktop.org
27;s gdm reditects Xorg.log to systemd journal instead. -- You are receiving 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/20160301/78c986a2/attachment-0001.html>

Alternative binding proposal for tda998x audio (Was: Re: [PATCH RFC v5 4/8] drm/i2c: tda998x: Add support of a DT graph of ports)

2016-03-01 Thread Jean-Francois Moine
On Tue, 1 Mar 2016 16:26:50 +0200 Jyri Sarha wrote: > Ok, here is just one more simple alternative for tda998x audio binding. > I feel that the graph ports binding for audio does not make sense > without a graph based ASoC machine driver implementation. The ASoC > simple-card is already here a

Alternative binding proposal for tda998x audio (Was: Re: [PATCH RFC v5 4/8] drm/i2c: tda998x: Add support of a DT graph of ports)

2016-03-01 Thread Jyri Sarha
On 03/01/16 17:35, Jean-Francois Moine wrote: > On Tue, 1 Mar 2016 16:26:50 +0200 > Jyri Sarha wrote: > >> Ok, here is just one more simple alternative for tda998x audio binding. >> I feel that the graph ports binding for audio does not make sense >> without a graph based ASoC machine driver imple

[GIT PULL] imx-drm vblank IRQ control, fence sync support, and of endpoint helpers

2016-03-01 Thread Philipp Zabel
gs/imx-drm-next-20160301 for you to fetch changes up to 411b0336cf9fc988ff11de3f1e66587fe88fb980: drm/imx: only enable vblank IRQs when needed (2016-03-01 08:33:41 +0100) imx-drm vblank IRQ control, fence support, and of endpoi

Alternative binding proposal for tda998x audio (Was: Re: [PATCH RFC v5 4/8] drm/i2c: tda998x: Add support of a DT graph of ports)

2016-03-01 Thread Jean-Francois Moine
On Tue, 1 Mar 2016 17:51:09 +0200 Jyri Sarha wrote: > I know that it works, I have used it myself until now, but it is not > needed and there is no driver that parses audio port endpoints. I see no > point specifying something in the binding that is not used and there no > specific plan to eve

[PATCH v7 3/7] drm,i915: introduce drm_malloc_gfp()

2016-03-01 Thread Dave Gordon
From: Chris Wilson I have instances where I want to use drm_malloc_ab() but with a custom gfp mask. And with those, where I want a temporary allocation, I want to try a high-order kmalloc() before using a vmalloc(). So refactor my usage into drm_malloc_gfp(). Signed-off-by: Chris Wilson Cc: dr

[PATCH v7 7/7] drm: add parameter-order checking to drm memory allocators

2016-03-01 Thread Dave Gordon
After the recent addition of drm_malloc_gfp(), it was noticed that some callers of these functions has swapped the parameters in the call - it's supposed to be 'number of members' and 'sizeof(element)', but a few callers had got the size first and the count second. This isn't otherwise detected bec

[PATCH] gpu: drm: rcar-du: rcar_du_drv: don't open code of_device_get_match_data()

2016-03-01 Thread Wolfram Sang
From: Wolfram Sang This change will also make Coverity happy by avoiding a theoretical NULL pointer dereference; yet another reason is to use the above helper function to tighten the code and make it more readable. Signed-off-by: Wolfram Sang --- Compile tested only. I am on the road and can't

[Intel-gfx] [PATCH v2 5/6] drm/atomic: Handle encoder assignment conflicts in a separate check.

2016-03-01 Thread Ville Syrjälä
On Wed, Feb 24, 2016 at 09:37:32AM +0100, Maarten Lankhorst wrote: > The current check doesn't handle the case where we don't steal an > encoder, but keep it on the current connector. If we repurpose > disable_conflicting_encoders to do the checking, we just have > to reject the ones that conflict.

[Bug 94354] R9285 Unigine Valley perf regression since radeonsi: use re-Z

2016-03-01 Thread bugzilla-dae...@freedesktop.org
52.0 After FPS: 22.6 Score: 946 Min FPS: 11.7 Max FPS: 47.1 -- You are receiving 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/20160301/

[Intel-gfx] [PATCH v2 5/6] drm/atomic: Handle encoder assignment conflicts in a separate check.

2016-03-01 Thread Maarten Lankhorst
Op 01-03-16 om 18:21 schreef Ville Syrjälä: > On Wed, Feb 24, 2016 at 09:37:32AM +0100, Maarten Lankhorst wrote: >> The current check doesn't handle the case where we don't steal an >> encoder, but keep it on the current connector. If we repurpose >> disable_conflicting_encoders to do the checkin

[Intel-gfx] [PATCH v2 5/6] drm/atomic: Handle encoder assignment conflicts in a separate check.

2016-03-01 Thread Ville Syrjälä
On Tue, Mar 01, 2016 at 06:45:53PM +0100, Maarten Lankhorst wrote: > Op 01-03-16 om 18:21 schreef Ville Syrjälä: > > On Wed, Feb 24, 2016 at 09:37:32AM +0100, Maarten Lankhorst wrote: > >> The current check doesn't handle the case where we don't steal an > >> encoder, but keep it on the current c

[PATCH 0/2] drm/vc4: Fixes for Raspberry Pi 3

2016-03-01 Thread Daniel Stone
Hi, On 1 March 2016 at 01:52, Eric Anholt wrote: > These are for fixing the vc4 driver on the Pi 3. Note that patch 2 > will also be necessary for fixing HPD on the Pi2, which we've been > carrying downstream patches to work around until now. Indeed. Having cherry-picked 80032d2e61 and added AC

Alternative binding proposal for tda998x audio (Was: Re: [PATCH RFC v5 4/8] drm/i2c: tda998x: Add support of a DT graph of ports)

2016-03-01 Thread Jyri Sarha
On 03/01/16 18:16, Jean-Francois Moine wrote: > On Tue, 1 Mar 2016 17:51:09 +0200 > Jyri Sarha wrote: > >> I know that it works, I have used it myself until now, but it is not >> needed and there is no driver that parses audio port endpoints. I see no >> point specifying something in the binding t

[PATCH v12 10/14] clk: mediatek: make dpi0_sel propagate rate changes

2016-03-01 Thread Stephen Boyd
On 03/01, Philipp Zabel wrote: > 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 -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a L

Alternative binding proposal for tda998x audio (Was: Re: [PATCH RFC v5 4/8] drm/i2c: tda998x: Add support of a DT graph of ports)

2016-03-01 Thread Jean-Francois Moine
On Tue, 1 Mar 2016 20:29:17 +0200 Jyri Sarha wrote: > I understand the short comings of simple-card and it's binding. However, > the binding is documented and it is feasible to extract the audio > connections from a simple-card binding too. In fact it models the I2S > connections better than s

[PATCH 1/2] drm/amdgpu: Fix error handling in amdgpu_flip_work_func.

2016-03-01 Thread Mario Kleiner
The patch e1d09dc0ccc6: "drm/amdgpu: Don't hang in amdgpu_flip_work_func on disabled crtc." from Feb 19, 2016, leads to the following static checker warning, as reported by Dan Carpenter in https://lists.freedesktop.org/archives/dri-devel/2016-February/101987.html drivers/gpu/drm/amd/amdgpu/amdgpu

[PATCH 2/2] drm/radeon: Fix error handling in radeon_flip_work_func.

2016-03-01 Thread Mario Kleiner
This is a port of the patch "drm/amdgpu: Fix error handling in amdgpu_flip_work_func." to fix the following problem for radeon as well which was reported against amdgpu: The patch e1d09dc0ccc6: "drm/amdgpu: Don't hang in amdgpu_flip_work_func on disabled crtc." from Feb 19, 2016, leads to the fol

drm/amdgpu: Don't hang in amdgpu_flip_work_func on disabled crtc.

2016-03-01 Thread Mario Kleiner
On 02/29/2016 09:10 PM, Dan Carpenter wrote: > Hello Mario Kleiner, > > The patch e1d09dc0ccc6: "drm/amdgpu: Don't hang in > amdgpu_flip_work_func on disabled crtc." from Feb 19, 2016, leads to > the following static checker warning: > > drivers/gpu/drm/amd/amdgpu/amdgpu_display.c:127 amdgpu_flip_w

[PATCH] drm: rcar-du: clarify vsp dependency

2016-03-01 Thread Laurent Pinchart
Hi Arnd, Thank you for the patch. On Friday 26 February 2016 12:52:20 Arnd Bergmann wrote: > The VSP1 compositor code in DRM links against the respective V4L > driver, but the dependency is not expressed correctly in Kconfig, > which leads to a build error when the DRM driver is built-in > and th

[PATCH] drm/panel: simple: fix g121x1_l03 hsync/vsync polarity

2016-03-01 Thread Akshay Bhat
Set hsync/vsync to active low for g121x1_l03 panel to match the recommended setting in datasheet. Signed-off-by: Akshay Bhat --- drivers/gpu/drm/panel/panel-simple.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c i

[PATCH 4.4 193/342] drm/nouveau/display: Enable vblank irqs after display engine is on again.

2016-03-01 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Mario Kleiner commit ff683df7bf34f90766a50c7e7454e219aef2710e upstream. In the display resume path, move the calls to drm_vblank_on() after the point when the display engine is running again.

[PATCH 4.4 232/342] drm: Fix treatment of drm_vblank_offdelay in drm_vblank_on() (v2)

2016-03-01 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Mario Kleiner commit bb74fc1bf3072bd3ab4ed5f43afd287a63baf2d7 upstream. drm_vblank_offdelay can have three different types of values: < 0 is to be always treated the same as dev->vblank_disabl

[PATCH 4.4 231/342] drm: Fix drm_vblank_pre/post_modeset regression from Linux 4.4

2016-03-01 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Mario Kleiner commit c61934ed9a0e3911a9935df26858726a7ec35ec0 upstream. Changes to drm_update_vblank_count() in Linux 4.4 broke the behaviour of the pre/post modeset functions as the new update

[PATCH 4.4 230/342] drm: Prevent vblank counter bumps > 1 with active vblank clients. (v2)

2016-03-01 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Mario Kleiner commit 99b8e71597fadd6b2ac85e6e10f221f79dd9c1c1 upstream. This fixes a regression introduced by the new drm_update_vblank_count() implementation in Linux 4.4: Restrict the bump o

[PATCH] drm/ast: Fix incorrect register check for DRAM width

2016-03-01 Thread Timothy Pearson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/26/2016 03:29 PM, Timothy Pearson wrote: > During DRAM initialization on certain ASpeed devices, an incorrect > bit (bit 10) was checked in the "SDRAM Bus Width Status" register > to determine DRAM width. > > Query bit 6 instead in accordance wi