Re: [RFC PATCH 00/97] Basic GuC submission support in the i915

2021-05-09 Thread Martin Peres
Hi, On 06/05/2021 22:13, Matthew Brost wrote: Basic GuC submission support. This is the first bullet point in the upstreaming plan covered in the following RFC [1]. At a very high level the GuC is a piece of firmware which sits between the i915 and the GPU. It offloads some of the scheduling of

Re: [RFC PATCH 00/97] Basic GuC submission support in the i915

2021-05-10 Thread Martin Peres
On 10/05/2021 02:11, Jason Ekstrand wrote: On May 9, 2021 12:12:36 Martin Peres wrote: Hi, On 06/05/2021 22:13, Matthew Brost wrote: Basic GuC submission support. This is the first bullet point in the upstreaming plan covered in the following RFC [1]. At a very high level the GuC is a

Re: [RFC PATCH 00/97] Basic GuC submission support in the i915

2021-05-11 Thread Martin Peres
On 11/05/2021 05:58, Dixit, Ashutosh wrote: On Sun, 09 May 2021 16:11:43 -0700, Jason Ekstrand wrote: Yes, landing GuC support may be the first step in removing execlist support. The inevitable reality is that GPU scheduling is coming and likely to be there only path in the not-too-distant f

Re: [RFC PATCH 00/97] Basic GuC submission support in the i915

2021-05-11 Thread Martin Peres
On 10/05/2021 19:25, Jason Ekstrand wrote: On May 10, 2021 08:55:55 Martin Peres wrote: On 10/05/2021 02:11, Jason Ekstrand wrote: On May 9, 2021 12:12:36 Martin Peres wrote: Hi, On 06/05/2021 22:13, Matthew Brost wrote: Basic GuC submission support. This is the first bullet point in

Re: [RFC PATCH 00/97] Basic GuC submission support in the i915

2021-05-11 Thread Martin Peres
On 10/05/2021 19:33, Daniel Vetter wrote: On Mon, May 10, 2021 at 3:55 PM Martin Peres wrote: On 10/05/2021 02:11, Jason Ekstrand wrote: On May 9, 2021 12:12:36 Martin Peres wrote: Hi, On 06/05/2021 22:13, Matthew Brost wrote: Basic GuC submission support. This is the first bullet point

Re: [RFC PATCH 00/97] Basic GuC submission support in the i915

2021-05-11 Thread Martin Peres
On 11/05/2021 19:39, Matthew Brost wrote: On Tue, May 11, 2021 at 08:26:59AM -0700, Bloomfield, Jon wrote: -Original Message- From: Martin Peres Sent: Tuesday, May 11, 2021 1:06 AM To: Daniel Vetter Cc: Jason Ekstrand ; Brost, Matthew ; intel-gfx ; dri-devel ; Ursulin, Tvrtko

Re: [PATCH] drm/ttm: fix unused function warning

2020-12-09 Thread Martin Peres
unt(struct ttm_pool_type *pt) Move the definition into the #ifdef block. Fixes: d099fc8f540a ("drm/ttm: new TT backend allocation pool v3") Signed-off-by: Arnd Bergmann Thanks Arnd! The patch looks good to me: Reviewed-by: Martin Peres --- drivers/gpu/drm/ttm/ttm_pool.c | 29 +

Re: [PATCH 1/2] drm/doc/rfc: i915 GuC submission / DRM scheduler

2021-06-30 Thread Martin Peres
On 29/06/2021 22:35, Matthew Brost wrote: Add entry for i915 GuC submission / DRM scheduler integration plan. Follow up patch with details of new parallel submission uAPI to come. v2: (Daniel Vetter) - Expand explaination of why bonding isn't supported for GuC submission - CC some o

Re: [PATCH 47/47] drm/i915/guc: Unblock GuC submission on Gen11+

2021-06-30 Thread Martin Peres
On 24/06/2021 10:05, Matthew Brost wrote: From: Daniele Ceraolo Spurio Unblock GuC submission on Gen11+ platforms. Signed-off-by: Michal Wajdeczko Signed-off-by: Daniele Ceraolo Spurio Signed-off-by: Matthew Brost --- drivers/gpu/drm/i915/gt/uc/intel_guc.h| 1 + drivers/g

Re: [PATCH 2/2] drm/doc/rfc: i915 new parallel submission uAPI plan

2021-06-30 Thread Martin Peres
On 29/06/2021 22:35, Matthew Brost wrote: Add entry for i915 new parallel submission uAPI plan. v2: (Daniel Vetter): - Expand logical order explaination - Add dummy header - Only allow N BBs in execbuf IOCTL - Configure parallel submission per slot not per gem context v3: (Marcin

Re: [PATCH 47/47] drm/i915/guc: Unblock GuC submission on Gen11+

2021-07-01 Thread Martin Peres
On 30/06/2021 21:00, Matthew Brost wrote: On Wed, Jun 30, 2021 at 11:22:38AM +0300, Martin Peres wrote: On 24/06/2021 10:05, Matthew Brost wrote: From: Daniele Ceraolo Spurio Unblock GuC submission on Gen11+ platforms. Signed-off-by: Michal Wajdeczko Signed-off-by: Daniele Ceraolo Spurio

Re: [PATCH 47/47] drm/i915/guc: Unblock GuC submission on Gen11+

2021-07-01 Thread Martin Peres
On 01/07/2021 11:14, Pekka Paalanen wrote: On Wed, 30 Jun 2021 11:58:25 -0700 John Harrison wrote: On 6/30/2021 01:22, Martin Peres wrote: On 24/06/2021 10:05, Matthew Brost wrote: From: Daniele Ceraolo Spurio Unblock GuC submission on Gen11+ platforms. Signed-off-by: Michal Wajdeczko

Re: [Intel-gfx] [PATCH 47/47] drm/i915/guc: Unblock GuC submission on Gen11+

2021-07-02 Thread Martin Peres
On 02/07/2021 10:29, Pekka Paalanen wrote: On Thu, 1 Jul 2021 21:28:06 +0200 Daniel Vetter wrote: On Thu, Jul 1, 2021 at 8:27 PM Martin Peres wrote: On 01/07/2021 11:14, Pekka Paalanen wrote: On Wed, 30 Jun 2021 11:58:25 -0700 John Harrison wrote: On 6/30/2021 01:22, Martin Peres

Re: [PATCH 47/47] drm/i915/guc: Unblock GuC submission on Gen11+

2021-07-02 Thread Martin Peres
On 01/07/2021 21:24, Martin Peres wrote: [...] +    i915->params.enable_guc = ENABLE_GUC_LOAD_HUC; +    return; +    } + +    /* Default: enable HuC authentication and GuC submission */ +    i915->params.enable_guc = ENABLE_GUC_LOAD_HUC | ENABLE_GUC_SUBMISSION; This seems to

Re: [PATCH 47/47] drm/i915/guc: Unblock GuC submission on Gen11+

2021-07-02 Thread Martin Peres
On 02/07/2021 16:06, Michal Wajdeczko wrote: On 02.07.2021 10:13, Martin Peres wrote: On 01/07/2021 21:24, Martin Peres wrote: [...] +    i915->params.enable_guc = ENABLE_GUC_LOAD_HUC; +    return; +    } + +    /* Default: enable HuC authentication and GuC submiss

Re: [Intel-gfx] [PATCH 47/47] drm/i915/guc: Unblock GuC submission on Gen11+

2021-07-03 Thread Martin Peres
On 02/07/2021 18:07, Michal Wajdeczko wrote: On 02.07.2021 10:09, Martin Peres wrote: On 02/07/2021 10:29, Pekka Paalanen wrote: On Thu, 1 Jul 2021 21:28:06 +0200 Daniel Vetter wrote: On Thu, Jul 1, 2021 at 8:27 PM Martin Peres wrote: On 01/07/2021 11:14, Pekka Paalanen wrote: On Wed

Re: [PATCH] drm/ttm: fix missing NULL check in the new page pool

2020-11-09 Thread Martin Peres
: Tested-by: Martin Peres Acked-by: Martin Peres Thanks, Martin Acked-by: Alex Deucher --- drivers/gpu/drm/ttm/ttm_pool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/ttm/ttm_pool.c b/drivers/gpu/drm/ttm/ttm_pool.c index 44ec41aa78d6..1b96780b4989

X.Org Endless Vacation of Code (EVoC) - Help

2016-04-30 Thread Martin Peres
On 30/04/16 11:07, Manish Bisht wrote: > Hello Devs, > > I want to improve the design of http://www.x.org/wiki/ website and > want to change the user inerface with the material design theme and > make it mobile responsive. Can I make the proposal on this and take > part in the EVoC ? > > Waiting

Re: [Intel-gfx] [PATCH v3 00/11] drm/fb-helper: Move modesetting code to drm_client

2019-04-23 Thread Martin Peres
On 20/04/2019 20:24, Noralf Trønnes wrote: > > > Den 20.04.2019 12.45, skrev Noralf Trønnes: >> This moves the modesetting code from drm_fb_helper to drm_client so it >> can be shared by all internal clients. >> >> Changes this time: >> - Use full drm_client_init/release for the modesets (Daniel

Re: [PATCH i-g-t] tests/kms_crtc_background_color: overhaul to match upstream ABI (v5.1)

2019-09-30 Thread Martin Peres
On 30/09/2019 19:13, Matt Roper wrote: > CRTC background color kernel patches were written about 2.5 years ago > and floated on the upstream mailing list, but since no opensource > userspace materialized, we never actually merged them. However the > corresponding IGT test did get merged and has ba

Re: GSOC(Xorg)

2017-04-04 Thread Martin Peres
On 04/04/17 01:17, Christian Lockley wrote: Hi all, I'm Christian Lockley I'm wondering if it's too late to apply for GSOC if so I understand and will apply next year. It not, is the DRM kernel janitor position still open? While I don't have kernel or graphics experience I do know C and Java. If

Re: [Intel-gfx] [PATCH] drm: Document code of conduct

2017-04-11 Thread Martin Peres
people it'll take a while to get there. For now this is good enough I think. All true. Reviewed-by: Daniel Stone Thanks for this, Daniel! Reviewed-by: Sumit Semwal Acked-by: Archit Taneja Thanks for doing this, this was long overdue! Reviewed-by: Martin

Re: [Nouveau] [PATCH v5 2/5] nouveau_hwmon: Add nouveau_hwmon_ops structure with .is_visible/.read_string

2017-05-01 Thread Martin Peres
} > + > +static const char input_label[] = "GPU core"; > + > +static int > +nouveau_read_string(struct device *dev, enum hwmon_sensor_types type, u32 > attr, > + int channel, char **buf) Same as above. > +{ >

Re: [Nouveau] [PATCH v5 3/5] nouveau_hwmon: Remove old code, add .write/.read operations

2017-05-01 Thread Martin Peres
;kobj, > &hwmon_temp_attrgroup); > - if (ret) > - goto error; > - } > - > - /* if the card has a pwm fan */ > - /*XXX: incorrect, need better detection for this, some boards > have > - * the gpio entries for pwm fan control even when there's no > - * actual fan connected to it... therm table? */ > - if (therm->fan_get && therm->fan_get(therm) >= 0) { > - ret = sysfs_create_group(&hwmon_dev->kobj, > - &hwmon_pwm_fan_attrgroup); > - if (ret) > - goto error; > - } > - } > - > - /* if the card can read the fan rpm */ > - if (therm && nvkm_therm_fan_sense(therm) >= 0) { > - ret = sysfs_create_group(&hwmon_dev->kobj, > - &hwmon_fan_rpm_attrgroup); > - if (ret) > - goto error; > - } > - > - if (volt && nvkm_volt_get(volt) >= 0) { > - ret = sysfs_create_group(&hwmon_dev->kobj, > - &hwmon_in0_attrgroup); > - > - if (ret) > - goto error; > - } > - > - if (iccsense && iccsense->data_valid && !list_empty(&iccsense->rails)) { > - ret = sysfs_create_group(&hwmon_dev->kobj, > - &hwmon_power_attrgroup); > - > - if (ret) > - goto error; > - > - if (iccsense->power_w_max && iccsense->power_w_crit) { > - ret = sysfs_create_group(&hwmon_dev->kobj, > - &hwmon_power_caps_attrgroup); > - if (ret) > - goto error; > - } > - } > > hwmon->hwmon = hwmon_dev; > - > return 0; > - > -error: > - NV_ERROR(drm, "Unable to create some hwmon sysfs files: %d\n", ret); > - hwmon_device_unregister(hwmon_dev); > - hwmon->hwmon = NULL; > - return ret; > #else > return 0; > #endif > @@ -1037,17 +822,8 @@ nouveau_hwmon_fini(struct drm_device *dev) > #if defined(CONFIG_HWMON) || (defined(MODULE) && > defined(CONFIG_HWMON_MODULE)) > struct nouveau_hwmon *hwmon = nouveau_hwmon(dev); > > - if (hwmon->hwmon) { > - sysfs_remove_group(&hwmon->hwmon->kobj, > &hwmon_default_attrgroup); > - sysfs_remove_group(&hwmon->hwmon->kobj, &hwmon_temp_attrgroup); > - sysfs_remove_group(&hwmon->hwmon->kobj, > &hwmon_pwm_fan_attrgroup); > - sysfs_remove_group(&hwmon->hwmon->kobj, > &hwmon_fan_rpm_attrgroup); > - sysfs_remove_group(&hwmon->hwmon->kobj, &hwmon_in0_attrgroup); > - sysfs_remove_group(&hwmon->hwmon->kobj, &hwmon_power_attrgroup); > - sysfs_remove_group(&hwmon->hwmon->kobj, > &hwmon_power_caps_attrgroup); > - > + if (hwmon->hwmon) > hwmon_device_unregister(hwmon->hwmon); > - } > > nouveau_drm(dev)->hwmon = NULL; > kfree(hwmon); > Thanks a lot, this patch makes a huge improvement in readability! With the comments addressed, this patch is: Reviewed-by: Martin Peres ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [Nouveau] [PATCH v5 4/5] nouveau_hwmon: Add support for auto_point attributes

2017-05-01 Thread Martin Peres
uveau_chip_info, special_groups); Please align &nouveau_chip_info with dev->dev and split special_groups on the following line. > if (IS_ERR(hwmon_dev)) { > ret = PTR_ERR(hwmon_dev); > NV_ERROR(drm, "Unable to register hwmon device: %d\n", ret); > This commit breaks bisectability, so Ben may have to squash it in the previous one. Otherwise, this looks good to me: Reviewed-by: Martin Peres ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [Nouveau] [PATCH v5 5/5] nouveau_hwmon: Change permissions to numeric

2017-05-01 Thread Martin Peres
self if you care about this (I did not care to add my name when I wrote in this file, because the git history makes more sense nowadays. Otherwise, I have no strong opinions on this patch. I guess the numeric representation is easier to read, so I will give you my R-b for this and let others deci

[RFC PATCH xserver] modesetting: re-set the crtc's mode when link-status goes BAD

2017-01-26 Thread Martin Peres
send the userspace a hotplug event. This may happen right after a modeset or later on. When available, we should use the link-status information to reset the wanted mode. Signed-off-by: Martin Peres --- WARNING: The patches have not been merged in the kernel yet, so this patch is merely an RFC.

Re: [RFC PATCH xserver] modesetting: re-set the crtc's mode when link-status goes BAD

2017-02-02 Thread Martin Peres
On 01/02/17 22:05, Manasi Navare wrote: On Wed, Feb 01, 2017 at 11:58:16AM -0800, Eric Anholt wrote: Jani Nikula writes: On Tue, 31 Jan 2017, Eric Anholt wrote: Martin Peres writes: Despite all the careful planing of the kernel, a link may become insufficient to handle the currently-set

Re: [RFC PATCH xserver] modesetting: re-set the crtc's mode when link-status goes BAD

2017-02-06 Thread Martin Peres
On 03/02/17 10:04, Daniel Vetter wrote: On Fri, Feb 03, 2017 at 01:30:14AM +0200, Martin Peres wrote: On 01/02/17 22:05, Manasi Navare wrote: On Wed, Feb 01, 2017 at 11:58:16AM -0800, Eric Anholt wrote: Jani Nikula writes: On Tue, 31 Jan 2017, Eric Anholt wrote: Martin Peres writes

Re: [RFC PATCH xserver] modesetting: re-set the crtc's mode when link-status goes BAD

2017-02-08 Thread Martin Peres
On 06/02/17 17:50, Martin Peres wrote: On 03/02/17 10:04, Daniel Vetter wrote: On Fri, Feb 03, 2017 at 01:30:14AM +0200, Martin Peres wrote: On 01/02/17 22:05, Manasi Navare wrote: On Wed, Feb 01, 2017 at 11:58:16AM -0800, Eric Anholt wrote: Jani Nikula writes: On Tue, 31 Jan 2017, Eric

Re: [RFC PATCH xserver] modesetting: re-set the crtc's mode when link-status goes BAD

2017-02-15 Thread Martin Peres
On 13/02/17 23:05, Eric Anholt wrote: I was just trying to provide review to get the kernel unstuck. The kernel should not be blocked until the patch gets lands (this obviously isn't the case with ioctls, which *don't* land in userspace until kernel does), you just need userspace published and g

KMS backlight ABI proposition

2017-02-17 Thread Martin Peres
Hey everyone, We have been working towards exposing the backlight as a KMS property instead of relying on the backlight drivers. We have CC:ed the people we have found to be the more likely to be interested in the discussion but please add everyone you think would have some experience with thi

Re: KMS backlight ABI proposition

2017-02-20 Thread Martin Peres
+plasma-devel, as suggested by Martin Gräßlin. On 17/02/17 14:58, Martin Peres wrote: Hey everyone, We have been working towards exposing the backlight as a KMS property instead of relying on the backlight drivers. We have CC:ed the people we have found to be the more likely to be interested

Re: KMS backlight ABI proposition

2017-02-22 Thread Martin Peres
On 20/02/17 21:57, Hans de Goede wrote: Hi, On 20-02-17 20:27, Dave Airlie wrote: On 17 February 2017 at 22:58, Martin Peres wrote: Hey everyone, We have been working towards exposing the backlight as a KMS property instead of relying on the backlight drivers. We have CC:ed the people we

Re: KMS backlight ABI proposition

2017-02-22 Thread Martin Peres
On 22/02/17 17:05, Jani Nikula wrote: On Mon, 20 Feb 2017, Daniel Thompson wrote: === 1) Backlight device interoperability === Since we need to keep backward compatibility of the backlight, we have to keep the current backlight drivers. Here are possible options: - Exclusive access: Unregi

Re: KMS backlight ABI proposition

2017-02-24 Thread Martin Peres
On 24/02/17 11:59, Hans de Goede wrote: Hi, On 24-02-17 10:48, Hans de Goede wrote: Hi, On 24-02-17 10:46, Hans de Goede wrote: Hi, On 24-02-17 10:34, Jani Nikula wrote: On Fri, 24 Feb 2017, Hans de Goede wrote: On 24-02-17 09:43, Jani Nikula wrote: I don't think we have any good ideas h

Re: KMS backlight ABI proposition

2017-02-24 Thread Martin Peres
On 24/02/17 12:44, Hans de Goede wrote: Hi, On 24-02-17 11:23, Martin Peres wrote: On 24/02/17 11:59, Hans de Goede wrote: Hi, On 24-02-17 10:48, Hans de Goede wrote: Hi, On 24-02-17 10:46, Hans de Goede wrote: Hi, On 24-02-17 10:34, Jani Nikula wrote: On Fri, 24 Feb 2017, Hans de Goede

[PATCH] drm/nouveau: fix LEDS_CLASS=m configuration

2016-11-08 Thread Martin Peres
On 08/11/16 15:56, Arnd Bergmann wrote: > The newly introduced LED handling for nouveau fails to link when the > driver is built-in but the LED subsystem is a loadable module: > > drivers/gpu/drm/nouveau/nouveau.o: In function `nouveau_do_suspend': > tvnv17.c:(.text.nouveau_do_suspend+0x10): undefi

Re: [Nouveau] [PATCH] drm/nouveau/therm: fix spelling mistake on array thresolds

2017-06-27 Thread Martin Peres
On 27/06/17 11:08, Colin King wrote: From: Colin Ian King Array thresolds should be named thresholds, rename it. Also make it static static const char * const Signed-off-by: Colin Ian King Thanks for doing this, Reviewed-by: Martin Peres --- drivers/gpu/drm/nouveau/nvkm/subdev/therm

Re: [Intel-gfx] Implementing Miracast

2017-03-07 Thread Martin Peres
On 07/03/17 05:00, Daniel Kasak wrote: Any news on this? I'm also interested :) Dan Hmm, good question! I will ping internally and see if we are ready to release something as an RFC. Martin ___ dri-devel mailing list dri-devel@lists.freedesktop.or

Re: [RFC PATCH xserver] modesetting: re-set the crtc's mode when link-status goes BAD

2017-03-27 Thread Martin Peres
On 26/01/17 14:37, Martin Peres wrote: Despite all the careful planing of the kernel, a link may become insufficient to handle the currently-set mode. At this point, the kernel should mark this particular configuration as being broken and potentially prune the mode before setting the offending

Re: [Mesa-dev] Requests for Proposal for hosting XDC 2018

2017-05-11 Thread Martin Peres
On 12/05/17 02:46, Manasi Navare wrote: > Hi Daniel, > > Is Call for Papers opened yet for XDC? When do they usually start accepting > proposals? Hey Manasi, Our call for paper is usually sent around June with a deadline for mid-August. Here is the call for paper from last year, we do expect it

Re: [Intel-gfx] Implementing Miracast

2017-06-01 Thread Martin Peres
On 01/06/17 09:02, Daniel Kasak wrote: Any news? Seems every TV I bump into these days has Miracast support ... Sorry, it must be frustrating. Some code needs to be re-implemented because it was GPL-based and we need it as MIT. Until I have some time to do this, this will probably not move fo

XDC 2017 : Call for paper

2017-06-06 Thread Martin Peres
inquiries/questions, please send them to Stéphane Marchesin (please also CC: board at foundation.x.org). Martin Peres ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel

Implementing Miracast

2017-01-03 Thread Martin Peres
On 03/01/17 22:47, Jani Nikula wrote: > On Fri, 23 Dec 2016, norbert wrote: >> Hello, >> about a year ago there was a discussion about Implementing Miracast on >> this list: >> >> https://lists.freedesktop.org/archives/dri-devel/2015-December/096035.html >> >> Since then I could not find further i

[RFC 0/6] drm: Add support for userspace drivers

2017-01-04 Thread Martin Peres
On 04/01/17 17:06, Daniel Vetter wrote: > On Wed, Jan 04, 2017 at 02:34:36PM +0100, Noralf Trønnes wrote: >> Hi, >> >> I was previously working on tinydrm as a replacement for staging/fbtft. >> During a break from that work, I started to think about if it would be >> possible to move the drivers t

Re: [Intel-gfx] [PATCH 0/2] drm: link status property and DP link training failure handling

2017-01-18 Thread Martin Peres
On 16/12/16 15:48, Daniel Vetter wrote: On Fri, Dec 16, 2016 at 12:29:05PM +0200, Jani Nikula wrote: The two remaining patches from [1], rebased. BR, Jani. [1] http://mid.mail-archive.com/1480984058-552-1-git-send-email-manasi.d.navare@intel.com Just for the record, I think the only thing

Re: [Intel-gfx] [PATCH 0/2] drm: link status property and DP link training failure handling

2017-01-20 Thread Martin Peres
On 19/01/17 13:34, Ville Syrjälä wrote: On Wed, Jan 18, 2017 at 11:05:18PM +0200, Martin Peres wrote: On 16/12/16 15:48, Daniel Vetter wrote: On Fri, Dec 16, 2016 at 12:29:05PM +0200, Jani Nikula wrote: The two remaining patches from [1], rebased. BR, Jani. [1] http://mid.mail-archive.com

Re: [Intel-gfx] [PATCH 0/2] drm: link status property and DP link training failure handling

2017-01-20 Thread Martin Peres
On 19/01/17 11:18, Jani Nikula wrote: On Wed, 18 Jan 2017, Martin Peres wrote: On 16/12/16 15:48, Daniel Vetter wrote: On Fri, Dec 16, 2016 at 12:29:05PM +0200, Jani Nikula wrote: The two remaining patches from [1], rebased. BR, Jani. [1] http://mid.mail-archive.com/1480984058-552-1-git

Re: [Intel-gfx] [PATCH 0/2] drm: link status property and DP link training failure handling

2017-01-20 Thread Martin Peres
On 20/01/17 18:44, Jani Nikula wrote: On Fri, 20 Jan 2017, Martin Peres wrote: On 19/01/17 11:18, Jani Nikula wrote: On Wed, 18 Jan 2017, Martin Peres wrote: On 16/12/16 15:48, Daniel Vetter wrote: On Fri, Dec 16, 2016 at 12:29:05PM +0200, Jani Nikula wrote: The two remaining patches from

[Intel-gfx] [PATCH 5/9] drm/i915: Enable i915 perf stream for Haswell OA unit

2016-05-04 Thread Martin Peres
On 03/05/16 22:34, Robert Bragg wrote: > Sorry for the delay replying to this, I missed it. No worries! > > On Sat, Apr 23, 2016 at 11:34 AM, Martin Peres <mailto:martin.peres at free.fr>> wrote: > > On 20/04/16 17:23, Robert Bragg wrote: > > Gen grap

[PATCH 5/9] drm/i915: Enable i915 perf stream for Haswell OA unit

2016-05-04 Thread Martin Peres
On 03/05/16 23:03, Robert Bragg wrote: > > > On Tue, May 3, 2016 at 8:34 PM, Robert Bragg <mailto:robert at sixbynine.org>> wrote: > > Sorry for the delay replying to this, I missed it. > > On Sat, Apr 23, 2016 at 11:34 AM, Martin Peres <mailt

XDC 2016 : Call for paper

2016-05-13 Thread Martin Peres
if you are attending please add your name as early as possible. I am looking forward to seeing you there, if you have any inquiries/questions, please send them to me (please also CC: board at foundation.x.org). Martin Peres [0] https://www.google.fi/maps/place/Ratapihantie+13,+0052

[PATCH] nouveau: add coherent BO attribute

2015-05-20 Thread Martin Peres
On 20/05/15 08:11, Alexandre Courbot wrote: > On Fri, May 15, 2015 at 8:39 PM, Maarten Lankhorst > wrote: >> Op 15-05-15 om 09:11 schreef Alexandre Courbot: >>> Re-pinging Marteen on an email address that still exists :P >>> >>> On Wed, Apr 22, 2015 at 6:08 PM, Alexandre Courbot >>> wrote:

[Nouveau] [PATCH v2] nouveau: add coherent BO attribute

2015-05-21 Thread Martin Peres
On 21/05/2015 11:47, Ben Skeggs wrote: > On 21 May 2015 at 16:08, Alexandre Courbot wrote: >> Add a flag allowing Nouveau to specify that an object should be coherent >> at allocation time. This is required for some class of objects like >> fences which are randomly-accessed by both the CPU and GP

[Nouveau] [PATCH v2] nouveau: add coherent BO attribute

2015-05-26 Thread Martin Peres
On 26/05/2015 16:23, Alexandre Courbot wrote: > On Sun, May 24, 2015 at 3:26 PM, Maarten Lankhorst > wrote: >> Op 23-05-15 om 08:45 schreef Alexandre Courbot: >>> On Fri, May 22, 2015 at 3:23 AM, Martin Peres >>> wrote: >>>> On 21/05/2015 11:47, Ben S

XDC 2016 : Call for paper

2016-07-12 Thread Martin Peres
On 13/05/16 01:56, Martin Peres wrote: > Hello, > > I have the pleasure to announce that the X.org Developer Conference 2016 > will be held in Helsinki from September 21 to September 23. The venue is > located at Haaga-Helia university[0], next to the Pasila station. > > The

unparseable, undocumented /sys/class/drm/.../pstate

2014-06-23 Thread Martin Peres
Le 23/06/2014 18:40, Ilia Mirkin a ?crit : > On Mon, Jun 23, 2014 at 12:36 PM, Greg KH wrote: >> On Mon, Jun 23, 2014 at 12:18:51PM -0400, Ilia Mirkin wrote: >> A list of valid "values" that a file can be in is fine if you just then >> write one value back to that file. That's the one exception,

unparseable, undocumented /sys/class/drm/.../pstate

2014-06-23 Thread Martin Peres
Le 23/06/2014 19:56, Ilia Mirkin a ?crit : > On Mon, Jun 23, 2014 at 1:46 PM, Martin Peres wrote: >> Le 23/06/2014 18:40, Ilia Mirkin a ?crit : >>> >>> On Mon, Jun 23, 2014 at 12:36 PM, Greg KH wrote: >>>> >>>> On Mon, Jun 23, 2014 at 12:18:

Re: nouveau: temperature on nv40 is unavailable since ad40d73ef533ab0ad16b4a1ab2f7870c1f8ab954

2013-08-13 Thread Martin Peres
On 13/08/2013 05:56, Pali Rohár wrote: Hello, after commit ad40d73ef533ab0ad16b4a1ab2f7870c1f8ab954 temperature information from lm sensors is not available on my Nvidia 6600GT graphics card. There is no nouveau hwmon entry in sysfs anymore. Why it was removed? Can I help with debugging? I'd lik

Re: nouveau: temperature on nv40 is unavailable since ad40d73ef533ab0ad16b4a1ab2f7870c1f8ab954

2013-08-13 Thread Martin Peres
On 13/08/2013 09:23, Pali Rohár wrote: On Tuesday 13 August 2013 09:01:19 Martin Peres wrote: On 13/08/2013 05:56, Pali Rohár wrote: Hello, after commit ad40d73ef533ab0ad16b4a1ab2f7870c1f8ab954 temperature information from lm sensors is not available on my Nvidia 6600GT graphics card. There

Re: nouveau: temperature on nv40 is unavailable since ad40d73ef533ab0ad16b4a1ab2f7870c1f8ab954

2013-08-13 Thread Martin Peres
On 13/08/2013 09:53, Pali Rohár wrote: On utorok, 13. augusta 2013 15:32:45 CEST, Martin Peres wrote: On 13/08/2013 09:23, Pali Rohár wrote: On Tuesday 13 August 2013 09:01:19 Martin Peres wrote: ... You can check the temperature by running nvidia-settings. If you can't see the temper

Re: nouveau: temperature on nv40 is unavailable since ad40d73ef533ab0ad16b4a1ab2f7870c1f8ab954

2013-08-14 Thread Martin Peres
On 14/08/2013 05:02, Pali Rohár wrote: On Tuesday 13 August 2013 15:55:28 Martin Peres wrote: On 13/08/2013 09:53, Pali Rohár wrote: On utorok, 13. augusta 2013 15:32:45 CEST, Martin Peres wrote: On 13/08/2013 09:23, Pali Rohár wrote: On Tuesday 13 August 2013 09:01:19 Martin Peres wrote

Re: nouveau: temperature on nv40 is unavailable since ad40d73ef533ab0ad16b4a1ab2f7870c1f8ab954

2013-08-15 Thread Martin Peres
On 15/08/2013 03:24, Pali Rohár wrote: On Thursday 15 August 2013 04:07:24 Martin Peres wrote: On 14/08/2013 05:02, Pali Rohár wrote: On Tuesday 13 August 2013 15:55:28 Martin Peres wrote: On 13/08/2013 09:53, Pali Rohár wrote: On utorok, 13. augusta 2013 15:32:45 CEST, Martin Peres wrote

Re: [PATCH] nouveau reclocking on nv40 not working since 77145f1cbdf8d28b46ff8070ca749bad821e0774

2013-08-15 Thread Martin Peres
On 15/08/2013 13:46, Pali Rohár wrote: On Tuesday 13 August 2013 11:28:01 Pali Rohár wrote: Hello, in commit 77145f1cbdf8d28b46ff8070ca749bad821e0774 was introduced error which cause that on my Nvidia 6600GT card reclocking not working anymore. There is missing assigment of return value from pl

Re: [PATCH] nouveau reclocking on nv40 not working since 77145f1cbdf8d28b46ff8070ca749bad821e0774

2013-08-18 Thread Martin Peres
On 16/08/2013 03:16, Pali Rohár wrote: On Thursday 15 August 2013 18:23:06 Martin Peres wrote: On 15/08/2013 13:46, Pali Rohár wrote: On Tuesday 13 August 2013 11:28:01 Pali Rohár wrote: Hello, in commit 77145f1cbdf8d28b46ff8070ca749bad821e0774 was introduced error which cause that on my

Re: nouveau: temperature on nv40 is unavailable since ad40d73ef533ab0ad16b4a1ab2f7870c1f8ab954

2013-08-21 Thread Martin Peres
On 16/08/2013 09:14, Pali Rohár wrote: On Thursday 15 August 2013 18:21:51 Martin Peres wrote: On 15/08/2013 03:24, Pali Rohár wrote: On Thursday 15 August 2013 04:07:24 Martin Peres wrote: On 14/08/2013 05:02, Pali Rohár wrote: On Tuesday 13 August 2013 15:55:28 Martin Peres wrote: On 13

Re: [PATCH v2 0/6] DRM: VMA Access Management and Render Nodes

2013-08-23 Thread Martin Peres
Le 23/08/2013 13:13, David Herrmann a écrit : Hi I reduced the vma access-management patches to a minimum. I now do filp* tracking in gem unconditionally and force drm_gem_mmap() to check this. Hence, all gem drivers are safe now. For TTM drivers, I now use the already available verify_access()

Re: [Nouveau] [PATCH] drm/nouveau: do not move buffers when not needed

2013-08-23 Thread Martin Peres
ing issues on my nvc4, but the framerate is much smoother than it was before this patch. Tested-by: Martin Peres --- diff --git a/drivers/gpu/drm/nouveau/nouveau_bo.c b/drivers/gpu/drm/nouveau/nouveau_bo.c index d506da5..762bfcd 100644 --- a/drivers/gpu/drm/nouveau/nouveau_bo.c +++ b/driver

Re: [PATCH v2 0/6] DRM: VMA Access Management and Render Nodes

2013-08-25 Thread Martin Peres
On 25/08/2013 17:09, David Herrmann wrote: Hi On Fri, Aug 23, 2013 at 2:00 PM, Martin Peres wrote: Le 23/08/2013 13:13, David Herrmann a écrit : Hi I reduced the vma access-management patches to a minimum. I now do filp* tracking in gem unconditionally and force drm_gem_mmap() to check

Re: [PATCH] dma-buf: Expose buffer size to userspace (v2)

2013-09-04 Thread Martin Peres
Hi Christopher, Le 04/09/2013 05:15, Christopher James Halse Rogers a écrit : Each dma-buf has an associated size and it's reasonable for userspace to want to know what it is. Since userspace already has an fd, expose the size using the size = lseek(fd, SEEK_END, 0); lseek(fd, SEEK_CUR, 0); idio

Re: [PATCH] dma-buf: Expose buffer size to userspace (v2)

2013-09-04 Thread Martin Peres
Le 04/09/2013 14:05, Daniel Vetter a écrit : On Wed, Sep 04, 2013 at 12:24:27PM +0200, Martin Peres wrote: Hi Christopher, Le 04/09/2013 05:15, Christopher James Halse Rogers a écrit : Each dma-buf has an associated size and it's reasonable for userspace to want to know what it is.

Implementing Miracast?

2015-12-03 Thread Martin Peres
On 03/12/15 18:38, Ilia Mirkin wrote: > On Thu, Dec 3, 2015 at 11:10 AM, Laurent Pinchart > wrote: >> Hi Ilia, >> >> On Thursday 03 December 2015 11:03:28 Ilia Mirkin wrote: >>> On Thu, Dec 3, 2015 at 10:53 AM, Laurent Pinchart wrote: On Thursday 03 December 2015 10:42:50 Ilia Mirkin wrote: >

Implementing Miracast?

2015-12-04 Thread Martin Peres
On 04/12/15 10:07, Daniel Vetter wrote: > > Hm for virtual devices like this I figured there's no point exporting the > full kms api to userspace, but instead we'd just need a simple kms driver > with just 1 crtc and 1 connector per drm_device. Yes, we do not need anything more. But don't forget t

dumb BOs and prime

2015-12-04 Thread Martin Peres
On 04/12/15 19:49, Rob Herring wrote: > I'm working on getting Android working with DRM drivers. ATM, I'm > using virtio-gpu as the driver and trying to get just KMS side working > without rendering. I have it working with stock AOSP and the emulated > fb with a few additions to the virtio-gpu driv

Implementing Miracast?

2015-12-08 Thread Martin Peres
On 08/12/15 13:59, David Herrmann wrote: > Hi > > On Fri, Dec 4, 2015 at 9:07 AM, Daniel Vetter wrote: >> On Thu, Dec 03, 2015 at 07:26:31PM +0200, Martin Peres wrote: >>> You are right Ilia, this is indeed what Jaakko and I had in mind, but they >>> did not re-

Implementing Miracast?

2015-12-10 Thread Martin Peres
On 08/12/15 19:24, David Herrmann wrote: > Hi > > On Tue, Dec 8, 2015 at 5:39 PM, Martin Peres wrote: >> On 08/12/15 13:59, David Herrmann wrote: >>> I looked into all this when working on WFD, but I cannot recommend >>> going down that road. First of all, y

XDC2014: Call for paper

2014-09-08 Thread Martin Peres
Le 02/05/2014 00:52, Martin Peres a ?crit : > Hello, > > I have the pleasure to announce that the X.org Developer Conference 2014 > will > be held in Bordeaux, France from October 8th to October 10th. The venue is > located in the campus of the University of Bordeaux 1, in the

[PATCH] drm/nouveau/iccsense: fix ifnullfree.cocci warnings

2016-04-13 Thread Martin Peres
lle/free/ifnullfree.cocci > > CC: Karol Herbst > Signed-off-by: Fengguang Wu Signed-off-by: Martin Peres

[PATCH] drm/nouveau/nvbios/iccsense: fix semicolon.cocci warnings

2016-04-13 Thread Martin Peres
On 13/04/16 08:13, kbuild test robot wrote: > drivers/gpu/drm/nouveau/nvkm/subdev/bios/iccsense.c:96:3-4: Unneeded semicolon > > > Remove unneeded semicolon. > > Generated by: scripts/coccinelle/misc/semicolon.cocci > > CC: Martin Peres > Signed-off-by: Fengguang Wu Signed-off-by: Martin Peres

[PATCH 5/9] drm/i915: Enable i915 perf stream for Haswell OA unit

2016-04-23 Thread Martin Peres
On 20/04/16 17:23, Robert Bragg wrote: > Gen graphics hardware can be set up to periodically write snapshots of > performance counters into a circular buffer via its Observation > Architecture and this patch exposes that capability to userspace via the > i915 perf interface. > > Cc: Chris Wilson >

Re: [Nouveau] [PATCH] drm/nouveau: Don't disable polling in fallback mode

2018-09-14 Thread Martin Peres
ld only be called when changing the pstate. However, in the absence of ANY information, we fallback to a temperature-based management which requires constant polling, so the patch is accurate and poll = false should only be set if we have a cstate. So, the patch is Reviewed-by: Martin Peres >

nouveau: temperature on nv40 is unavailable since ad40d73ef533ab0ad16b4a1ab2f7870c1f8ab954

2013-08-13 Thread Martin Peres
On 13/08/2013 05:56, Pali Roh?r wrote: > Hello, > > after commit ad40d73ef533ab0ad16b4a1ab2f7870c1f8ab954 temperature information > from lm sensors is not available on my Nvidia 6600GT graphics card. There is > no nouveau hwmon entry in sysfs anymore. Why it was removed? Can I help with > debugging

nouveau: temperature on nv40 is unavailable since ad40d73ef533ab0ad16b4a1ab2f7870c1f8ab954

2013-08-13 Thread Martin Peres
On 13/08/2013 09:23, Pali Roh?r wrote: > On Tuesday 13 August 2013 09:01:19 Martin Peres wrote: >> On 13/08/2013 05:56, Pali Roh?r wrote: >>> Hello, >>> >>> after commit ad40d73ef533ab0ad16b4a1ab2f7870c1f8ab954 temperature >>> information from lm

nouveau: temperature on nv40 is unavailable since ad40d73ef533ab0ad16b4a1ab2f7870c1f8ab954

2013-08-13 Thread Martin Peres
On 13/08/2013 09:53, Pali Roh?r wrote: > On utorok, 13. augusta 2013 15:32:45 CEST, Martin Peres wrote: >> On 13/08/2013 09:23, Pali Roh?r wrote: >>> On Tuesday 13 August 2013 09:01:19 Martin Peres wrote: >> ... >> You can check the temperature by running nvidia-set

nouveau: temperature on nv40 is unavailable since ad40d73ef533ab0ad16b4a1ab2f7870c1f8ab954

2013-08-14 Thread Martin Peres
On 14/08/2013 05:02, Pali Roh?r wrote: > On Tuesday 13 August 2013 15:55:28 Martin Peres wrote: >> On 13/08/2013 09:53, Pali Roh?r wrote: >>> On utorok, 13. augusta 2013 15:32:45 CEST, Martin Peres > wrote: >>>> On 13/08/2013 09:23, Pali Roh?r wrote: >>>&g

nouveau: temperature on nv40 is unavailable since ad40d73ef533ab0ad16b4a1ab2f7870c1f8ab954

2013-08-15 Thread Martin Peres
On 15/08/2013 03:24, Pali Roh?r wrote: > On Thursday 15 August 2013 04:07:24 Martin Peres wrote: >> On 14/08/2013 05:02, Pali Roh?r wrote: >>> On Tuesday 13 August 2013 15:55:28 Martin Peres wrote: >>>> On 13/08/2013 09:53, Pali Roh?r wrote: >>>>> On u

[PATCH] nouveau reclocking on nv40 not working since 77145f1cbdf8d28b46ff8070ca749bad821e0774

2013-08-15 Thread Martin Peres
On 15/08/2013 13:46, Pali Roh?r wrote: > On Tuesday 13 August 2013 11:28:01 Pali Roh?r wrote: >> Hello, >> >> in commit 77145f1cbdf8d28b46ff8070ca749bad821e0774 was >> introduced error which cause that on my Nvidia 6600GT card >> reclocking not working anymore. There is missing assigment of >> retu

[PATCH] nouveau reclocking on nv40 not working since 77145f1cbdf8d28b46ff8070ca749bad821e0774

2013-08-16 Thread Martin Peres
On 16/08/2013 03:16, Pali Roh?r wrote: > On Thursday 15 August 2013 18:23:06 Martin Peres wrote: >> On 15/08/2013 13:46, Pali Roh?r wrote: >>> On Tuesday 13 August 2013 11:28:01 Pali Roh?r wrote: >>>> Hello, >>>> >>>> in commit 77145f1cbdf8

nouveau: temperature on nv40 is unavailable since ad40d73ef533ab0ad16b4a1ab2f7870c1f8ab954

2013-08-21 Thread Martin Peres
On 16/08/2013 09:14, Pali Roh?r wrote: > On Thursday 15 August 2013 18:21:51 Martin Peres wrote: >> On 15/08/2013 03:24, Pali Roh?r wrote: >>> On Thursday 15 August 2013 04:07:24 Martin Peres wrote: >>>> On 14/08/2013 05:02, Pali Roh?r wrote: >>>>> On

[PATCH v2 0/6] DRM: VMA Access Management and Render Nodes

2013-08-23 Thread Martin Peres
Le 23/08/2013 13:13, David Herrmann a ?crit : > Hi > > I reduced the vma access-management patches to a minimum. I now do filp* > tracking in gem unconditionally and force drm_gem_mmap() to check this. Hence, > all gem drivers are safe now. For TTM drivers, I now use the already available > verify_

[Nouveau] [PATCH] drm/nouveau: do not move buffers when not needed

2013-08-24 Thread Martin Peres
as its own VM, instead of only having the first BAR1-size chunk of > VRAM accessible. > nouveau_bo_tile_layout is always 0 on < NV_50. > > Signed-off-by: Maarten Lankhorst There are still some rendering issues on my nvc4, but the framerate is much smoother than it was before this pat

[PATCH v2 0/6] DRM: VMA Access Management and Render Nodes

2013-08-25 Thread Martin Peres
On 25/08/2013 17:09, David Herrmann wrote: > Hi > > On Fri, Aug 23, 2013 at 2:00 PM, Martin Peres wrote: >> Le 23/08/2013 13:13, David Herrmann a ?crit : >> >>> Hi >>> >>> I reduced the vma access-management patches to a minimum. I now do fil

Re: [PATCH] drm/nouveau: Document nouveau support for Tegra in DRIVER_DESC

2017-10-01 Thread Martin Peres
he problem is that we do not support all Tegras. How about Tegra TK1+? I really do not care much about this string, but I guess I probably should a bit. With the TK1 added, this is: Reviewed-by" Martin Peres > #define DRIVER_DATE "20120801" > > #define DRIVER_M

Re: Aspirant for GSOC 2018 for Nouveau Vulkan driver

2018-03-07 Thread Martin Peres
Hi Anusha, Sorry, I was under the expectation that userspace developers would answer you after your first message, and I missed your second one! My sincere apologies. Generally, the process is that the student should research the topic by first asking questions to developers about the effort, the

Google Summer of Code 2018

2018-02-26 Thread Martin Peres
Hi everyone, Just a quick word to remind you that the X.Org Foundation got accepted to the Google Summer of Code 2018! As a potential mentor, if you have a project falling under the foundation's (large) umbrella that you would like to kick start or get help finishing, please add it to the list on

Re: [RFC 1/4] drm/nouveau: Add support for basic clockgating on Kepler1

2018-01-21 Thread Martin Peres
s/gpu/drm/nouveau/nvkm/subdev/therm/Kbuild > @@ -10,6 +10,7 @@ nvkm-y += nvkm/subdev/therm/nv50.o > nvkm-y += nvkm/subdev/therm/g84.o > nvkm-y += nvkm/subdev/therm/gt215.o > nvkm-y += nvkm/subdev/therm/gf119.o > +nvkm-y += nvkm/subdev/therm/gk104.o > nvkm-y += nvkm/subdev/therm

Re: [RFC v3 2/4] drm/nouveau: Add support for BLCG on Kepler1

2018-01-27 Thread Martin Peres
bring up the GPU. However, the values used by > the vbios are more power hungry then they need to be, so the nvidia driver then -> than. With the comment about not exposing clock gating until patch 2, 3, and 4 have landed addressed, the series is: Reviewed-by: Martin Peres Thanks a lot!

Re: [RFC v3 1/4] drm/nouveau: Add support for basic clockgating on Kepler1

2018-01-27 Thread Martin Peres
; @@ -10,6 +10,7 @@ nvkm-y += nvkm/subdev/therm/nv50.o > nvkm-y += nvkm/subdev/therm/g84.o > nvkm-y += nvkm/subdev/therm/gt215.o > nvkm-y += nvkm/subdev/therm/gf119.o > +nvkm-y += nvkm/subdev/therm/gk104.o > nvkm-y += nvkm/subdev/therm/gm107.o > nvkm-y += nvkm/subdev/therm/gm20

Linux 3.7-rc1 (nouveau_bios_score oops).

2012-10-20 Thread Martin Peres
On 10/19/12 23:25, Linus Torvalds wrote: > Added more appropriate people to this. Added both i915 and nouveau > people, since apparently that fine piece of hardware has both. > > Guys, any ideas? > > Pawe?, could you perhaps get a photo of the oops and post it > somewhere? I'm assuming the oops hap

  1   2   3   >