* [PATCH] drm/i915: don't check for i830 in vlv specific code
@ 2014-08-22 12:06 Jani Nikula
2014-08-22 12:44 ` Ville Syrjälä
[not found] ` <32504_1408711479_53F73B37_32504_3103_1_20140822124430.GV4193@intel.com>
0 siblings, 2 replies; 5+ messages in thread
From: Jani Nikula @ 2014-08-22 12:06 UTC (permalink / raw)
To: intel-gfx; +Cc: jani.nikula
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
drivers/gpu/drm/i915/intel_display.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index 51b4cd29f932..83eabd758ed9 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -1546,7 +1546,7 @@ static void vlv_enable_pll(struct intel_crtc *crtc)
BUG_ON(!IS_VALLEYVIEW(dev_priv->dev));
/* PLL is protected by panel, make sure we can write it */
- if (IS_MOBILE(dev_priv->dev) && !IS_I830(dev_priv->dev))
+ if (IS_MOBILE(dev_priv->dev))
assert_panel_unlocked(dev_priv, crtc->pipe);
I915_WRITE(reg, dpll);
--
1.9.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] drm/i915: don't check for i830 in vlv specific code
2014-08-22 12:06 [PATCH] drm/i915: don't check for i830 in vlv specific code Jani Nikula
@ 2014-08-22 12:44 ` Ville Syrjälä
2014-08-26 6:48 ` Daniel Vetter
[not found] ` <32504_1408711479_53F73B37_32504_3103_1_20140822124430.GV4193@intel.com>
1 sibling, 1 reply; 5+ messages in thread
From: Ville Syrjälä @ 2014-08-22 12:44 UTC (permalink / raw)
To: Jani Nikula; +Cc: intel-gfx
On Fri, Aug 22, 2014 at 03:06:35PM +0300, Jani Nikula wrote:
> Signed-off-by: Jani Nikula <jani.nikula@intel.com>
> ---
> drivers/gpu/drm/i915/intel_display.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
> index 51b4cd29f932..83eabd758ed9 100644
> --- a/drivers/gpu/drm/i915/intel_display.c
> +++ b/drivers/gpu/drm/i915/intel_display.c
> @@ -1546,7 +1546,7 @@ static void vlv_enable_pll(struct intel_crtc *crtc)
> BUG_ON(!IS_VALLEYVIEW(dev_priv->dev));
>
> /* PLL is protected by panel, make sure we can write it */
> - if (IS_MOBILE(dev_priv->dev) && !IS_I830(dev_priv->dev))
> + if (IS_MOBILE(dev_priv->dev))
> assert_panel_unlocked(dev_priv, crtc->pipe);
My gut feeling is that the IS_MOBILE check could also be dropped. Not
quite sure though since VLV_D is not mentioned anywhere in the docs
AFAICS.
Anyway dropping the 830 check definitely makes sense so:
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
>
> I915_WRITE(reg, dpll);
> --
> 1.9.1
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx
--
Ville Syrjälä
Intel OTC
^ permalink raw reply [flat|nested] 5+ messages in thread
* Ping: Status of the i830 code?
[not found] ` <32504_1408711479_53F73B37_32504_3103_1_20140822124430.GV4193@intel.com>
@ 2014-08-25 13:13 ` Thomas Richter
2014-08-26 6:49 ` Daniel Vetter
0 siblings, 1 reply; 5+ messages in thread
From: Thomas Richter @ 2014-08-25 13:13 UTC (permalink / raw)
To: intel-gfx, Ville Syrjälä, Daniel Vetter
Hi Ville, hi Daniel,
this is again a "ping" on the status of the i830 code. I reviewed the
code I received, at least the code I could review (I do not know enough
about the internal wirings of the intel_display source, only on the
ns2501 dvo source), but I haven't heart anything back. Is there anything
I can do to help to move Ville's modifications for i380 into the kernel?
Thanks,
Thomas
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] drm/i915: don't check for i830 in vlv specific code
2014-08-22 12:44 ` Ville Syrjälä
@ 2014-08-26 6:48 ` Daniel Vetter
0 siblings, 0 replies; 5+ messages in thread
From: Daniel Vetter @ 2014-08-26 6:48 UTC (permalink / raw)
To: Ville Syrjälä; +Cc: Jani Nikula, intel-gfx
On Fri, Aug 22, 2014 at 03:44:30PM +0300, Ville Syrjälä wrote:
> On Fri, Aug 22, 2014 at 03:06:35PM +0300, Jani Nikula wrote:
> > Signed-off-by: Jani Nikula <jani.nikula@intel.com>
> > ---
> > drivers/gpu/drm/i915/intel_display.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
> > index 51b4cd29f932..83eabd758ed9 100644
> > --- a/drivers/gpu/drm/i915/intel_display.c
> > +++ b/drivers/gpu/drm/i915/intel_display.c
> > @@ -1546,7 +1546,7 @@ static void vlv_enable_pll(struct intel_crtc *crtc)
> > BUG_ON(!IS_VALLEYVIEW(dev_priv->dev));
> >
> > /* PLL is protected by panel, make sure we can write it */
> > - if (IS_MOBILE(dev_priv->dev) && !IS_I830(dev_priv->dev))
> > + if (IS_MOBILE(dev_priv->dev))
> > assert_panel_unlocked(dev_priv, crtc->pipe);
>
> My gut feeling is that the IS_MOBILE check could also be dropped. Not
> quite sure though since VLV_D is not mentioned anywhere in the docs
> AFAICS.
I think in the old gens we've pretty much just used IS_MOBILE as HAS_LVDS.
vlv/chv having edp panels instead makes that a bit more complicated, but
generally I think a new IS_MOBILE check is bogus.
> Anyway dropping the 830 check definitely makes sense so:
> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Queued for -next, thanks for the patch.
-Daniel
--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Ping: Status of the i830 code?
2014-08-25 13:13 ` Ping: Status of the i830 code? Thomas Richter
@ 2014-08-26 6:49 ` Daniel Vetter
0 siblings, 0 replies; 5+ messages in thread
From: Daniel Vetter @ 2014-08-26 6:49 UTC (permalink / raw)
To: Thomas Richter; +Cc: Daniel Vetter, intel-gfx
On Mon, Aug 25, 2014 at 03:13:46PM +0200, Thomas Richter wrote:
> Hi Ville, hi Daniel,
>
> this is again a "ping" on the status of the i830 code. I reviewed the code I
> received, at least the code I could review (I do not know enough about the
> internal wirings of the intel_display source, only on the ns2501 dvo
> source), but I haven't heart anything back. Is there anything I can do to
> help to move Ville's modifications for i380 into the kernel?
Me getting back to working internet essentially so that I can give them a
spin on my own i830m.
-Daniel
--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-08-26 6:48 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-22 12:06 [PATCH] drm/i915: don't check for i830 in vlv specific code Jani Nikula
2014-08-22 12:44 ` Ville Syrjälä
2014-08-26 6:48 ` Daniel Vetter
[not found] ` <32504_1408711479_53F73B37_32504_3103_1_20140822124430.GV4193@intel.com>
2014-08-25 13:13 ` Ping: Status of the i830 code? Thomas Richter
2014-08-26 6:49 ` Daniel Vetter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox