drm/i915/gvt: Fix typo of VBLANK_TIMER_PERIOD

Submitted by Zhenyu Wang on June 10, 2019, 9:27 a.m.

Details

Message ID 20190610092750.11307-1-zhenyuw@linux.intel.com
State New
Headers show
Series "drm/i915/gvt: Fix typo of VBLANK_TIMER_PERIOD" ( rev: 1 ) in Intel GVT devel

Not browsing as part of any series.

Commit Message

Zhenyu Wang June 10, 2019, 9:27 a.m.
This fixes typo for VBLANK_TIMER_PERIOD.

Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
---
 drivers/gpu/drm/i915/gvt/interrupt.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch hide | download patch | download mbox

diff --git a/drivers/gpu/drm/i915/gvt/interrupt.c b/drivers/gpu/drm/i915/gvt/interrupt.c
index 951681813230..11accd3e1023 100644
--- a/drivers/gpu/drm/i915/gvt/interrupt.c
+++ b/drivers/gpu/drm/i915/gvt/interrupt.c
@@ -672,7 +672,7 @@  void intel_gvt_clean_irq(struct intel_gvt *gvt)
 	hrtimer_cancel(&irq->vblank_timer.timer);
 }
 
-#define VBLNAK_TIMER_PERIOD 16000000
+#define VBLANK_TIMER_PERIOD 16000000
 
 /**
  * intel_gvt_init_irq - initialize GVT-g IRQ emulation subsystem
@@ -704,7 +704,7 @@  int intel_gvt_init_irq(struct intel_gvt *gvt)
 
 	hrtimer_init(&vblank_timer->timer, CLOCK_MONOTONIC, HRTIMER_MODE_ABS);
 	vblank_timer->timer.function = vblank_timer_fn;
-	vblank_timer->period = VBLNAK_TIMER_PERIOD;
+	vblank_timer->period = VBLANK_TIMER_PERIOD;
 
 	return 0;
 }

Comments


Reviewed-by: Xiong Zhang <xiong.y.zhang@intel.com>

thanks
> -----Original Message-----
> From: intel-gvt-dev [mailto:intel-gvt-dev-bounces@lists.freedesktop.org] On
> Behalf Of Zhenyu Wang
> Sent: Tuesday, August 13, 2019 5:45 PM
> To: intel-gvt-dev <intel-gvt-dev@lists.freedesktop.org>
> Subject: Re: [PATCH] drm/i915/gvt: Fix typo of VBLANK_TIMER_PERIOD
> 
> 
> Anyone help for review?
> 
> On 2019.06.10 17:27:50 +0800, Zhenyu Wang wrote:
> > This fixes typo for VBLANK_TIMER_PERIOD.
> >
> > Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
> > ---
> >  drivers/gpu/drm/i915/gvt/interrupt.c | 4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/drivers/gpu/drm/i915/gvt/interrupt.c
> > b/drivers/gpu/drm/i915/gvt/interrupt.c
> > index 951681813230..11accd3e1023 100644
> > --- a/drivers/gpu/drm/i915/gvt/interrupt.c
> > +++ b/drivers/gpu/drm/i915/gvt/interrupt.c
> > @@ -672,7 +672,7 @@ void intel_gvt_clean_irq(struct intel_gvt *gvt)
> >  	hrtimer_cancel(&irq->vblank_timer.timer);
> >  }
> >
> > -#define VBLNAK_TIMER_PERIOD 16000000
> > +#define VBLANK_TIMER_PERIOD 16000000
> >
> >  /**
> >   * intel_gvt_init_irq - initialize GVT-g IRQ emulation subsystem @@
> > -704,7 +704,7 @@ int intel_gvt_init_irq(struct intel_gvt *gvt)
> >
> >  	hrtimer_init(&vblank_timer->timer, CLOCK_MONOTONIC,
> HRTIMER_MODE_ABS);
> >  	vblank_timer->timer.function = vblank_timer_fn;
> > -	vblank_timer->period = VBLNAK_TIMER_PERIOD;
> > +	vblank_timer->period = VBLANK_TIMER_PERIOD;
> >
> >  	return 0;
> >  }
> > --
> > 2.20.1
> >
> > _______________________________________________
> > intel-gvt-dev mailing list
> > intel-gvt-dev@lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/intel-gvt-dev
> 
> --
> Open Source Technology Center, Intel ltd.
> 
> $gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827