Different registers are identified by their target id and offset. To
simplify their programming, they are called as .
For example, SSCCTL register accessed through SBI at target id 6 and
offset 0c is called SBI_SSCCTL6.
Signed-off-by: Eugeni Dodonov
---
drivers/gpu/drm/i915/i915_reg.h | 15
other words, this is ugly, but if you run into an issue and send me
dmesg with those included, my chances of investigating the problems will
increase exponentially.
Signed-off-by: Eugeni Dodonov
---
drivers/gpu/drm/i915/i915_drv.c |2 ++
drivers/gpu/drm/i915/intel_display.c |2 ++
2
Pixel clock gating control for Lynx point.
Signed-off-by: Eugeni Dodonov
---
drivers/gpu/drm/i915/i915_reg.h |6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h
index 4ee8965..9ff9856 100644
--- a/drivers/gpu/drm/i915
The line time can be programmed according to the number of horizontal
pixels vs effective pixel rate ratio.
Signed-off-by: Eugeni Dodonov
---
drivers/gpu/drm/i915/intel_display.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/drivers/gpu/drm/i915/intel_display.c
b/drivers
Multiple clocks can drive different outputs.
Signed-off-by: Eugeni Dodonov
---
drivers/gpu/drm/i915/i915_reg.h | 23 +++
1 file changed, 23 insertions(+)
diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h
index e38dafc..eebe9d3 100644
--- a
We don't have those bits on Haswell anymore, so do not set them.
Signed-off-by: Eugeni Dodonov
---
drivers/gpu/drm/i915/intel_display.c |5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/i915/intel_display.c
b/drivers/gpu/drm/i915/intel_display.c
Signed-off-by: Eugeni Dodonov
---
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 c225de4..46633fe 100644
--- a/drivers/gpu/drm/i915/intel_display.c
The modesetting sequence for PCH-related connections mentions that the
order of plane/pipe enablement could happen either before of after PCH
enablement.
With LPT, however, we need to enable some things earlier to be able to
talk to PCH. So let's do it a bit in advance.
Signed-off-by: E
Those are responsible for the Sideband Interface programming.
Signed-off-by: Eugeni Dodonov
---
drivers/gpu/drm/i915/i915_reg.h | 10 ++
1 file changed, 10 insertions(+)
diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h
index 0af47b4..4ee8965 100644
--- a
Watermark line time registers for display low power watermark.
Signed-off-by: Eugeni Dodonov
---
drivers/gpu/drm/i915/i915_reg.h | 10 ++
1 file changed, 10 insertions(+)
diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h
index fa9e3a8..76f7acb 100644
Signed-off-by: Eugeni Dodonov
---
drivers/gpu/drm/i915/i915_reg.h |3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h
index 2927460..b732aa1 100644
--- a/drivers/gpu/drm/i915/i915_reg.h
+++ b/drivers/gpu/drm/i915/i915_reg.h
Signed-off-by: Eugeni Dodonov
---
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 27ab70d..2978597 100644
--- a/drivers/gpu/drm/i915/intel_display.c
They work differently, but the count is the same.
Signed-off-by: Eugeni Dodonov
---
drivers/gpu/drm/i915/i915_dma.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/i915_dma.c b/drivers/gpu/drm/i915/i915_dma.c
index 9341eb8..a2c0e75 100644
--- a
Some double-buffered registers need to be written twice.
Note that it is being sent as a separate patch because sometimes these
registers do work when written only once. But double-writing on my machine
ensured that they work more often.
Signed-off-by: Eugeni Dodonov
---
drivers/gpu/drm/i915
Signed-off-by: Eugeni Dodonov
---
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 2978597..3b3dc15 100644
--- a/drivers/gpu/drm/i915/intel_display.c
Those registers are used to train DDI buffer translations for each link
type.
Signed-off-by: Eugeni Dodonov
---
drivers/gpu/drm/i915/i915_reg.h |7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h
index b732aa1..0af47b4
This needs proper enablement to avoid machine hangs, so let's just avoid
it for now.
Signed-off-by: Eugeni Dodonov
---
drivers/gpu/drm/i915/intel_display.c |4
1 file changed, 4 insertions(+)
diff --git a/drivers/gpu/drm/i915/intel_display.c
b/drivers/gpu/drm/i915/intel_disp
With Lynx Point, we need to use SBI to communicate with the display clock
control. This commit adds helper functions to access the registers via
SBI.
Signed-off-by: Eugeni Dodonov
---
drivers/gpu/drm/i915/intel_display.c | 44 ++
1 file changed, 44 insertions
This attempts to enable all the available power wells during the
initialization.
Signed-off-by: Eugeni Dodonov
---
drivers/gpu/drm/i915/intel_display.c | 31 +++
1 file changed, 31 insertions(+)
diff --git a/drivers/gpu/drm/i915/intel_display.c
b/drivers/gpu/drm
Add Global Time Clock registers
Signed-off-by: Eugeni Dodonov
---
drivers/gpu/drm/i915/i915_reg.h |5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h
index 193fb11..03fb10d 100644
--- a/drivers/gpu/drm/i915/i915_reg.h
Those are used to control the display core clock.
Signed-off-by: Eugeni Dodonov
---
drivers/gpu/drm/i915/i915_reg.h |7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h
index 03fb10d..fa9e3a8 100644
--- a/drivers/gpu/drm
calculate those values manually in case no match is found. But I don't
think we'll encounter a mode not covered by those table, and VGA is pretty
much going away in the future anyway.
Signed-off-by: Eugeni Dodonov
---
drivers/gpu/drm/i915/intel_display.c | 309 +++
Signed-off-by: Eugeni Dodonov
---
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 24a0a6c..27ab70d 100644
--- a/drivers/gpu/drm/i915/intel_display.c
Signed-off-by: Eugeni Dodonov
---
drivers/gpu/drm/i915/i915_irq.c |6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c
index afd4e03..ede51f0 100644
--- a/drivers/gpu/drm/i915/i915_irq.c
+++ b/drivers/gpu
On Thu, Mar 22, 2012 at 07:16, Daniel Vetter wrote:
> On Wed, Mar 21, 2012 at 10:09:58PM -0300, Eugeni Dodonov wrote:
> > We don't have those bits on Haswell anymore, so do not set them.
> >
> > Signed-off-by: Eugeni Dodonov
>
> Hm, how is 6bpp dithering suppos
On Thu, Mar 22, 2012 at 07:22, Daniel Vetter wrote:
> On Wed, Mar 21, 2012 at 10:10:01PM -0300, Eugeni Dodonov wrote:
> > Signed-off-by: Eugeni Dodonov
>
> Hm, I have a feeling that some of these s/IS_IVB/IS_GEN7/ checks will
> collide with the vlv code. I guess neither Jesse
On Thu, Mar 22, 2012 at 07:43, Chris Wilson wrote:
> On Wed, 21 Mar 2012 22:09:42 -0300, Eugeni Dodonov <
> eugeni.dodo...@intel.com> wrote:
> > This is one set of those registers for each pipe.
>
Would these not benefit from a #define DP_TP_CTL(pipe)?
>
Sorry, my typo we
ted by the latest VBIOS update on Ivy Bridge which
resulted in somewhat strange display issues, could you please test this
patch and verify if it fixes the issue for you?
--
Eugeni Dodonov
<http://eugeni.dodonov.net/>
___
Intel-gfx mailing li
any). And with this, we'll complete the
lets-try-rc6-by-default-one-more-time saga.
Eugeni Dodonov (2):
drm/i915: allow to select rc6 modes via kernel parameter
drm/i915: enable plain RC6 on Sandy Bridge by default
drivers/gpu/drm/i915/i915_drv.c |6 +-
drivers/gpu/drm/i915/i9
://bugs.freedesktop.org/show_bug.cgi?id=42579
Reviewed-by: Chris Wilson
Signed-off-by: Eugeni Dodonov
---
drivers/gpu/drm/i915/i915_drv.c |6 +-
drivers/gpu/drm/i915/i915_drv.h | 21 +
drivers/gpu/drm/i915/intel_display.c | 20
3 files changed, 42
.cgi?id=44867
Signed-off-by: Eugeni Dodonov
---
drivers/gpu/drm/i915/intel_display.c |8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/gpu/drm/i915/intel_display.c
b/drivers/gpu/drm/i915/intel_display.c
index c6d8bc4..dcae2c9 100644
--- a/drivers/gpu/drm/i915/i
5cb972cc94f1fbd9882d4e5c2e72ac43
.
But if it makes sense to include it into kernel as well, why not?
Reviewed-by: Eugeni Dodonov
--
Eugeni Dodonov
<http://eugeni.dodonov.net/>
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
hese platforms do have
turbo, but it is simple not ready to be enabled yet by default.
So for me,
Reviewed-by: Eugeni Dodonov
--
Eugeni Dodonov
<http://eugeni.dodonov.net/>
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.
l return code into intel_crt_detect_hotplug() block? Or maybe add a
/* FIXME */ comment at least? Otherwise, it feel that it could be too
error-prone to leave this assignment here by itself.
Other than that, it looks correct to me.
Reviewed-by: Eugeni Dodo
LEYVIEW((dev_priv)->dev))
>
In the spirit of bikeshedding, I think that NEEDS_FORCE_WAKE is becoming a
bit scary this way. But I don't know if it makes sense to move the gen and
dev check into a feature flag, to avoid similar issues with po
gisters changes make them different enough not to be
directly reused AFAIK. So I think we'll have to stick with a set of DPIO
and SBI ops for now.
So other that the other Ben's and Chris' comments about this:
Reviewed-by: Eugeni Dodon
601 - 636 of 636 matches
Mail list logo