[Intel-gfx] [PATCH v2 04/13] drm/i915: make i915_gem_gtt.h self-contained

Jani Nikula jani.nikula at intel.com
Wed Jun 26 15:51:56 UTC 2019


On Wed, 26 Jun 2019, Jani Nikula <jani.nikula at intel.com> wrote:
> On Wed, 26 Jun 2019, Michal Wajdeczko <michal.wajdeczko at intel.com> wrote:
>> On Wed, 26 Jun 2019 16:40:11 +0200, Jani Nikula <jani.nikula at intel.com>  
>> wrote:
>>
>>> Add the minimal includes/declarations to make the header self-contained,
>>> and ensure it stays that way.
>>>
>>> Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
>>> Signed-off-by: Jani Nikula <jani.nikula at intel.com>
>>> ---
>>>  drivers/gpu/drm/i915/i915_gem_gtt.h | 2 ++
>>>  1 file changed, 2 insertions(+)
>>>
>>> diff --git a/drivers/gpu/drm/i915/i915_gem_gtt.h  
>>> b/drivers/gpu/drm/i915/i915_gem_gtt.h
>>> index 028be3b44d07..883a5ed146c3 100644
>>> --- a/drivers/gpu/drm/i915/i915_gem_gtt.h
>>> +++ b/drivers/gpu/drm/i915/i915_gem_gtt.h
>>> @@ -42,6 +42,8 @@
>>> #include <drm/drm_mm.h>
>>> +#include <drm/drm_mm.h>
>>
>> this seems to be redundant ;)
>
> Gah, curiously silent rebase fail. Thanks for spotting!

Heh, I went back to fix it, but we can just drop this one. It was all
done by Chris in b32fa8111563 ("drm/i915/gtt: Defer address space
cleanup to an RCU worker").

J.





>
> BR,
> Jani.
>
>>
>>> +
>>>  #include "gt/intel_reset.h"
>>>  #include "i915_gem_fence_reg.h"
>>>  #include "i915_request.h"

-- 
Jani Nikula, Intel Open Source Graphics Center


More information about the Intel-gfx mailing list