[PATCH v16 03/12] drm: imx: imx-hdmi: convert imx-hdmi to drm_bridge mode

2014-12-03 Thread Russell King - ARM Linux
On Thu, Dec 04, 2014 at 12:56:24AM +0800, Andy Yan wrote: > Hi Russell: > On 2014年12月04日 00:33, Russell King - ARM Linux wrote: > >On Thu, Dec 04, 2014 at 12:30:23AM +0800, Andy Yan wrote: > >>On 2014年12月04日 00:11, Russell King - ARM Linux wrote: > >>>I meant that imx_hdmi_bind should b

[PATCH v16 12/12] drm: bridge/dw_hdmi: add rockchip rk3288 support

2014-12-03 Thread Andy Yan
Rockchip RK3288 hdmi is compatible with dw_hdmi this patch is depend on patch by Mark Yao see https://lkml.org/lkml/2014/12/2/161 drm: rockchip: Add basic drm driver Signed-off-by: Andy Yan --- Changes in v16: None Changes in v15: - remove THIS_MODULE in platform driver Changes in v14: None C

[PATCH v16 11/12] dt-bindings: Add documentation for rockchip dw hdmi

2014-12-03 Thread Andy Yan
Signed-off-by: Andy Yan --- Changes in v16: - modify clocks bindings - descrbie ddc-i2c-bus as optional Changes in v15: None Changes in v14: None Changes in v13: None Changes in v12: None Changes in v11: None Changes in v10: None Changes in v9: None Changes in v8: - Add documentation for rockch

[PATCH v16 10/12] drm: bridge/dw_hdmi: add function dw_hdmi_phy_enable_spare

2014-12-03 Thread Andy Yan
RK3288 HDMI will not work without the spare bit of HDMI_PHY_CONF0 enable Signed-off-by: Andy Yan --- Changes in v16: None Changes in v15: None Changes in v14: None Changes in v13: None Changes in v12: None Changes in v11: None Changes in v10: None Changes in v9: None Changes in v8: None Changes

[PATCH v16 09/12] drm: bridge/dw_hdmi: clear i2cmphy_stat0 reg in hdmi_phy_wait_i2c_done

2014-12-03 Thread Andy Yan
HDMI_IH_I2CMPHY_STAT0 is a clear on write register, which indicates i2cm operation status(i2c transfer done or error), every hdmi phy register configuration must check this register to make sure the configuration has complete. But the indication bit should be cleared after check, otherwise the corr

[PATCH v16 08/12] drm: bridge/dw_hdmi: add mode_valid support

2014-12-03 Thread Andy Yan
some platform may not support all the display mode, add mode_valid interface check it Signed-off-by: Andy Yan --- Changes in v16: None Changes in v15: None Changes in v14: - remove drm_connector_register, because imx-drm core has registered connector Changes in v13: None Changes in v12: None C

[PATCH v16 07/12] drm: bridge/dw_hdmi: add support for multi-byte register width access

2014-12-03 Thread Andy Yan
On rockchip rk3288, only word(32-bit) accesses are permitted for hdmi registers. Byte width accesses (writeb, readb) generate an imprecise external abort. Signed-off-by: Andy Yan --- Changes in v16: None Changes in v15: - remove unio of the multi-byte register access, adviced by Philipp Zabel

[PATCH v16 06/12] dt-bindings: add document for dw_hdmi

2014-12-03 Thread Andy Yan
Signed-off-by: Andy Yan --- Changes in v16: - describe ddc-i2c-bus as optional - add common clocks bindings Changes in v15: None Changes in v14: None Changes in v13: None Changes in v12: None Changes in v11: None Changes in v10: None Changes in v9: None Changes in v8: - correct some spelling mi

[PATCH v16 05/12] drm: imx: imx-hdmi: move imx-hdmi to bridge/dw_hdmi

2014-12-03 Thread Andy Yan
the original imx hdmi driver is under drm/imx/, which depends on imx-drm, so move the imx hdmi driver out to drm/bridge and rename it to dw_hdmi Signed-off-by: Andy Yan --- Changes in v16: None Changes in v15: - add prefix dw_hdmi/DW_HDMI for public used dw_hdmi structs adviced by Philipp Zab

[PATCH 2/2] drm: Add Content Protection Desired property to drm

2014-12-03 Thread Ville Syrjälä
On Wed, Dec 03, 2014 at 11:57:41AM -0800, Sean Paul wrote: > Add a new standard connector property to track whether content protection > (ex: hdcp) is desired by userspace. While there are 3 possible states for the > property, userspace should only change the value to desired or undesired. > Upon s

[PATCH v16 04/12] drm: imx: imx-hdmi: split phy configuration to platform driver

2014-12-03 Thread Andy Yan
hdmi phy configuration is platform specific, which can be adusted according to the board to get the best SI Signed-off-by: Andy Yan --- Changes in v16: None Changes in v15: None Changes in v14: None Changes in v13: - split phy configuration from patch#4 Changes in v12: None Changes in v11: Non

[PATCH v16 03/12] drm: imx: imx-hdmi: convert imx-hdmi to drm_bridge mode

2014-12-03 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 differences, such as phy pll configuration, register width, 4K support, clk useage, and the crtc mux configuration is also platform specific. To reuse the imx

[PATCH v16 02/12] drm: imx: imx-hdmi: return defer if can't get ddc i2c adapter

2014-12-03 Thread Andy Yan
drm driver may probe before the i2c bus, so the driver should defer probing until it is available Signed-off-by: Andy Yan Reviewed-by: Daniel Kurtz --- Changes in v16: None Changes in v15: None Changes in v14: None Changes in v13: None Changes in v12: - refactor of_node_put(ddc_node) Changes

[PATCH v16 01/12] drm: imx: imx-hdmi: make checkpatch happy

2014-12-03 Thread Andy Yan
CHECK: Alignment should match open parenthesis + if ((hdmi->vic == 10) || (hdmi->vic == 11) || + (hdmi->vic == 12) || (hdmi->vic == 13) || CHECK: braces {} should be used on all arms of this statement + if (hdmi->hdmi_data.video_mode.mdvi) [...] + else { [...] Sign

[PATCH v16 0/12] dw-hdmi: convert imx hdmi to bridge/dw_hdmi

2014-12-03 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 differences, such as phy pll configuration, register width(imx hdmi register is one byte, but rk3288 is 4 bytes width and can only be access

[Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst

2014-12-03 Thread bugzilla-dae...@freedesktop.org
: <http://lists.freedesktop.org/archives/dri-devel/attachments/20141203/bc9be115/attachment.html>

[Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst

2014-12-03 Thread bugzilla-dae...@freedesktop.org
-- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20141203/99763114/attachment.html>

[Bug 85491] radeon 0000:01:00.0: Fatal error during GPU init

2014-12-03 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=85491 Bjorn Helgaas changed: What|Removed |Added CC||yinghai at kernel.org Component|

[PATCH v15 12/12] drm: bridge/dw_hdmi: add rockchip rk3288 support

2014-12-03 Thread Andy Yan
Hi Philipp: On 2014年12月03日 21:09, Philipp Zabel wrote: > Hi Andy, > > Am Mittwoch, den 03.12.2014, 20:32 +0800 schrieb Andy Yan: >>> My question is not about the available gates at the SoC level, but about >>> the actual clock inputs from point of view of the HDMI TX IP. >>> >>> It could be t

[PATCH v15 12/12] drm: bridge/dw_hdmi: add rockchip rk3288 support

2014-12-03 Thread Andy Yan
Hi Philipp: On 2014年12月02日 21:00, Philipp Zabel wrote: > Hi Andy, > > Am Dienstag, den 02.12.2014, 20:34 +0800 schrieb Andy Yan: >> Hi Philipp: >> On 2014年12月02日 18:24, Philipp Zabel wrote: >>> Hi Andy, >>> >>> Am Dienstag, den 02.12.2014, 15:45 +0800 schrieb Andy Yan: >>> [...] +s

[PATCH v15 06/12] dt-bindings: add document for dw_hdmi

2014-12-03 Thread Andy Yan
On 2014年12月03日 19:52, Philipp Zabel wrote: > Am Mittwoch, den 03.12.2014, 17:46 +0800 schrieb Andy Yan: >> On 2014年12月03日 02:23, Philipp Zabel wrote: >>> Hi Andy, >>> >>> Am Dienstag, den 02.12.2014, 15:42 +0800 schrieb Andy Yan: diff --git a/Documentation/devicetree/bindings/drm/

linux-next: manual merge of the drm tree with the drm-intel-fixes tree

2014-12-03 Thread Stephen Rothwell
--- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20141203/e56a4691/attachment.sig>

[PATCH 1/2] drm/ttm: optionally move duplicates to a separate list

2014-12-03 Thread Thomas Hellstrom
LTGM Reviewed-by: Thomas Hellstrom On 12/03/2014 03:46 PM, Christian König wrote: > From: Christian König > > This patch adds an optional list_head parameter to ttm_eu_reserve_buffers. > If specified duplicates in the execbuf list are no longer reported as errors, > but moved to this list ins

[Bug 86038] [radeonsi] Dreamfall Chapters: heavy visual corruption, large parts of the screen are black in some scenes

2014-12-03 Thread bugzilla-dae...@freedesktop.org
achment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20141203/5b9e7eb5/attachment.html>

[PATCH 2/2] drm/msm/hdmi: add hdmi hdcp support

2014-12-03 Thread jil...@codeaurora.org
> On Wed, Dec 3, 2014 at 9:16 AM, wrote: > [..] > + enum hdmi_hdcp_state hdcp_state; > + struct mutex state_mutex; > + struct delayed_work hdcp_reauth_work; > + struct delayed_work hdcp_auth_part1_1_work; > + struct delayed_work hdcp_auth_part1_2_

[PATCH v15 06/12] dt-bindings: add document for dw_hdmi

2014-12-03 Thread Andy Yan
On 2014年12月03日 02:23, Philipp Zabel wrote: > Hi Andy, > > Am Dienstag, den 02.12.2014, 15:42 +0800 schrieb Andy Yan: >> diff --git a/Documentation/devicetree/bindings/drm/bridge/dw_hdmi.txt >> b/Documentation/devicetree/bindings/drm/bridge/dw_hdmi.txt >> new file mode 100644 >> index 00

[PATCH v15 06/12] dt-bindings: add document for dw_hdmi

2014-12-03 Thread Andy Yan
Hi Philipp: On 2014年12月03日 17:19, Philipp Zabel wrote: > Hi Andy, > > Am Mittwoch, den 03.12.2014, 08:54 +0800 schrieb Andy Yan: +Required properities: +- compatible: platform specific such as: + * "fsl,imx6q-hdmi" + * "fsl,imx6dl-hdmi" + * "rockchip,rk3288-dw-h

[PATCH v16 03/12] drm: imx: imx-hdmi: convert imx-hdmi to drm_bridge mode

2014-12-03 Thread Philipp Zabel
Hi Andy, Am Donnerstag, den 04.12.2014, 00:04 +0800 schrieb Andy Yan: > On 2014年12月03日 23:38, Russell King - ARM Linux wrote: > > On Wed, Dec 03, 2014 at 11:29:26PM +0800, Andy Yan wrote: > >> +int imx_hdmi_bind(struct device *dev, struct device *master, > >> +void *data, struct

[PATCH 2/2] drm/msm/hdmi: add hdmi hdcp support

2014-12-03 Thread jil...@codeaurora.org
Hi Bjorn, > On Tue, Dec 2, 2014 at 8:46 PM, Bjorn Andersson wrote: >> On Mon, Dec 1, 2014 at 1:56 PM, Jilai Wang >> wrote: >>> Add HDMI HDCP support including HDCP PartI/II/III authentication. >>> >>> Signed-off-by: Jilai Wang >>> --- >> >> Hi Jilai, >> >> [..] >> >>> diff --git a/drivers/gpu/d

[PATCH] drm/edid: Restore kerneldoc consistency

2014-12-03 Thread Daniel Vetter
On Wed, Dec 03, 2014 at 04:52:18PM +0100, Thierry Reding wrote: > From: Thierry Reding > > Commit 18df89fef2d5 ("drm: Decouple EDID parsing from I2C adapter") > renamed the adapter parameter of the drm_do_probe_ddc_edid function > to data but didn't update the kerneldoc accordingly. > > Signed-o

[PATCH] drm/radeon: check the right ring in radeon_evict_flags()

2014-12-03 Thread Christian König
Am 03.12.2014 um 17:09 schrieb Alex Deucher: > Check the that ring we are using for copies is functional > rather than the GFX ring. On newer asics we use the DMA > ring for bo moves. > > Signed-off-by: Alex Deucher Reviewed-by: Christian König > Cc: stable at vger.kernel.org > --- > driver

[PATCH] drm/edid: Restore kerneldoc consistency

2014-12-03 Thread Thierry Reding
From: Thierry Reding Commit 18df89fef2d5 ("drm: Decouple EDID parsing from I2C adapter") renamed the adapter parameter of the drm_do_probe_ddc_edid function to data but didn't update the kerneldoc accordingly. Signed-off-by: Thierry Reding --- drivers/gpu/drm/drm_edid.c | 2 +- 1 file changed,

[PATCH] drm/radeon: Ignore RADEON_GEM_GTT_WC on 32-bit x86

2014-12-03 Thread Michel Dänzer
On 03.12.2014 08:28, Dave Airlie wrote: > On 1 December 2014 at 14:02, Alex Deucher wrote: >> On Thu, Nov 27, 2014 at 4:00 AM, Michel Dänzer >> wrote: >>> From: Michel Dänzer >>> >>> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=84627 >>> Signed-off-by: Michel Dänzer >> >> Applied

[PATCH v16 03/12] drm: imx: imx-hdmi: convert imx-hdmi to drm_bridge mode

2014-12-03 Thread Russell King - ARM Linux
On Thu, Dec 04, 2014 at 12:30:23AM +0800, Andy Yan wrote: > > On 2014年12月04日 00:11, Russell King - ARM Linux wrote: > >I meant that imx_hdmi_bind should be passed these, so that it needs to > >know nothing about the struct device beyond the generic device structure. > >In other words, the dw

[PATCH v16 03/12] drm: imx: imx-hdmi: convert imx-hdmi to drm_bridge mode

2014-12-03 Thread Russell King - ARM Linux
On Wed, Dec 03, 2014 at 05:20:15PM +0100, Philipp Zabel wrote: > Hi Andy, > > It would be better if the bind function would not have to care about > platform resources, that should be handled in the probe function. I had > a patch to move them: > > http://lists.freedesktop.org/archives/dri-devel/

[PATCH v16 03/12] drm: imx: imx-hdmi: convert imx-hdmi to drm_bridge mode

2014-12-03 Thread Russell King - ARM Linux
On Thu, Dec 04, 2014 at 12:04:37AM +0800, Andy Yan wrote: > Hi Russell: > > On 2014年12月03日 23:38, Russell King - ARM Linux wrote: > >On Wed, Dec 03, 2014 at 11:29:26PM +0800, Andy Yan wrote: > >>+int imx_hdmi_bind(struct device *dev, struct device *master, > >>+ void *data, struc

[PATCH v16 05/12] drm: imx: imx-hdmi: move imx-hdmi to bridge/dw_hdmi

2014-12-03 Thread Russell King - ARM Linux
On Thu, Dec 04, 2014 at 12:01:25AM +0800, Andy Yan wrote: > Hi Russell: > Do you mean I just neet to do like bellow? > > + > +config DRM_DW_HDMI > + bool > + depends on DRM > + select DRM_KMS_HELPER Yep. -- FTTC broadband for 0.8mile line: currently at 9.5Mbps down 400kbps up acco

[PATCH] drm/radeon: use pointers instead of indexes for CS chunks

2014-12-03 Thread Christian König
From: Christian König Nobody is interested at which index the chunk is. What's needed is a pointer to the chunk. Remove unused chunk_id field as well. Signed-off-by: Christian König --- drivers/gpu/drm/radeon/evergreen_cs.c | 6 ++-- drivers/gpu/drm/radeon/r100.c | 2 +- drivers/gp

[PATCH 2/2] drm/radeon: remove duplicates check

2014-12-03 Thread Christian König
From: Christian König Completely unnecessary since the ww_mutex used to reserve a buffer can detect double reservations from the same thread anyway. Signed-off-by: Christian König --- drivers/gpu/drm/radeon/r600_cs.c | 2 +- drivers/gpu/drm/radeon/radeon.h| 1 - drivers/gpu/d

[PATCH 1/2] drm/ttm: optionally move duplicates to a separate list

2014-12-03 Thread Christian König
From: Christian König This patch adds an optional list_head parameter to ttm_eu_reserve_buffers. If specified duplicates in the execbuf list are no longer reported as errors, but moved to this list instead. Signed-off-by: Christian König --- drivers/gpu/drm/qxl/qxl_release.c| 3 ++-

[PATCH v16 05/12] drm: imx: imx-hdmi: move imx-hdmi to bridge/dw_hdmi

2014-12-03 Thread Russell King - ARM Linux
On Wed, Dec 03, 2014 at 11:32:12PM +0800, Andy Yan wrote: > diff --git a/drivers/gpu/drm/bridge/Kconfig b/drivers/gpu/drm/bridge/Kconfig > index 884923f..26162ef 100644 > --- a/drivers/gpu/drm/bridge/Kconfig > +++ b/drivers/gpu/drm/bridge/Kconfig > @@ -3,3 +3,8 @@ config DRM_PTN3460 > depends

[PATCH v16 03/12] drm: imx: imx-hdmi: convert imx-hdmi to drm_bridge mode

2014-12-03 Thread Russell King - ARM Linux
On Wed, Dec 03, 2014 at 11:29:26PM +0800, Andy Yan wrote: > +int imx_hdmi_bind(struct device *dev, struct device *master, > + void *data, struct drm_encoder *encoder, > + const struct imx_hdmi_plat_data *plat_data) > { > struct platform_device *pdev = to_platform_

[RFC] drm: store property instead of id in obj attachment

2014-12-03 Thread Daniel Vetter
On Tue, Dec 02, 2014 at 02:09:41PM -0500, Rob Clark wrote: > On Tue, Dec 2, 2014 at 1:47 PM, Sean Paul wrote: > > On Wed, Nov 26, 2014 at 4:19 PM, Rob Clark wrote: > >> Keep property pointer, instead of id, in per mode-object attachments. > >> This will simplify things in later patches. > >> > >>

[PATCH 1/2] drm/ttm: optionally move duplicates to a separate list

2014-12-03 Thread Alex Deucher
On Wed, Dec 3, 2014 at 9:46 AM, Christian König wrote: > From: Christian König > > This patch adds an optional list_head parameter to ttm_eu_reserve_buffers. > If specified duplicates in the execbuf list are no longer reported as errors, > but moved to this list instead. > > Signed-off-by: Chr

[PATCH] drm/radeon: use pointers instead of indexes for CS chunks

2014-12-03 Thread Alex Deucher
On Wed, Dec 3, 2014 at 9:53 AM, Christian König wrote: > From: Christian König > > Nobody is interested at which index the chunk is. What's needed is > a pointer to the chunk. Remove unused chunk_id field as well. > > Signed-off-by: Christian König Applied to my -next tree. Thanks, Alex

[PATCH v15 12/12] drm: bridge/dw_hdmi: add rockchip rk3288 support

2014-12-03 Thread Philipp Zabel
Hi Andy, Am Mittwoch, den 03.12.2014, 20:32 +0800 schrieb Andy Yan: > > My question is not about the available gates at the SoC level, but about > > the actual clock inputs from point of view of the HDMI TX IP. > > > > It could be that the hdmi_ctrl_clk gates all inputs to the module and > > bus c

linux-next: manual merge of the drm-misc tree with the drm tree

2014-12-03 Thread Stephen Rothwell
- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20141203/220f5c6b/attachment.sig>

linux-next: manual merge of the drm tree with the drm-intel-fixes tree

2014-12-03 Thread Stephen Rothwell
was scrubbed... Name: not available Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20141203/74994fc4/attachment.sig>

tile property contents

2014-12-03 Thread Dave Airlie
On 3 December 2014 at 10:01, Aaron Plattner wrote: > On 10/13/2014 08:23 PM, Dave Airlie wrote: >> >> Hi, >> >> So I've been hacking on mutter and the gnome pieces for tiling, and >> I've at least fixed mutter locally so maximise windows works and the >> heads are in the right order. >> >> Now I'v

[PATCH v15 06/12] dt-bindings: add document for dw_hdmi

2014-12-03 Thread Philipp Zabel
Am Mittwoch, den 03.12.2014, 17:46 +0800 schrieb Andy Yan: > On 2014年12月03日 02:23, Philipp Zabel wrote: > > Hi Andy, > > > > Am Dienstag, den 02.12.2014, 15:42 +0800 schrieb Andy Yan: > >> diff --git a/Documentation/devicetree/bindings/drm/bridge/dw_hdmi.txt > >> b/Documentation/devicetree/b

[PATCH 2/2] drm/msm/hdmi: add hdmi hdcp support

2014-12-03 Thread Rob Clark
On Wed, Dec 3, 2014 at 12:16 PM, wrote: + enum hdmi_hdcp_state hdcp_state; + struct mutex state_mutex; + struct delayed_work hdcp_reauth_work; + struct delayed_work hdcp_auth_part1_1_work; + struct delayed_work hdcp_auth_part1_2_work; +

[Bug 86969] _drm_intel_gem_bo_references() function takes half the CPU with Witcher2 game

2014-12-03 Thread bugzilla-dae...@freedesktop.org
: <http://lists.freedesktop.org/archives/dri-devel/attachments/20141203/fda35866/attachment.html>

[PATCH] drm/dp: add drm_dp_link_power_down() helper

2014-12-03 Thread Jani Nikula
On Tue, 02 Dec 2014, Rob Clark wrote: > We had _power_up(), but drivers also need to be able to power down. Patch looks good, I'm just hijacking the thread to talk about the _power_up() counterpart. Sorry. ;) First, I'm not sure it's all right or sensible to read DP_SET_POWER first when the sink

[PATCH 2/2] drm: Add Content Protection Desired property to drm

2014-12-03 Thread Sean Paul
Add a new standard connector property to track whether content protection (ex: hdcp) is desired by userspace. While there are 3 possible states for the property, userspace should only change the value to desired or undesired. Upon setting the value to desired, the driver is responsible for protecti

[PATCH 1/2] drm/Documentation: Fix rowspan value in drm-kms-properties

2014-12-03 Thread Sean Paul
The "DRM" rowspan wasn't updated in commit cc7096fb6d1d (drm/mode: document path property and function to set it. (v1.1)), so increment it by one to fix the table. Cc: Dave Airlie Signed-off-by: Sean Paul --- Documentation/DocBook/drm.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[Bug 86969] _drm_intel_gem_bo_references() function takes half the CPU with Witcher2 game

2014-12-03 Thread bugzilla-dae...@freedesktop.org
are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20141203/6e06e737/attachment.html>

[PATCH 2/2] drm/msm/hdmi: add hdmi hdcp support

2014-12-03 Thread Rob Clark
On Mon, Dec 1, 2014 at 4:56 PM, Jilai Wang wrote: > + /* Enable HDCP Encryption */ > + hdmi_write(hdmi, REG_HDMI_HDCP_CTRL, BIT(0) | BIT(8)); btw, as Bjron mentioned, there are a lot of these open coded BIT(n).. but from a quick check, the first two or three I looked a

[PATCH 2/2] drm/msm/hdmi: add hdmi hdcp support

2014-12-03 Thread Rob Clark
On Tue, Dec 2, 2014 at 8:46 PM, Bjorn Andersson wrote: > On Mon, Dec 1, 2014 at 1:56 PM, Jilai Wang wrote: >> Add HDMI HDCP support including HDCP PartI/II/III authentication. >> >> Signed-off-by: Jilai Wang >> --- > > Hi Jilai, > > [..] > >> diff --git a/drivers/gpu/drm/msm/hdmi/hdmi.c >> b/dr

[Bug 86969] _drm_intel_gem_bo_references() function takes half the CPU with Witcher2 game

2014-12-03 Thread bugzilla-dae...@freedesktop.org
e973 brw_map_buffer_range() at intel_buffer_objects.c:390 0xf60754b6 _mesa_MapBufferRange() at bufferobj.c:2178 -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20141203/4fcfc22d/attachment-0001.html>

[PATCH] drm/radeon: check the right ring in radeon_evict_flags()

2014-12-03 Thread Alex Deucher
Check the that ring we are using for copies is functional rather than the GFX ring. On newer asics we use the DMA ring for bo moves. Signed-off-by: Alex Deucher Cc: stable at vger.kernel.org --- drivers/gpu/drm/radeon/radeon_ttm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --gi

[PATCH 1/3] drm/vmwgfx: Don't use memory accounting for kernel-side fence objects

2014-12-03 Thread Dave Airlie
On 2 December 2014 at 21:59, Thomas Hellstrom wrote: > Kernel side fence objects are used when unbinding resources and may thus be > created as part of a memory reclaim operation. This might trigger recursive > memory reclaims and result in the kernel running out of stack space. > > So a simple wa

[PATCH] drm / exynos / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM

2014-12-03 Thread Jingoo Han
On Wednesday, December 03, 2014 10:54 AM, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > After commit b2b49ccbdd54 (PM: Kconfig: Set PM_RUNTIME if PM_SLEEP is > selected) PM_RUNTIME is always set if PM is set, so #ifdef blocks > depending on CONFIG_PM_RUNTIME may now be changed to depe

linux-next: manual merge of the drm tree with the drm-intel-fixes tree

2014-12-03 Thread Jani Nikula
On Wed, 03 Dec 2014, Stephen Rothwell wrote: > Hi Dave, > > Today's linux-next merge of the drm tree got a conflict in > drivers/gpu/drm/i915/intel_display.c between commit b68362278af9 > ("drm/i915: More cautious with pch fifo underruns") from the > drm-intel-fixes tree and commit a72e4c9f9a11 ("

[PATCH v15 06/12] dt-bindings: add document for dw_hdmi

2014-12-03 Thread Philipp Zabel
Hi Andy, Am Mittwoch, den 03.12.2014, 08:54 +0800 schrieb Andy Yan: > >> +Required properities: > >> +- compatible: platform specific such as: > >> + * "fsl,imx6q-hdmi" > >> + * "fsl,imx6dl-hdmi" > >> + * "rockchip,rk3288-dw-hdmi" > > I think we should add a common compatible value "snps,dw-

[PATCH] amdkfd: use atomic allocations within srcu callbacks

2014-12-03 Thread Sasha Levin
srcu callbacks are running in atomic context, we can't allocate using __GFP_WAIT. Signed-off-by: Sasha Levin --- drivers/gpu/drm/amd/amdkfd/kfd_process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_process.c b/drivers/gpu/drm/amd/amdkfd/kfd

[PATCH 2/2] drm/msm/hdmi: add hdmi hdcp support

2014-12-03 Thread Bjorn Andersson
On Wed, Dec 3, 2014 at 9:16 AM, wrote: [..] + enum hdmi_hdcp_state hdcp_state; + struct mutex state_mutex; + struct delayed_work hdcp_reauth_work; + struct delayed_work hdcp_auth_part1_1_work; + struct delayed_work hdcp_auth_part1_2_work; >>>

[PATCH] drm/radeon: Ignore RADEON_GEM_GTT_WC on 32-bit x86

2014-12-03 Thread Dave Airlie
On 1 December 2014 at 14:02, Alex Deucher wrote: > On Thu, Nov 27, 2014 at 4:00 AM, Michel Dänzer wrote: >> From: Michel Dänzer >> >> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=84627 >> Signed-off-by: Michel Dänzer > > Applied to my -fixes tree. Btw while I'm okay to merge this

[PATCH] amdkfd: use sizeof(long) granularity for the pasid bitmask

2014-12-03 Thread Sasha Levin
All the bit operations (such as find_first_zero_bit()) read sizeof(long) bytes at a time. If we allocated less than sizeof(long) bytes for the bitmask we would be accessing invalid memory when working with the bitmask. Change the allocator to allocate sizeof(long) multiples for the bitmask. Signe

[PATCH v15 06/12] dt-bindings: add document for dw_hdmi

2014-12-03 Thread Andy Yan
Hi Philipp: On 2014年12月03日 02:23, Philipp Zabel wrote: > Hi Andy, > > Am Dienstag, den 02.12.2014, 15:42 +0800 schrieb Andy Yan: >> diff --git a/Documentation/devicetree/bindings/drm/bridge/dw_hdmi.txt >> b/Documentation/devicetree/bindings/drm/bridge/dw_hdmi.txt >> new file mode 100644 >> i

[jbarnes:upstream-sync-points 2/2] drivers/gpu/drm/i915/i915_sync.c:43:12: sparse: symbol 'fence_lock' was not declared. Should it be static?

2014-12-03 Thread kbuild test robot
tree: git://people.freedesktop.org/~jbarnes/linux upstream-sync-points head: 97b242f63adaf11c3edf16b0282243cc4274eac8 commit: 97b242f63adaf11c3edf16b0282243cc4274eac8 [2/2] drm/i915: Android sync points for i915 v3 reproduce: # apt-get install sparse git checkout 97b242f63adaf11c3edf16b028

[PATCH jbarnes] drm/i915: fence_lock can be static

2014-12-03 Thread kbuild test robot
drivers/gpu/drm/i915/i915_sync.c:43:12: sparse: symbol 'fence_lock' was not declared. Should it be static? Signed-off-by: Fengguang Wu --- i915_sync.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/i915_sync.c b/drivers/gpu/drm/i915/i915_sync.c index

tile property contents

2014-12-03 Thread Aaron Plattner
On 12/02/2014 07:04 PM, Dave Airlie wrote: > On 3 December 2014 at 10:01, Aaron Plattner wrote: >> On 10/13/2014 08:23 PM, Dave Airlie wrote: >>> >>> Hi, >>> >>> So I've been hacking on mutter and the gnome pieces for tiling, and >>> I've at least fixed mutter locally so maximise windows works and

[PATCH 1/3] drm/vmwgfx: Don't use memory accounting for kernel-side fence objects

2014-12-03 Thread Thomas Hellstrom
On 12/03/2014 02:06 AM, Dave Airlie wrote: > On 2 December 2014 at 21:59, Thomas Hellstrom > wrote: >> Kernel side fence objects are used when unbinding resources and may thus be >> created as part of a memory reclaim operation. This might trigger recursive >> memory reclaims and result in the ke

[PATCH] drm/gm204/i2c: fix semicolon.cocci warnings

2014-12-03 Thread kbuild test robot
drivers/gpu/drm/nouveau/core/subdev/i2c/padgm204.c:74:26-27: Unneeded semicolon Removes unneeded semicolon. Generated by: scripts/coccinelle/misc/semicolon.cocci Signed-off-by: Fengguang Wu --- padgm204.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/gpu/drm/nouvea

[Bug 86832] [dota2][si] freezes up to 3 seconds when many/big display effects happen

2014-12-03 Thread bugzilla-dae...@freedesktop.org
t was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20141203/3e7bf6d6/attachment.html>

[PATCH] drm / exynos / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM

2014-12-03 Thread Rafael J. Wysocki
From: Rafael J. Wysocki After commit b2b49ccbdd54 (PM: Kconfig: Set PM_RUNTIME if PM_SLEEP is selected) PM_RUNTIME is always set if PM is set, so #ifdef blocks depending on CONFIG_PM_RUNTIME may now be changed to depend on CONFIG_PM. Replace CONFIG_PM_RUNTIME with CONFIG_PM in 4 files under gpu/

[git pull] drm radeon + nouveau fixes

2014-12-03 Thread Dave Airlie
Hi, so nouveau had a few regression introduced, Ben and Maarten finally tracked down the one that was causing problems on my MacBookPro, also nvidia gave some info on the an engine we were using incorrectly, so disable our use of it, and one regresion with pci hotplug affecting optimus users. ra

[PULL] vmwgfx-next

2014-12-03 Thread Thomas Hellstrom
Dave, A number of bug fixes. The following changes since commit 4fcd01d0f34645710ac92d5523e26019428b0806: drm: rcar-du: Fix NULL encoder pointer dereference (2014-12-03 08:28:48 +1000) are available in the git repository at: git://people.freedesktop.org/~thomash/linux for you to fetch ch