[Intel-gfx] [PATCH] drm/i915: edp resume/On time optimization.

2015-12-21 Thread abhay . kumar
From: Abhay Kumar Make resume/on codepath not to wait for panel_power_cycle_delay(t11_t12) if this time is already spent in suspend/poweron time. v2: Use CLOCK_BOOTTIME and remove jiffies for panel power cycle delay calculation(Ville). Cc: Ville Syrjälä Signed-off-by: Abhay Kumar --- dri

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

2015-12-21 Thread Wang, Gary C
Sorry for my incorrect grammar on my patch. It should be following description (mdelay-->msleep), ... v2: - straight up to loop execution for more clear in code readability - mdelay will be replaced with msleep by Daniel's new patch drm/i915: mdelay(10) considered harmful ... Gary -O

Re: [Intel-gfx] [PATCH v2] drm/i915/skl: Increase ddb blocks to support large cursor sizes

2015-12-21 Thread Kumar, Shobhit
On 12/21/2015 09:02 PM, Matt Roper wrote: On Mon, Dec 21, 2015 at 11:15:04AM +0530, Kumar, Shobhit wrote: On 12/19/2015 08:14 AM, Matt Roper wrote: On Fri, Dec 18, 2015 at 03:58:52PM -0800, Radhakrishna Sripada wrote: Original value of 32 blocks is not sufficient when using cursor size of 256x

[Intel-gfx] [PATCH 02/10] drm/i915: Use insert_page for pwrite_fast

2015-12-21 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

[Intel-gfx] [PATCH 09/10] acpi: Export acpi_bus_type

2015-12-21 Thread ankitprasad . r . sharma
From: Ankitprasad Sharma Some modules, like i915.ko, needs to detect when certain ACPI features are active inorder to prevent corruption on contended resources. In particular, use of BIOS RapidStart Technology may corrupt the contents of the reserved graphics memory, due to unalarmed hibernation.

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

2015-12-21 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 06/10] drm/i915: Add support for stealing purgable stolen pages

2015-12-21 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 05/10] drm/i915: Propagating correct error codes to the userspace

2015-12-21 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 04/10] drm/i915: Support for creating Stolen memory backed objects

2015-12-21 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 07/10] drm/i915: Support for pread/pwrite from/to non shmem backed objects

2015-12-21 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 03/10] drm/i915: Clearing buffer objects via CPU/GTT

2015-12-21 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 08/10] drm/i915: Migrate stolen objects before hibernation

2015-12-21 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 10/10] drm/i915: Disable use of stolen area by User when Intel RST is present

2015-12-21 Thread ankitprasad . r . sharma
From: Ankitprasad Sharma The BIOS RapidStartTechnology may corrupt the stolen memory across S3 suspend due to unalarmed hibernation, in which case we will not be able to preserve the User data stored in the stolen region. Hence this patch tries to identify presence of the RST device on the ACPI b

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

2015-12-21 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

Re: [Intel-gfx] [PATCH 02/10] drm/i915: Use insert_page for pwrite_fast

2015-12-21 Thread kbuild test robot
Hi Ankitprasad, [auto build test ERROR on drm-intel/for-linux-next] [also build test ERROR on v4.4-rc6 next-20151221] url: https://github.com/0day-ci/linux/commits/ankitprasad-r-sharma-intel-com/Support-for-creating-using-Stolen-memory-backed-objects/20151222-144648 base: git

[Intel-gfx] ✗ failure: Fi.CI.BAT

2015-12-21 Thread Patchwork
== Summary == Built on 78deeec98b10627fe2050ce8ebfa2ea2d5b9e6c7 drm-intel-nightly: 2015y-12m-21d-16h-03m-57s UTC integration manifest Test gem_mmap_gtt: Subgroup basic-small-bo: dmesg-warn -> PASS (bdw-nuci7) Test gem_storedw_loop: Subgroup basic-render:

[Intel-gfx] ✗ failure: Fi.CI.BAT

2015-12-21 Thread Patchwork
== Summary == HEAD is now at 78deeec drm-intel-nightly: 2015y-12m-21d-16h-03m-57s UTC integration manifest Applying: drm, i915: Fix pointer size cast Using index info to reconstruct a base tree... M drivers/gpu/drm/i915/intel_display.c Falling back to patching base and 3-way merge... Auto-m

<    1   2