Re: [Intel-gfx] [PATCH] tests/kms_color:Color IGT

2015-12-13 Thread R, Dhanya p
HI Rob, Thanks for the feedback. Please find my comments inline. Regards, Dhanya On 12/11/2015 9:05 PM, Rob Bradford wrote: On Fri, 2015-12-11 at 16:01 +0530, Dhanya Pillai wrote: From: Dhanya This patch will verify color correction capability of a display driver. Gamma/CSC/De-gamma for SKL/

Re: [Intel-gfx] [RFC libdrm] intel: Add support for softpin

2015-12-13 Thread Song, Ruiling
> -Original Message- > From: hoegsb...@gmail.com [mailto:hoegsb...@gmail.com] On Behalf Of > Kristian H?gsberg > Sent: Monday, December 14, 2015 1:34 PM > To: Song, Ruiling > Cc: Winiarski, Michal ; intel- > g...@lists.freedesktop.org; mesa-...@lists.freedesktop.org; Ben Widawsky > ; dri

Re: [Intel-gfx] linux-next: manual merge of the drm-misc tree with Linus' tree

2015-12-13 Thread Thomas Hellstrom
On 12/14/2015 02:12 AM, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the drm-misc tree got conflicts in: > > drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c > drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c > drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c > > between commit: > > 8fbf9d92a7bc ("drm/vmwg

[Intel-gfx] [PATCH] drm/i915: Parsing VBT if size of VBT exceeds 6KB

2015-12-13 Thread Deepak M
Currently the iomap for VBT works only if the size of the VBT is less than 6KB, but if the size of the VBT exceeds 6KB than the physical address and the size of the VBT to be iomapped is specified in the mailbox3 and is iomapped accordingly. v3: -Splitted the patch into small ones -Handeled me

[Intel-gfx] [PATCH 1/9] drm/i915: Allow use of get_dma_address for stolen backed objects

2015-12-13 Thread ankitprasad . r . sharma
From: Ankitprasad Sharma i915_gem_object_get_dma_address function is used to retrieve the dma address of a particular page so as to map it in a given GTT entry for CPU access. This function would be used for stolen backed objects also for tasks like pwrite, clearing of the pages etc. So the obj-

[Intel-gfx] [PATCH v11 0/9] Support for creating/using Stolen memory backed objects

2015-12-13 Thread ankitprasad . r . sharma
From: Ankitprasad Sharma This patch series adds support for creating/using Stolen memory backed objects. Despite being a unified memory architecture (UMA) some bits of memory are more equal than others. In particular we have the thorny issue of stolen memory, memory stolen from the system by the

[Intel-gfx] [PATCH 6/9] drm/i915: Add support for stealing purgable stolen pages

2015-12-13 Thread ankitprasad . r . sharma
From: Chris Wilson If we run out of stolen memory when trying to allocate an object, see if we can reap enough purgeable objects to free up enough contiguous free space for the allocation. This is in principle very much like evicting objects to free up enough contiguous space in the vma when bind

[Intel-gfx] [PATCH 7/9] drm/i915: Support for pread/pwrite from/to non shmem backed objects

2015-12-13 Thread ankitprasad . r . sharma
From: Ankitprasad Sharma This patch adds support for extending the pread/pwrite functionality for objects not backed by shmem. The access will be made through gtt interface. This will cover objects backed by stolen memory as well as other non-shmem backed objects. v2: Drop locks around slow_user

[Intel-gfx] [PATCH 4/9] drm/i915: Support for creating Stolen memory backed objects

2015-12-13 Thread ankitprasad . r . sharma
From: Ankitprasad Sharma Extend the drm_i915_gem_create structure to add support for creating Stolen memory backed objects. Added a new flag through which user can specify the preference to allocate the object from stolen memory, which if set, an attempt will be made to allocate the object from s

[Intel-gfx] [PATCH 3/9] drm/i915: Clearing buffer objects via CPU/GTT

2015-12-13 Thread ankitprasad . r . sharma
From: Ankitprasad Sharma This patch adds support for clearing buffer objects via CPU/GTT. This is particularly useful for clearing out the non shmem backed objects. Currently intend to use this only for buffers allocated from stolen region. v2: Added kernel doc for i915_gem_clear_object(), corre

[Intel-gfx] [PATCH 8/9] drm/i915: Migrate stolen objects before hibernation

2015-12-13 Thread ankitprasad . r . sharma
From: Chris Wilson Ville reminded us that stolen memory is not preserved across hibernation, and a result of this was that context objects now being allocated from stolen were being corrupted on S4 and promptly hanging the GPU on resume. We want to utilise stolen for as much as possible (nothing

[Intel-gfx] [PATCH 9/9] drm/i915: Fail the execbuff using stolen objects as batchbuffers

2015-12-13 Thread ankitprasad . r . sharma
From: Ankitprasad Sharma Using stolen backed objects as a batchbuffer may result into a kernel panic during relocation. Added a check to prevent the panic and fail the execbuffer call. It is not recommended to use stolen object as a batchbuffer. Signed-off-by: Ankitprasad Sharma --- drivers/gp

[Intel-gfx] [PATCH 5/9] drm/i915: Propagating correct error codes to the userspace

2015-12-13 Thread ankitprasad . r . sharma
From: Ankitprasad Sharma Propagating correct error codes to userspace by using ERR_PTR and PTR_ERR macros for stolen memory based object allocation. We generally return -ENOMEM to the user whenever there is a failure in object allocation. This patch helps user to identify the correct reason for t

[Intel-gfx] [PATCH 2/9] drm/i915: Use insert_page for pwrite_fast

2015-12-13 Thread ankitprasad . r . sharma
From: Ankitprasad Sharma In pwrite_fast, map an object page by page if obj_ggtt_pin fails. First, we try a nonblocking pin for the whole object (since that is fastest if reused), then failing that we try to grab one page in the mappable aperture. It also allows us to handle objects larger than th

Re: [Intel-gfx] [RFC libdrm] intel: Add support for softpin

2015-12-13 Thread Kristian Høgsberg
On Sun, Dec 13, 2015 at 7:17 PM, Song, Ruiling wrote: >> -Original Message- >> From: Intel-gfx [mailto:intel-gfx-boun...@lists.freedesktop.org] On Behalf >> Of Micha? Winiarski >> Sent: Wednesday, September 9, 2015 10:07 PM >> To: intel-gfx@lists.freedesktop.org >> Cc: Ben Widawsky ; dri-d

Re: [Intel-gfx] [PATCH] drm/i915: Wait for PP cycle delay only if panel is in power off sequence

2015-12-13 Thread Kumar, Shobhit
On 12/11/2015 10:30 PM, Daniel Vetter wrote: On Fri, Dec 11, 2015 at 05:11:23PM +0530, Kumar, Shobhit wrote: On 12/11/2015 04:55 PM, Thulasimani, Sivakumar wrote: On 12/10/2015 8:32 PM, Ville Syrjälä wrote: On Thu, Dec 10, 2015 at 08:09:01PM +0530, Thulasimani, Sivakumar wrote: On 12/10/20

Re: [Intel-gfx] [RFC libdrm] intel: Add support for softpin

2015-12-13 Thread Song, Ruiling
> -Original Message- > From: Intel-gfx [mailto:intel-gfx-boun...@lists.freedesktop.org] On Behalf > Of Micha? Winiarski > Sent: Wednesday, September 9, 2015 10:07 PM > To: intel-gfx@lists.freedesktop.org > Cc: Ben Widawsky ; dri-de...@lists.freedesktop.org; > mesa-...@lists.freedesktop.org

Re: [Intel-gfx] [PATCH] drm/i915: Correct max delay for HDMI hotplug live status checking

2015-12-13 Thread Wang, Gary C
I totally agree on Ville and Daniel's comments and am sorry for incorrect text format of some description. Following code should be more clear. It only delays 3 times (30ms delay) at most for checking hot-plug status. - unsigned int retry = 3; + unsigned int retry; DRM_DEBU

Re: [Intel-gfx] [PATCH v2] PM / Runtime: Introduce pm_runtime_get_noidle

2015-12-13 Thread Rafael J. Wysocki
On Saturday, December 12, 2015 07:49:56 PM Chris Wilson wrote: > On Sat, Dec 12, 2015 at 09:40:45PM +0200, Imre Deak wrote: > > On Sat, 2015-12-12 at 02:51 +0100, Rafael J. Wysocki wrote: > > > +bool pm_runtime_get_if_in_use(struct device *dev) > > > +{ > > > + unsigned long flags; > > > + bool ret

[Intel-gfx] linux-next: manual merge of the drm-misc tree with Linus' tree

2015-12-13 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm-misc tree got conflicts in: drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c between commit: 8fbf9d92a7bc ("drm/vmwgfx: Implement the cursor_set2 callback v2") from Linus' tree and

[Intel-gfx] linux-next: manual merge of the drm-misc tree with the drm-intel tree

2015-12-13 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm-misc tree got a conflict in: drivers/gpu/drm/i915/intel_dp.c between commit: 893da0c9bcb2 ("drm/i915: check for return value") from the drm-intel tree and commit: 13a3d91f17a5 ("drm: Pass 'name' to drm_encoder_init()") from the drm-misc tree.

[Intel-gfx] [PATCH 1/1] drm/i915: Enable HAS_RUNTIME_PM for BXT

2015-12-13 Thread Sagar Arun Kamble
From: Sagar Kamble With BXT, now all platforms from GEN6 to GEN9 support Runtime PM except IVB. Cc: Paulo Zanoni Cc: Imre Deak Change-Id: I700bf5092d6462b64499d876efeaea9dfa540380 Signed-off-by: A.Sunil Kamath Signed-off-by: Sagar Kamble --- drivers/gpu/drm/i915/i915_drv.h | 7 +++ 1 fi

Re: [Intel-gfx] [PATCH 1/2] drm/i915: fix the SDE irq dmesg warnings properly

2015-12-13 Thread Chris Wilson
On Wed, Nov 25, 2015 at 04:47:22PM +0200, Jani Nikula wrote: > We had the "The master control interrupt lied (SDE)!" check and error > message in place for a long time without any problems, until > > commit aaf5ec2e51ab1d9c5e962b4728a1107ed3ff7a3e > Author: Sonika Jindal > Date: Wed Jul 8 17:07

Re: [Intel-gfx] [PATCH V4 2/2] drm/i915: start adding dp mst audio

2015-12-13 Thread Takashi Iwai
On Fri, 11 Dec 2015 15:05:08 +0100, Takashi Iwai wrote: > > On Fri, 11 Dec 2015 07:07:53 +0100, > Libin Yang wrote: > > > > Add Takashi and ALSA mail list. > > > > On 12/10/2015 05:02 PM, Daniel Vetter wrote: > > > On Tue, Dec 08, 2015 at 04:01:20PM +0800, Libin Yang wrote: > > >> Hi all, > > >>