[PATCHv3 3/3] drm: bridge: anx78xx: Add anx78xx driver support by analogix.

2015-09-22 Thread Dan Carpenter
On Thu, Sep 10, 2015 at 06:35:52PM +0200, Enric Balletbo i Serra wrote: > diff --git a/drivers/gpu/drm/bridge/anx78xx/anx78xx.h > b/drivers/gpu/drm/bridge/anx78xx/anx78xx.h > new file mode 100644 > index 000..4f6dd1d > --- /dev/null > +++ b/drivers/gpu/drm/bridge/anx78xx/anx78xx.h > @@ -0,0 +1

[Bug 92082] Build on Solaris: xf86drm.c:3021: error: 'PATH_MAX' undeclared (first use in this function)

2015-09-22 Thread bugzilla-dae...@freedesktop.org
u are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150922/795c17bb/attachment.html>

WARNING: CPU: 4 PID: 863 at include/drm/drm_crtc.h:1577 drm_helper_choose_encoder_dpms+0x88/0x90()

2015-09-22 Thread Borislav Petkov
Hi Alex, On Tue, Sep 22, 2015 at 03:58:03PM -0400, Alex Deucher wrote: > What system is this? my workstation - an "To be filled by O.E.M. To be filled by O.E.M./M5A97 EVO R2.0, BIOS 1503 01/16/2013" you gotta love the "To be filled" crap. In any case, it is an ASUS M5A97 EVO R2.0. RD890 chip A

[regression] [git pull] drm for 4.3

2015-09-22 Thread Dave Jones
On Tue, Sep 22, 2015 at 09:15:58AM -0700, Matt Roper wrote: > On Tue, Sep 22, 2015 at 05:13:55PM +0200, Daniel Vetter wrote: > > On Tue, Sep 22, 2015 at 08:00:17AM -0700, Jesse Barnes wrote: > > > Cc'ing Maarten and Matt; I'm guessing this may be related to one of > > > their recent patches. >

block device backed by DRM buffer object

2015-09-22 Thread Steven Newbury
for maintainence, but it usually turned > > off. > > > > > > ___ > > dri-devel mailing list > > dri-devel at lists.freedesktop.org > > http://lists.freedesktop.org/mailman/listinfo/dri-devel > ___ > dri-devel mailing list > dri-devel at lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/dri-devel -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 181 bytes Desc: This is a digitally signed message part URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150922/7865cd62/attachment.sig>

[PATCH RFC v2 3/3] drm/dp: Add a drm_aux-dev module for reading/writing dpcd registers.

2015-09-22 Thread Ville Syrjälä
On Tue, Sep 22, 2015 at 10:48:06AM -0700, Rafael Antognolli wrote: > On Tue, Sep 22, 2015 at 10:59:51AM +0200, Daniel Vetter wrote: > > On Tue, Sep 15, 2015 at 04:55:04PM -0700, Rafael Antognolli wrote: > > > This module is heavily based on i2c-dev. Once loaded, it provides one > > > dev node per D

WARNING: CPU: 4 PID: 863 at include/drm/drm_crtc.h:1577 drm_helper_choose_encoder_dpms+0x88/0x90()

2015-09-22 Thread Borislav Petkov
On Mon, Sep 21, 2015 at 03:31:26PM +0200, Borislav Petkov wrote: > Hi guys, > > this assert_drm_connector_list_read_locked() thing fires here when > suspending to disk with Linus' master from around a week ago and > tip/master merged ontop. > > After I resume, box comes up but wedges solid. I've

[Bug 92079] Crash on wine d3dadapter during Heroes of the Storm loading

2015-09-22 Thread bugzilla-dae...@freedesktop.org
ttp://lists.freedesktop.org/archives/dri-devel/attachments/20150922/76e69f85/attachment.html>

[Bug 92079] Crash during load on wine d3dadapter during Heroes of the Storm loading

2015-09-22 Thread bugzilla-dae...@freedesktop.org
so we can find the specific issue in the commit ? -- 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/20150922/361d61a9/attachment.html>

[PATCH 05/23] drm: Add structure to set/get a CTM color property

2015-09-22 Thread Ville Syrjälä
On Wed, Sep 16, 2015 at 11:07:02PM +0530, Shashank Sharma wrote: > From: Kausal Malladi > > Color Manager framework defines a color correction property for color > space transformation and Gamut mapping. This property is called CTM (Color > Transformation Matrix). > > This patch adds a new struc

[PATCH v2 5/6] virtio-gpu: add basic prime support

2015-09-22 Thread Daniel Vetter
On Tue, Sep 22, 2015 at 05:24:29PM +0200, Gerd Hoffmann wrote: > > > +int virtgpu_gem_prime_mmap(struct drm_gem_object *obj, > > > +struct vm_area_struct *area) > > > +{ > > > + WARN_ONCE(1, "not implemented"); > > > + return ENOSYS; > > > > This can get called by userspace, so ple

[PATCH 04/23] drm: Add drm structures for palette color property

2015-09-22 Thread Ville Syrjälä
On Tue, Sep 22, 2015 at 02:53:54PM +0100, Emil Velikov wrote: > On 22 September 2015 at 14:08, Daniel Vetter wrote: > > On Wed, Sep 16, 2015 at 11:07:01PM +0530, Shashank Sharma wrote: > >> From: Kausal Malladi > >> > >> This patch adds new structures in DRM layer for Palette color > >> correctio

[PATCH 13/13] exynos: bump version number

2015-09-22 Thread Tobias Jakobi
The Exynos API was extended quite a bit, so reflect this in the version number. Signed-off-by: Tobias Jakobi --- exynos/libdrm_exynos.pc.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exynos/libdrm_exynos.pc.in b/exynos/libdrm_exynos.pc.in index 5ce9118..ff1c432 100644 --

[PATCH 12/13] exynos/fimg2d: add g2d_reset() to public API

2015-09-22 Thread Tobias Jakobi
After the rewrite of the command buffer submission handling g2d_reset() is no longer called internally. Still the user might want to reset the G2D context so expose this call. Signed-off-by: Tobias Jakobi --- exynos/exynos-symbol-check | 1 + exynos/exynos_fimg2d.c | 28 ++-

[PATCH 11/13] exynos/fimg2d: add exynos_bo_unmap()

2015-09-22 Thread Tobias Jakobi
This unmaps a previously mapped (via exynos_bo_map()) buffer object. Signed-off-by: Tobias Jakobi --- exynos/exynos-symbol-check | 1 + exynos/exynos_drm.c| 20 exynos/exynos_drmif.h | 1 + 3 files changed, 22 insertions(+) diff --git a/exynos/exynos-symbol-c

[PATCH 10/13] tests/exynos: add test for g2d_move

2015-09-22 Thread Tobias Jakobi
To check if g2d_move() works properly we create a small checkerboard pattern in the center of the screen and then shift this pattern around with g2d_move(). The pattern should be properly preserved by the operation. Signed-off-by: Tobias Jakobi --- tests/exynos/exynos_fimg2d_test.c | 132 +++

[PATCH 09/13] exynos/fimg2d: add g2d_move

2015-09-22 Thread Tobias Jakobi
We already have g2d_copy() which implements G2D copy operations from one buffer to another. However we can't do a overlapping copy operation in one buffer. Add g2d_move() which acts like the standard memmove() and properly handles overlapping copies. Signed-off-by: Tobias Jakobi --- exynos/exyn

[PATCH 08/13] exynos: fimg2d: add g2d_set_direction

2015-09-22 Thread Tobias Jakobi
This allows setting the two direction registers, which specify how the engine blits pixels. This can be used for overlapping blits, which happen e.g. when 'moving' a rectangular region inside a fixed buffer. Signed-off-by: Tobias Jakobi --- exynos/exynos_fimg2d.c | 13 + exynos/exyno

[PATCH 07/13] tests/exynos: use XRGB8888 for framebuffer

2015-09-22 Thread Tobias Jakobi
This matches the G2D color mode that is used in the entire code. The previous (incorrect) RGBA would only work since the Exynos mixer did its configuration based on the bpp, and not based on the actual pixelformat. Signed-off-by: Tobias Jakobi --- tests/exynos/exynos_fimg2d_test.c | 2 +- 1

[PATCH 06/13] tests/exynos: add fimg2d event test

2015-09-22 Thread Tobias Jakobi
This tests async processing of G2D jobs. A separate thread is spawned to monitor the DRM fd for events and check whether a G2D job was completed. v2: Add GPLv2 header, argument handling and documentation. Test is only installed when requested. v3: Allocate G2D jobs with calloc which fixes 'bus

[PATCH 05/13] exynos: fimg2d: add g2d_exec2

2015-09-22 Thread Tobias Jakobi
This is a more 'flexible' version of g2d_exec allowing to pass some flags which modify the behaviour of g2d_exec. Currently only the 'async' operation flag is supported. v2: Add g2d_exec2() to Exynos symbol test. Signed-off-by: Tobias Jakobi --- exynos/exynos-symbol-check | 1 + exynos/exynos_f

[PATCH 04/13] exynos/fimg2d: add g2d_config_event

2015-09-22 Thread Tobias Jakobi
This enables us to pass command buffers to the kernel which trigger an event on the DRM fd upon completion. The final goal is to enable asynchronous operation of the G2D engine, similar to async page flips. Passing the event userdata pointer through the G2D context was chosen to not change the cur

[PATCH 03/13] tests/exynos: add fimg2d performance analysis

2015-09-22 Thread Tobias Jakobi
Currently only fast solid color clear performance is measured. A large buffer is allocated and solid color clear operations are executed on it with randomly chosen properties (position and size of the region, clear color). Execution time is measured and output together with the amount of pixels pro

[PATCH 02/13] exynos: Introduce exynos_handle_event()

2015-09-22 Thread Tobias Jakobi
Used to handle kernel events specific to the Exynos platform. Currently only G2D events are handled. v2: Adapt to container approach. v3: Add exynos_handle_event() to Exynos symbol test. Signed-off-by: Tobias Jakobi --- exynos/exynos-symbol-check | 1 + exynos/exynos_drm.c| 28 +

[PATCH 01/13] drm: Implement drmHandleEvent2()

2015-09-22 Thread Tobias Jakobi
Basically this is an extended version of drmHandleEvent(). drmHandleEvent() only handles core events (like e.g. page flips), but since kernel DRM drivers might use vendor-specific events to signal userspace the completion of pending jobs, etc., its desirable to provide a way to handle these withou

[PATCH 00/13] drm/exynos: async G2D and g2d_move()

2015-09-22 Thread Tobias Jakobi
Hello, this series mostly touches G2D code. It introduces the following: (1) drmHandleEvent2() is added to enable processing of vendor-specific events. This will be used to expose asynchronous operation of the G2D. The necessary kernel infrastructure is already there since a lot of ke

[PATCH 04/23] drm: Add drm structures for palette color property

2015-09-22 Thread Emil Velikov
Hi Ville, On 22 September 2015 at 16:00, Ville Syrjälä wrote: > On Tue, Sep 22, 2015 at 02:53:54PM +0100, Emil Velikov wrote: >> On 22 September 2015 at 14:08, Daniel Vetter wrote: >> > On Wed, Sep 16, 2015 at 11:07:01PM +0530, Shashank Sharma wrote: >> >> From: Kausal Malladi >> >> >> >> Thi

[patch 4/4 v2] drm/qxl: integer overflow in qxl_alloc_surf_ioctl()

2015-09-22 Thread Dan Carpenter
The size calculation can overflow. I don't know if this leads to memory corruption, but it causes a static checker warning. Signed-off-by: Dan Carpenter --- v2: I don't know think the size is capped anywhere. In my first version of this patch, I introduced a divide by zero bug. diff --git a/dr

[PATCH v2 5/6] virtio-gpu: add basic prime support

2015-09-22 Thread Gerd Hoffmann
> > +int virtgpu_gem_prime_mmap(struct drm_gem_object *obj, > > + struct vm_area_struct *area) > > +{ > > + WARN_ONCE(1, "not implemented"); > > + return ENOSYS; > > This can get called by userspace, so please don't WARN here. Also missing > negate sign: > > return -ENO

[PATCH v2 4/6] virtio-gpu: add 3d/virgl support

2015-09-22 Thread Gerd Hoffmann
Hi, > > static unsigned int features[] = { > > +#ifdef __LITTLE_ENDIAN > > + VIRTIO_GPU_FEATURE_VIRGL, > > +#endif > > }; > > Why is virgl LE specific? Just curious. gallium command stream is native endian, and we only support little endian guests on little endian hosts for that reason. S

[regression] [git pull] drm for 4.3

2015-09-22 Thread Daniel Vetter
On Tue, Sep 22, 2015 at 08:00:17AM -0700, Jesse Barnes wrote: > Cc'ing Maarten and Matt; I'm guessing this may be related to one of > their recent patches. Adding Jairo to track this regression. -Daniel > > Jesse > > On 09/21/2015 11:48 AM, Dave Jones wrote: > > On Mon, Sep 07, 2015 at 02:45:59PM

[Intel-gfx] [PATCH 0/8] [RFC] Link training test

2015-09-22 Thread Daniel Vetter
Thierry Redding is working on some improved dp helper libraries for link training. Would make lots of sense to have all that aligned. Adding him and dri-devel. -Daniel On Tue, Sep 8, 2015 at 2:27 PM, Ander Conselvan de Oliveira wrote: > Hi, > > There's been some discussion on improving our link

[PATCH 2/2] drm/core: Preserve the fb id on close.

2015-09-22 Thread David Herrmann
Hi On Wed, Sep 9, 2015 at 4:40 PM, Maarten Lankhorst wrote: > Keep the fb_id, which means that any application exiting without > unsetting the framebuffer from all planes will preserve its contents. > > This is similar to preserving the initial framebuffer, except all > planes are preserved. > >

WARNING: CPU: 4 PID: 863 at include/drm/drm_crtc.h:1577 drm_helper_choose_encoder_dpms+0x88/0x90()

2015-09-22 Thread Alex Deucher
On Tue, Sep 22, 2015 at 4:21 PM, Borislav Petkov wrote: > Hi Alex, > > On Tue, Sep 22, 2015 at 03:58:03PM -0400, Alex Deucher wrote: >> What system is this? > > my workstation - an > > "To be filled by O.E.M. To be filled by O.E.M./M5A97 EVO R2.0, BIOS 1503 > 01/16/2013" > > you gotta love the "T

[Intel-gfx] [PATCH 1/2] drm/core: Preserve the framebuffer after removing it.

2015-09-22 Thread David Herrmann
Hi On Thu, Sep 10, 2015 at 12:15 PM, Tvrtko Ursulin wrote: > On 09/10/2015 10:56 AM, Daniel Vetter wrote: >> That's not different from the compositor just freezing instead of >> crashing: Screen contents stays on and nothing happens. Imo this really is >> all just broken userspace, and the kernel

[PATCH 1/2] drm/core: Preserve the framebuffer after removing it.

2015-09-22 Thread David Herrmann
Hi On Wed, Sep 9, 2015 at 5:02 PM, Daniel Vetter wrote: > On Wed, Sep 09, 2015 at 04:40:56PM +0200, Maarten Lankhorst wrote: >> Previously RMFB and fd close chose to disable any plane that had >> an active framebuffer from this file. If it was a primary plane the >> crtc was disabled. However the

[PATCH v1.1 03/15] vga_switcheroo: Set active attribute to false for audio clients

2015-09-22 Thread Lukas Wunner
The active attribute in struct vga_switcheroo_client denotes whether the outputs are currently switched to this client. The attribute is only meaningful for vga clients. It is never used for audio clients. The function vga_switcheroo_register_audio_client() misuses this attribute to store whether

[PATCH RFC v2 3/3] drm/dp: Add a drm_aux-dev module for reading/writing dpcd registers.

2015-09-22 Thread Ville Syrjälä
On Tue, Sep 22, 2015 at 02:59:24PM +0200, Daniel Vetter wrote: > On Tue, Sep 22, 2015 at 03:35:13PM +0300, Ville Syrjälä wrote: > > On Tue, Sep 22, 2015 at 02:17:51PM +0200, Daniel Vetter wrote: > > > On Tue, Sep 22, 2015 at 03:00:54PM +0300, Ville Syrjälä wrote: > > > > On Tue, Sep 15, 2015 at

[Intel-gfx] [PATCH 1/2] drm/core: Preserve the framebuffer after removing it.

2015-09-22 Thread Tvrtko Ursulin
On 09/22/2015 03:53 PM, David Herrmann wrote: > Hi > > On Thu, Sep 10, 2015 at 12:15 PM, Tvrtko Ursulin > wrote: >> On 09/10/2015 10:56 AM, Daniel Vetter wrote: >>> That's not different from the compositor just freezing instead of >>> crashing: Screen contents stays on and nothing happens. Imo th

[PATCH v5 17/17] drm: bridge: analogix/dp: add edid modes parse in get_modes method

2015-09-22 Thread Yakir Yang
Display Port monitor could support kinds of mode which indicate in monitor edid, not just one single display resolution which defined in panel or devivetree property display timing. Signed-off-by: Yakir Yang --- Changes in v5: None Changes in v4: - Call drm_panel_prepare() in .get_modes function,

[PATCH v5 16/17] drm: bridge: analogix/dp: move hpd detect to connector detect function

2015-09-22 Thread Yakir Yang
This change just make a little clean to make code more like drm core expect, move hdp detect code from bridge->enable(), and place them into connector->detect(). Signed-off-by: Yakir Yang --- Changes in v5: None Changes in v4: - Take Jingoo suggest, add commit messages. Changes in v3: - move dp

[RFC] Docs: drm: Move KMS properties table out to source files

2015-09-22 Thread Danilo Cesar Lemes de Paula
On 09/22/2015 07:22 AM, Graham Whaley wrote: > On Wed, Sep 02, 2015 at 02:50:52PM +0100, Graham Whaley wrote: >>> (RFC/test - not for merging) >>> The below is a test of moving the large HTML KMS properties table >>> out >>> to markdown style in the appropriate files. >>> In the test we only use th

[PATCH v5 15/17] drm: bridge: analogix/dp: try force hpd after plug in lookup failed

2015-09-22 Thread Yakir Yang
Some edp screen do not have hpd signal, so we can't just return failed when hpd plug in detect failed. This is an hardware property, so we need add a devicetree property "analogix,need-force-hpd" to indicate this sutiation. Signed-off-by: Yakir Yang --- Changes in v5: None Changes in v4: None Ch

[PATCH v5 14/17] drm: bridge: analogix/dp: add max link rate and lane count limit for RK3288

2015-09-22 Thread Yakir Yang
There are some IP limit on rk3288 that only support 4 physical lanes of 2.7/1.6 Gbps/lane, so seprate them out by device_type flag. Signed-off-by: Yakir Yang --- Changes in v5: None Changes in v4: - Seprate the link-rate and lane-count limit out with the device_type flag. (Thierry) Changes in

WARNING: CPU: 4 PID: 863 at include/drm/drm_crtc.h:1577 drm_helper_choose_encoder_dpms+0x88/0x90()

2015-09-22 Thread Alex Deucher
On Mon, Sep 21, 2015 at 9:31 AM, Borislav Petkov wrote: > Hi guys, > > this assert_drm_connector_list_read_locked() thing fires here when > suspending to disk with Linus' master from around a week ago and > tip/master merged ontop. > > After I resume, box comes up but wedges solid. I've managed to

[PATCH v5 13/17] drm: bridge: analogix/dp: add some rk3288 special registers setting

2015-09-22 Thread Yakir Yang
RK3288 need some special registers setting, we can separate them out by the dev_type of plat_data. Signed-off-by: Yakir Yang --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: - Fix compile failed dut to phy_pd_addr variable misspell error drivers/gpu/drm/bridge/anal

[PATCH v5 12/17] drm: rockchip: vop: add bpc and color mode setting

2015-09-22 Thread Yakir Yang
From: Mark Yao Add bpc and color mode setting in rockchip_drm_vop driver, so connector could try to use the edid drm_display_info to config vop output mode. Signed-off-by: Mark Yao Signed-off-by: Yakir Yang --- Changes in v5: - Fix compiled error (Heiko) - Using the connector display info mess

[Bug 92059] [radeonsi, apitrace] Missing textures and geometry in "Middle-earth: Shadow of Mordor"

2015-09-22 Thread bugzilla-dae...@freedesktop.org
ment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150922/bcde4ba7/attachment.html>

[PATCH v5 11/17] Documentation: phy: add document for rockchip dp phy

2015-09-22 Thread Yakir Yang
This phy driver is binded with the Rockchip DisplayPort driver, here are the brief properties: edp_phy: edp-phy at ff770274 { compatible = "rockchip,rk3288-dp-phy"; rockchip,grf = <&grf>; clocks = <&cru SCLK_EDP_24M>; clock-nam

[PATCH v5 10/17] phy: Add driver for rockchip Display Port PHY

2015-09-22 Thread Yakir Yang
This phy driver would control the Rockchip DisplayPort module phy clock and phy power, it is relate to analogix_dp-rockchip dp driver. If you want DP works rightly on rockchip platform, then you should select both of them. Signed-off-by: Yakir Yang --- Changes in v5: - Remove "reg" DT property, c

[PATCH v5 09/17] Documentation: drm/bridge: add document for analogix_dp

2015-09-22 Thread Yakir Yang
Rockchip DP driver is a helper driver of analogix_dp coder driver, so most of the DT property should be descriped in analogix_dp document. Signed-off-by: Yakir Yang --- Changes in v5: - Split binding doc's from driver changes. (Rob) - Add eDP hotplug pinctrl property. (Heiko) Changes in v4: None

[PATCH v5 08/17] drm: rockchip: dp: add rockchip platform dp driver

2015-09-22 Thread Yakir Yang
Rockchip have three clocks for dp controller, we leave pclk_edp to analogix_dp driver control, and keep the sclk_edp_24m and sclk_edp in platform driver. Signed-off-by: Yakir Yang --- Changes in v5: - Remove the empty line at the end of document, and correct the endpoint numbers in the example

[PATCH v5 07/17] ARM: dts: exynos/dp: remove some properties that deprecated by analogix_dp driver

2015-09-22 Thread Yakir Yang
After exynos_dp have been split the common IP code into analogix_dp driver, the analogix_dp driver have deprecated some Samsung platform properties which could be dynamically parsed from EDID/MODE/DPCD message, so this is an update for Exynos DTS file for dp-controller. Beside the backward compati

[Bug 92059] [radeonsi, apitrace] Missing textures and geometry in "Middle-earth: Shadow of Mordor"

2015-09-22 Thread bugzilla-dae...@freedesktop.org
wouldn't make that shader > compile. The ext would also have to be enabled in the shader. Yes, I understand. But this would still leave radeonsi without required functionality. So making this bug about enabling GL_ARB_arrays_of_arrays for an application that (pretends*) to need it, seemed reasonable and more descriptive. * I've played about 30 minutes now with those environment variables set and haven't noticed any visual corruption on radeonsi which doesn't expose GL_ARB_arrays_of_arrays. So I'm not sure if the game actually *needs* the extension? -- 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/20150922/85cac19e/attachment.html>

[PATCH v5 06/17] Documentation: drm/bridge: add document for analogix_dp

2015-09-22 Thread Yakir Yang
Analogix dp driver is split from exynos dp driver, so we just make an copy of exynos_dp.txt, and then simplify exynos_dp.txt Beside update some exynos dtsi file with the latest change according to the devicetree binding documents. Signed-off-by: Yakir Yang --- Changes in v5: None Changes in v4:

[PATCH v5 05/17] drm: bridge: analogix/dp: dynamic parse sync_pol & interlace & dynamic_range

2015-09-22 Thread Yakir Yang
Both hsync/vsync polarity and interlace mode can be parsed from drm display mode, and dynamic_range and ycbcr_coeff can be judge by the video code. But presumably Exynos still relies on the DT properties, so take good use of mode_fixup() in to achieve the compatibility hacks. Signed-off-by: Yakir

[PATCH 11/11] drm: Fix vblank timestamp races

2015-09-22 Thread Ville Syrjälä
On Tue, Sep 22, 2015 at 11:10:50AM +0200, Daniel Vetter wrote: > On Mon, Sep 14, 2015 at 10:43:52PM +0300, ville.syrjala at linux.intel.com > wrote: > > From: Ville Syrjälä > > > > The vblank timestamp ringbuffer only has two entries, so if the > > vblank->count is incremented by an even numbe

[PATCH v5 04/17] drm: bridge: analogix/dp: remove duplicate configuration of link rate and link count

2015-09-22 Thread Yakir Yang
link_rate and lane_count already configured in analogix_dp_set_link_train(), so we don't need to config those repeatly after training finished, just remove them out. Beside Display Port 1.2 already support 5.4Gbps link rate, the maximum sets would change from {1.62Gbps, 2.7Gbps} to {1.62Gbps, 2.7G

[PATCH RFC v2 3/3] drm/dp: Add a drm_aux-dev module for reading/writing dpcd registers.

2015-09-22 Thread Ville Syrjälä
On Tue, Sep 22, 2015 at 02:17:51PM +0200, Daniel Vetter wrote: > On Tue, Sep 22, 2015 at 03:00:54PM +0300, Ville Syrjälä wrote: > > On Tue, Sep 15, 2015 at 04:55:04PM -0700, Rafael Antognolli wrote: > > > This module is heavily based on i2c-dev. Once loaded, it provides one > > > dev node per DP

[PATCH v5 03/17] drm: bridge: analogix/dp: fix some obvious code style

2015-09-22 Thread Yakir Yang
Fix some obvious alignment problems, like alignment and line over 80 characters problems, make this easy to be maintained later. Signed-off-by: Yakir Yang --- Changes in v5: - Resequence this patch after analogix_dp driver have been split from exynos_dp code, and rephrase reasonable commit mess

[PATCH RFC v2 3/3] drm/dp: Add a drm_aux-dev module for reading/writing dpcd registers.

2015-09-22 Thread Daniel Vetter
On Tue, Sep 22, 2015 at 04:25:17PM +0300, Ville Syrjälä wrote: > On Tue, Sep 22, 2015 at 02:59:24PM +0200, Daniel Vetter wrote: > > On Tue, Sep 22, 2015 at 03:35:13PM +0300, Ville Syrjälä wrote: > > > On Tue, Sep 22, 2015 at 02:17:51PM +0200, Daniel Vetter wrote: > > > > Iirc short reads are ok

[patch] drm/layerscape: fix a signedness bug

2015-09-22 Thread Dan Carpenter
"index" needs to be signed for the error handling to work. Really "ret" should be an int as well. Fixes: 109eee2f2a18 ('drm/layerscape: Add Freescale DCU DRM driver') Signed-off-by: Dan Carpenter diff --git a/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.c b/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_pla

[PATCH v5 02/17] drm: bridge: analogix/dp: split exynos dp driver to bridge directory

2015-09-22 Thread Yakir Yang
Split the dp core driver from exynos directory to bridge directory, and rename the core driver to analogix_dp_*, rename the platform code to exynos_dp. Beside the new analogix_dp driver would export four hooks. "analogix_dp_bind()" and "analogix_dp_unbind()" "analogix_dp_detect()" and "analogix_dp

[Intel-gfx] [PATCH 00/23] Color Management for DRM

2015-09-22 Thread Daniel Vetter
On Wed, Sep 16, 2015 at 11:06:57PM +0530, Shashank Sharma wrote: > This patch set adds Color Manager implementation in DRM layer. Color Manager > is an extension in DRM framework to support color correction/enhancement. > > Various Hardware platforms can support several color correction capabiliti

[PATCH v5 01/17] drm: exynos: dp: convert to drm bridge mode

2015-09-22 Thread Yakir Yang
In order to move exynos dp code to bridge directory, we need to convert driver drm bridge mode first. As dp driver already have a ptn3460 bridge, so we need to move ptn bridge to the next bridge of dp bridge. Signed-off-by: Yakir Yang --- Changes in v5: None Changes in v4: None Changes in v3: Non

[Intel-gfx] [PATCH 09/23] drm/i915: Register pipe color capabilities

2015-09-22 Thread Daniel Vetter
On Wed, Sep 16, 2015 at 11:07:06PM +0530, Shashank Sharma wrote: > DRM color manager contains these color properties: > > 1. "crtc_palette_capabilities_property": to allow a > core driver to load and showcase its color correction > capabilities to user space. > 2. "ctm": Color transformation matri

[PATCH v5 0/17] Add Analogix Core Display Port Driver

2015-09-22 Thread Yakir Yang
Hi all, The Samsung Exynos eDP controller and Rockchip RK3288 eDP controller share the same IP, so a lot of parts can be re-used. I split the common code into bridge directory, then rk3288 and exynos only need to keep some platform code. Cause I can't find the exact IP name of exynos dp control

[Intel-gfx] [PATCH 10/23] drm/i915: Add gamma correction handlers

2015-09-22 Thread Daniel Vetter
On Tue, Sep 22, 2015 at 03:15:11PM +0200, Daniel Vetter wrote: > On Wed, Sep 16, 2015 at 11:07:07PM +0530, Shashank Sharma wrote: > > I915 driver registers gamma correction as palette correction > > property with DRM layer. This patch adds set_property() and get_property() > > handlers for pipe lev

[Intel-gfx] [PATCH 10/23] drm/i915: Add gamma correction handlers

2015-09-22 Thread Daniel Vetter
On Wed, Sep 16, 2015 at 11:07:07PM +0530, Shashank Sharma wrote: > I915 driver registers gamma correction as palette correction > property with DRM layer. This patch adds set_property() and get_property() > handlers for pipe level gamma correction. > > The set function attaches the Gamma correctio

[Intel-gfx] [PATCH 05/23] drm: Add structure to set/get a CTM color property

2015-09-22 Thread Daniel Vetter
On Wed, Sep 16, 2015 at 11:07:02PM +0530, Shashank Sharma wrote: > From: Kausal Malladi > > Color Manager framework defines a color correction property for color > space transformation and Gamut mapping. This property is called CTM (Color > Transformation Matrix). > > This patch adds a new struc

[PATCH 04/23] drm: Add drm structures for palette color property

2015-09-22 Thread Daniel Vetter
On Wed, Sep 16, 2015 at 11:07:01PM +0530, Shashank Sharma wrote: > From: Kausal Malladi > > This patch adds new structures in DRM layer for Palette color > correction.These structures will be used by user space agents > to configure appropriate number of samples and Palette LUT for > a platform.

[PATCH 02/23] drm: Add structure for querying palette color capabilities

2015-09-22 Thread Daniel Vetter
On Wed, Sep 16, 2015 at 10:51:31AM -0700, Matt Roper wrote: > On Wed, Sep 16, 2015 at 11:06:59PM +0530, Shashank Sharma wrote: > > From: Kausal Malladi > > > > The DRM color management framework is targeting various hardware > > platforms and drivers. Different platforms can have different color

[PATCH RFC v2 3/3] drm/dp: Add a drm_aux-dev module for reading/writing dpcd registers.

2015-09-22 Thread Ville Syrjälä
On Tue, Sep 15, 2015 at 04:55:04PM -0700, Rafael Antognolli wrote: > This module is heavily based on i2c-dev. Once loaded, it provides one > dev node per DP AUX channel, named drm_aux-N. > > It's possible to know which connector owns this aux channel by looking > at the respective sysfs /sys/class

[PATCH RFC v2 3/3] drm/dp: Add a drm_aux-dev module for reading/writing dpcd registers.

2015-09-22 Thread Daniel Vetter
On Tue, Sep 22, 2015 at 03:35:13PM +0300, Ville Syrjälä wrote: > On Tue, Sep 22, 2015 at 02:17:51PM +0200, Daniel Vetter wrote: > > On Tue, Sep 22, 2015 at 03:00:54PM +0300, Ville Syrjälä wrote: > > > On Tue, Sep 15, 2015 at 04:55:04PM -0700, Rafael Antognolli wrote: > > > > This module is heav

[PATCH 11/11] drm: Fix vblank timestamp races

2015-09-22 Thread Daniel Vetter
On Tue, Sep 22, 2015 at 03:36:44PM +0300, Ville Syrjälä wrote: > On Tue, Sep 22, 2015 at 11:10:50AM +0200, Daniel Vetter wrote: > > On Mon, Sep 14, 2015 at 10:43:52PM +0300, ville.syrjala at linux.intel.com > > wrote: > > > From: Ville Syrjälä > > > > > > The vblank timestamp ringbuffer only

[patch] drm/layerscape: fix a signedness bug

2015-09-22 Thread Andrzej Hajda
Hi, I have posted the same patch yesterday [1]. http://permalink.gmane.org/gmane.comp.video.dri.devel/136945 Regards Andrzej On 09/22/2015 02:31 PM, Dan Carpenter wrote: > "index" needs to be signed for the error handling to work. Really "ret" > should be an int as well. > > Fixes: 109eee2f2a

[PATCH 04/23] drm: Add drm structures for palette color property

2015-09-22 Thread Emil Velikov
On 22 September 2015 at 14:08, Daniel Vetter wrote: > On Wed, Sep 16, 2015 at 11:07:01PM +0530, Shashank Sharma wrote: >> From: Kausal Malladi >> >> This patch adds new structures in DRM layer for Palette color >> correction.These structures will be used by user space agents >> to configure appro

[Bug 92059] [radeonsi, apitrace] Missing textures and geometry in "Middle-earth: Shadow of Mordor"

2015-09-22 Thread bugzilla-dae...@freedesktop.org
s I mentioned, merely having the ext available wouldn't make that shader compile. The ext would also have to be enabled in the shader. However perhaps the game would detect the availability of the ext and stick a "#extension GL_ARB_arrays_of_arrays: enable" into that shader, which would make it work -- no way of knowing that. -- 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/20150922/3e1e3ab8/attachment-0001.html>

[Bug 48772] Signal unstable over Display Port on 2560x1440 monitor

2015-09-22 Thread bugzilla-dae...@freedesktop.org
one – without any issues. Tvrtko, do you have a dual or single setup? -- 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/20150922/

[PATCH RFC v2 3/3] drm/dp: Add a drm_aux-dev module for reading/writing dpcd registers.

2015-09-22 Thread Daniel Vetter
On Tue, Sep 22, 2015 at 03:00:54PM +0300, Ville Syrjälä wrote: > On Tue, Sep 15, 2015 at 04:55:04PM -0700, Rafael Antognolli wrote: > > This module is heavily based on i2c-dev. Once loaded, it provides one > > dev node per DP AUX channel, named drm_aux-N. > > > > It's possible to know which conn

[Bug 92059] [radeonsi, apitrace] Missing textures and geometry in "Middle-earth: Shadow of Mordor"

2015-09-22 Thread bugzilla-dae...@freedesktop.org
arrays_of_arrays for "Middle-earth: Shadow of Mordor"« then? -- 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/20150922/f1a1c34c/attachment.html>

[PATCH 11/11] drm: Fix vblank timestamp races

2015-09-22 Thread Daniel Vetter
On Tue, Sep 22, 2015 at 01:15:01PM +0200, Maarten Lankhorst wrote: > Op 22-09-15 om 11:10 schreef Daniel Vetter: > > On Mon, Sep 14, 2015 at 10:43:52PM +0300, ville.syrjala at linux.intel.com > > wrote: > >> From: Ville Syrjälä > >> > >> The vblank timestamp ringbuffer only has two entries, so

[PATCH 04/23] drm: Add drm structures for palette color property

2015-09-22 Thread Sharma, Shashank
Regards Shashank On 9/21/2015 10:16 PM, Ville Syrjälä wrote: > On Wed, Sep 16, 2015 at 11:07:01PM +0530, Shashank Sharma wrote: >> From: Kausal Malladi >> >> This patch adds new structures in DRM layer for Palette color >> correction.These structures will be used by user space agents >> to conf

[PATCH 11/11] drm: Fix vblank timestamp races

2015-09-22 Thread Maarten Lankhorst
Op 22-09-15 om 11:10 schreef Daniel Vetter: > On Mon, Sep 14, 2015 at 10:43:52PM +0300, ville.syrjala at linux.intel.com > wrote: >> From: Ville Syrjälä >> >> The vblank timestamp ringbuffer only has two entries, so if the >> vblank->count is incremented by an even number readers may end up see

[PATCH] drm/fbdev: Update legacy plane->fb refcounting for atomic restore

2015-09-22 Thread David Herrmann
Hi On Tue, Sep 22, 2015 at 12:56 PM, Daniel Vetter wrote: > From: Matt Roper > > Starting with commit > > commit 28cc504e8d52248962f5b485bdc65f539e3fe21d > Author: Rob Clark > Date: Tue Aug 25 15:36:00 2015 -0400 > > drm/i915: enable atomic fb-helper > > I

[PATCH] drm/fbdev: Update legacy plane->fb refcounting for atomic restore

2015-09-22 Thread Daniel Vetter
From: Matt Roper Starting with commit commit 28cc504e8d52248962f5b485bdc65f539e3fe21d Author: Rob Clark Date: Tue Aug 25 15:36:00 2015 -0400 drm/i915: enable atomic fb-helper I've been seeing some panics on i915 when the DRM master shuts down that appear

[Bug 48772] Signal unstable over Display Port on 2560x1440 monitor

2015-09-22 Thread bugzilla-dae...@freedesktop.org
just try another cable. -- 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/20150922/e2a301b2/attachment.html>

[RFC v2 4/4] drm/mediatek: Add DRM-based framebuffer device

2015-09-22 Thread Philipp Zabel
Hi Daniel, Am Dienstag, den 22.09.2015, 11:29 +0200 schrieb Daniel Vetter: > > diff --git a/drivers/gpu/drm/mediatek/Kconfig > > b/drivers/gpu/drm/mediatek/Kconfig > > index 5343cf1..fa581fb 100644 > > --- a/drivers/gpu/drm/mediatek/Kconfig > > +++ b/drivers/gpu/drm/mediatek/Kconfig > > @@ -14,3

[PATCH] drm/fbdev: Update legacy plane->fb refcounting for atomic restore

2015-09-22 Thread David Herrmann
Hi On Tue, Sep 22, 2015 at 12:33 PM, Maarten Lankhorst wrote: > Hey, > > Op 22-09-15 om 11:55 schreef Daniel Vetter: >> From: Matt Roper >> >> Starting with commit >> >> commit 28cc504e8d52248962f5b485bdc65f539e3fe21d >> Author: Rob Clark >> Date: Tue Aug 25 15:36:00 2

[PATCH 03/11] drm/i915: Mark debug mod options as _unsafe

2015-09-22 Thread Jani Nikula
On Tue, 08 Sep 2015, Daniel Vetter wrote: > We don't want random people to touch these. > > Especially true since we've just screwed up SKL by holding it way too > long under the preliminary flag because of some ABI issues. And now > there's howtos all over the internets about how to set this. Sam

[PATCH] drm/fbdev: Update legacy plane->fb refcounting for atomic restore

2015-09-22 Thread David Herrmann
Hi On Tue, Sep 22, 2015 at 11:55 AM, Daniel Vetter wrote: > From: Matt Roper > > Starting with commit > > commit 28cc504e8d52248962f5b485bdc65f539e3fe21d > Author: Rob Clark > Date: Tue Aug 25 15:36:00 2015 -0400 > > drm/i915: enable atomic fb-helper > > I

[PATCH] drm/fbdev: Update legacy plane->fb refcounting for atomic restore

2015-09-22 Thread Maarten Lankhorst
Hey, Op 22-09-15 om 11:55 schreef Daniel Vetter: > From: Matt Roper > > Starting with commit > > commit 28cc504e8d52248962f5b485bdc65f539e3fe21d > Author: Rob Clark > Date: Tue Aug 25 15:36:00 2015 -0400 > > drm/i915: enable atomic fb-helper > > I've been se

[RFC v2 2/4] drm/mediatek: Add DRM Driver for Mediatek SoC MT8173.

2015-09-22 Thread Philipp Zabel
Hi Daniel, thank you for the comments. Am Dienstag, den 22.09.2015, 11:38 +0200 schrieb Daniel Vetter: [...] > > diff --git a/drivers/gpu/drm/mediatek/mtk_drm_drv.c > > b/drivers/gpu/drm/mediatek/mtk_drm_drv.c > > new file mode 100644 > > index 000..fc071fe > > --- /dev/null > > +++ b/driver

[PATCH] drm/fbdev: Update legacy plane->fb refcounting for atomic restore

2015-09-22 Thread Daniel Vetter
From: Matt Roper Starting with commit commit 28cc504e8d52248962f5b485bdc65f539e3fe21d Author: Rob Clark Date: Tue Aug 25 15:36:00 2015 -0400 drm/i915: enable atomic fb-helper I've been seeing some panics on i915 when the DRM master shuts down that appear

[PATCH 03/11] drm/i915: Mark debug mod options as _unsafe

2015-09-22 Thread Daniel Vetter
On Tue, Sep 22, 2015 at 12:34:23PM +0300, Jani Nikula wrote: > On Tue, 08 Sep 2015, Daniel Vetter wrote: > > We don't want random people to touch these. > > > > Especially true since we've just screwed up SKL by holding it way too > > long under the preliminary flag because of some ABI issues. And

[PATCH 00/38] Fixes related to incorrect usage of unsigned types

2015-09-22 Thread Jacek Anaszewski
On 09/22/2015 11:13 AM, Andrzej Hajda wrote: > On 09/21/2015 03:42 PM, David Howells wrote: >> Andrzej Hajda wrote: >> >>> Semantic patch finds comparisons of types: >>> unsigned < 0 >>> unsigned >= 0 >>> The former is always false, the latter is always true. >>> Such comparisons are use

[PATCH 03/38] drm/i915: fix handling gen8_emit_flush_coherentl3_wa result

2015-09-22 Thread Daniel Vetter
On Mon, Sep 21, 2015 at 04:59:58PM +0300, Jani Nikula wrote: > On Mon, 21 Sep 2015, Andrzej Hajda wrote: > > The function can return negative value. > > > > The problem has been detected using proposed semantic patch > > scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci [1]. > > > > [1]: ht

[PATCH v2 5/6] virtio-gpu: add basic prime support

2015-09-22 Thread Daniel Vetter
On Mon, Sep 21, 2015 at 11:40:16AM +0200, Gerd Hoffmann wrote: > From: Dave Airlie > > This is enough to enable DRI3. > > Signed-off-by: Dave Airlie > Signed-off-by: Gerd Hoffmann > --- > drivers/gpu/drm/virtio/Makefile| 2 +- > drivers/gpu/drm/virtio/virtgpu_drv.c | 13 +- > d

[RFC v2 2/4] drm/mediatek: Add DRM Driver for Mediatek SoC MT8173.

2015-09-22 Thread Daniel Vetter
On Fri, Sep 18, 2015 at 06:12:00PM +0200, Philipp Zabel wrote: > 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

[RFC v2 4/4] drm/mediatek: Add DRM-based framebuffer device

2015-09-22 Thread Daniel Vetter
On Fri, Sep 18, 2015 at 06:12:02PM +0200, Philipp Zabel wrote: > From: CK Hu > > Add Mediatek legacy framebuffer support. > > Signed-off-by: CK Hu > Signed-off-by: YT Shen > --- > drivers/gpu/drm/mediatek/Kconfig | 12 +++ > drivers/gpu/drm/mediatek/mtk_drm_drv.c | 13 +++ > drivers/g

  1   2   >