diff mbox series

drm/i915/display: Include i915_active header in frontbuffer tracking code

Message ID 20230929112047.1151914-1-jouni.hogander@intel.com (mailing list archive)
State New, archived
Headers show
Series drm/i915/display: Include i915_active header in frontbuffer tracking code | expand

Commit Message

Hogander, Jouni Sept. 29, 2023, 11:20 a.m. UTC
Intel frontbuffer tracking code is using i915_active functions -> include
i915_active.h directly instead of relying getting indirectly included.

Cc: Jani Nikula <jani.nikula@intel.com>

Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
---
 drivers/gpu/drm/i915/display/intel_frontbuffer.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Jani Nikula Sept. 29, 2023, 11:28 a.m. UTC | #1
On Fri, 29 Sep 2023, Jouni Högander <jouni.hogander@intel.com> wrote:
> Intel frontbuffer tracking code is using i915_active functions -> include
> i915_active.h directly instead of relying getting indirectly included.
>
> Cc: Jani Nikula <jani.nikula@intel.com>
>
> Signed-off-by: Jouni Högander <jouni.hogander@intel.com>

Reviewed-by: Jani Nikula <jani.nikula@intel.com>


> ---
>  drivers/gpu/drm/i915/display/intel_frontbuffer.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_frontbuffer.c b/drivers/gpu/drm/i915/display/intel_frontbuffer.c
> index 412a19a888a2..ec46716b2f49 100644
> --- a/drivers/gpu/drm/i915/display/intel_frontbuffer.c
> +++ b/drivers/gpu/drm/i915/display/intel_frontbuffer.c
> @@ -56,6 +56,7 @@
>   */
>  
>  #include "gem/i915_gem_object_frontbuffer.h"
> +#include "i915_active.h"
>  #include "i915_drv.h"
>  #include "intel_display_trace.h"
>  #include "intel_display_types.h"
Hogander, Jouni Oct. 2, 2023, 5:45 a.m. UTC | #2
On Fri, 2023-09-29 at 14:28 +0300, Jani Nikula wrote:
> On Fri, 29 Sep 2023, Jouni Högander <jouni.hogander@intel.com> wrote:
> > Intel frontbuffer tracking code is using i915_active functions ->
> > include
> > i915_active.h directly instead of relying getting indirectly
> > included.
> > 
> > Cc: Jani Nikula <jani.nikula@intel.com>
> > 
> > Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
> 
> Reviewed-by: Jani Nikula <jani.nikula@intel.com>

Thank you Jani. This is now merged.

BR,

Jouni Högander

> 
> 
> > ---
> >  drivers/gpu/drm/i915/display/intel_frontbuffer.c | 1 +
> >  1 file changed, 1 insertion(+)
> > 
> > diff --git a/drivers/gpu/drm/i915/display/intel_frontbuffer.c
> > b/drivers/gpu/drm/i915/display/intel_frontbuffer.c
> > index 412a19a888a2..ec46716b2f49 100644
> > --- a/drivers/gpu/drm/i915/display/intel_frontbuffer.c
> > +++ b/drivers/gpu/drm/i915/display/intel_frontbuffer.c
> > @@ -56,6 +56,7 @@
> >   */
> >  
> >  #include "gem/i915_gem_object_frontbuffer.h"
> > +#include "i915_active.h"
> >  #include "i915_drv.h"
> >  #include "intel_display_trace.h"
> >  #include "intel_display_types.h"
>
diff mbox series

Patch

diff --git a/drivers/gpu/drm/i915/display/intel_frontbuffer.c b/drivers/gpu/drm/i915/display/intel_frontbuffer.c
index 412a19a888a2..ec46716b2f49 100644
--- a/drivers/gpu/drm/i915/display/intel_frontbuffer.c
+++ b/drivers/gpu/drm/i915/display/intel_frontbuffer.c
@@ -56,6 +56,7 @@ 
  */
 
 #include "gem/i915_gem_object_frontbuffer.h"
+#include "i915_active.h"
 #include "i915_drv.h"
 #include "intel_display_trace.h"
 #include "intel_display_types.h"