Re: [PATCH 3/8] drm/i915: add dev_priv->mm.stolen_lock

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jul 02, 2015 at 07:25:09PM -0300, Paulo Zanoni wrote:
> From: Paulo Zanoni <paulo.r.zanoni@xxxxxxxxx>
> 
> Which should protect dev_priv->mm.stolen usage. This will allow us to
> simplify the relationship between stolen memory, FBC and struct_mutex.
> 
> v2:
>   - Rebase after the stolen_remove_node() dev_priv patch move.
>   - I realized that after we fixed a few things related to the FBC CFB
>     size checks, we're not reallocating the CFB anymore with FBC
>     enabled, so we can just move all the locking to i915_gem_stolen.c
>     and stop worrying about freezing all the stolen alocations while
>     freeing/rellocating the CFB. This allows us to fix the "Too
>     coarse" observation from Chris.
> 
> Suggested-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
> Signed-off-by: Paulo Zanoni <paulo.r.zanoni@xxxxxxxxx>
Reviewed-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux