Re: [Intel-gfx] [PATCH v3] drm/i915/gvt: return the actual aperture size under gvt environment

2017-05-07 Thread Li, Weinan Z
Hi Joonas/Chris, do you have any comments? I've asked OCL team for this patch, they also agree to use available aperture size for max allocation buffer definition, code confirmation ongoing. > -Original Message- > From: Li, Weinan Z > Sent: Wednesday, May 3, 2017 8:51 AM > To: intel-gfx@l

Re: [Intel-gfx] [PATCH] drm/i915: Make vblank evade warnings optional

2017-05-07 Thread Jens Axboe
On 05/07/2017 11:56 AM, Daniel Vetter wrote: > On Sun, May 7, 2017 at 7:46 PM, Jens Axboe wrote: >> On 05/07/2017 11:12 AM, ville.syrj...@linux.intel.com wrote: >>> From: Ville Syrjälä >>> >>> Add a new Kconfig option to enable/disable the extra warnings >>> from the vblank evade code. For now we

Re: [Intel-gfx] [PATCH] drm/i915: Make vblank evade warnings optional

2017-05-07 Thread Daniel Vetter
On Sun, May 7, 2017 at 7:46 PM, Jens Axboe wrote: > On 05/07/2017 11:12 AM, ville.syrj...@linux.intel.com wrote: >> From: Ville Syrjälä >> >> Add a new Kconfig option to enable/disable the extra warnings >> from the vblank evade code. For now we'll keep the warning >> about an actually missed vbl

Re: [Intel-gfx] [PATCH] drm/i915: Make vblank evade warnings optional

2017-05-07 Thread Jens Axboe
On 05/07/2017 11:12 AM, ville.syrj...@linux.intel.com wrote: > From: Ville Syrjälä > > Add a new Kconfig option to enable/disable the extra warnings > from the vblank evade code. For now we'll keep the warning > about an actually missed vblank always enabled as that can have > an actual user visi

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Make vblank evade warnings optional

2017-05-07 Thread Patchwork
== Series Details == Series: drm/i915: Make vblank evade warnings optional URL : https://patchwork.freedesktop.org/series/24082/ State : success == Summary == Series 24082v1 drm/i915: Make vblank evade warnings optional https://patchwork.freedesktop.org/api/1.0/series/24082/revisions/1/mbox/

[Intel-gfx] [PATCH] drm/i915: Make vblank evade warnings optional

2017-05-07 Thread ville . syrjala
From: Ville Syrjälä Add a new Kconfig option to enable/disable the extra warnings from the vblank evade code. For now we'll keep the warning about an actually missed vblank always enabled as that can have an actual user visible impact. But if we miss the deadline othrwise there's no real need to

[Intel-gfx] [PATCH v2 2/2] drm/i915: Deal with upside-down mounted LCD panels

2017-05-07 Thread Hans de Goede
On some (Bay Trail) devices the LCD panel is mounted upside-down. This commit uses the code to read back the initial rotation of the primary plane in get_initial_plane_config from Ville Syrjala's "drm/fb-helper: Inherit rotation wip" patch and when re-using the initial fb it stores that in intel_c

[Intel-gfx] [PATCH v2 1/2] drm/i915: intel_crtc_page_flip: Add intel_state local variable

2017-05-07 Thread Hans de Goede
Add intel_state local variable to avoid recalling to_intel_plane_state all the time. Signed-off-by: Hans de Goede --- drivers/gpu/drm/i915/intel_display.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/

[Intel-gfx] [PATCH 2/2] drm/i915: Deal with upside-down mounted LCD panels

2017-05-07 Thread Hans de Goede
On some (Bay Trail) devices the LCD panel is mounted upside-down. This commit uses the code to read back the initial rotation of the primary plane in get_initial_plane_config from Ville Syrjala's "drm/fb-helper: Inherit rotation wip" patch and when re-using the initial fb it stores that in intel_c

[Intel-gfx] [PATCH 1/2] drm/i915: intel_crtc_page_flip: Add intel_state local variable

2017-05-07 Thread Hans de Goede
Add intel_state local variable to avoid recalling to_intel_plane_state all the time. Signed-off-by: Hans de Goede --- drivers/gpu/drm/i915/intel_display.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/

Re: [Intel-gfx] [PATCH 1/2] drm: Make fbdev inherit the crtc's initial rotation

2017-05-07 Thread Hans de Goede
Hi, On 30-04-17 21:34, Hans de Goede wrote: Hi, On 27-04-17 18:39, Bastien Nocera wrote: On Thu, 2017-04-27 at 19:24 +0300, Ville Syrjälä wrote: Well, there are really two cases to consider: 1. BIOS/whatever configures display hardware rotation in a way that matches the orientation o