On 01/09/15 17:34, Rob Clark wrote:
> I hadn't had a chance to look at it further yet.. I think Daniel
> claimed it worked for him, but he was probably on intel-next, where I
> was on drm-next at the time which seemed to be having some unrelated
> i915 issues (when I was trying to debug atomic
On Thu, Sep 24, 2015 at 10:55:17AM +0100, Tvrtko Ursulin wrote:
>
> On 09/23/2015 06:03 PM, Chris Wilson wrote:
> >On Wed, Sep 23, 2015 at 12:52:26PM -0300, Paulo Zanoni wrote:
> >>The trick is not strictly necessary on SKL because the offset
> >>registers allow more bits. But for FBC, doing this
On Wed, 2015-09-23 at 15:55 -0300, Paulo Zanoni wrote:
> 2015-09-23 13:48 GMT-03:00 Imre Deak :
> > On ke, 2015-09-16 at 11:49 +0200, Michał Winiarski wrote:
> > > It would be initialized just moments later by i915_init_vm.
> > >
> > > v2: Commit msg update,
> > >
On 09/23/2015 06:03 PM, Chris Wilson wrote:
On Wed, Sep 23, 2015 at 12:52:26PM -0300, Paulo Zanoni wrote:
The trick is not strictly necessary on SKL because the offset
registers allow more bits. But for FBC, doing this changes how the
hardware tracking works - it starts at the surface address
On 09/23/2015 09:07 PM, Chris Wilson wrote:
If the client revokes the virtual address it asked to be mapped into GPU
space via userptr (by using anything along the lines of mmap, mprotect,
madvise, munmap, ftruncate etc) the mmu notifier sends a range
invalidate command to userptr. Upon
Commit fb66cd5 (tests/gem_storedw_loop: Fix use after free for bufmgr)
introduced a segmentation fault when listing subtests because
drm_intel_bufmgr_destroy is called with NULL. Move this and the call to
the close function inside an igt_fixture block to prevent them being
called when listing
On Thu, Sep 24, 2015 at 11:23:48AM +0100, Tvrtko Ursulin wrote:
>
> On 09/23/2015 09:07 PM, Chris Wilson wrote:
> >If the client revokes the virtual address it asked to be mapped into GPU
> >space via userptr (by using anything along the lines of mmap, mprotect,
> >madvise, munmap, ftruncate etc)
On Thu, 24 Sep 2015, "Winiarski, Michal" wrote:
> On Thu, 2015-09-24 at 11:57 +0100, Chris Wilson wrote:
>> When preallocating a stolen object during early initialisation, we
>> may
>> be running before we have setup the the global GTT VM state, in
>> particular before
On Thu, 24 Sep 2015, Chris Wilson wrote:
> When preallocating a stolen object during early initialisation, we may
> be running before we have setup the the global GTT VM state, in
> particular before we have initialised the range manager and associated
> lists. As this
Dereferencing a NULL pointer is undefined behaviour and may not always
result in a segmentation fault. Explicitly raise the SIGSEGV signal to
test handling of this signal.
Signed-off-by: Thomas Wood
---
lib/tests/igt_segfault.c | 6 +-
1 file changed, 5 insertions(+),
On 09/24/2015 11:31 AM, Chris Wilson wrote:
On Thu, Sep 24, 2015 at 11:23:48AM +0100, Tvrtko Ursulin wrote:
On 09/23/2015 09:07 PM, Chris Wilson wrote:
If the client revokes the virtual address it asked to be mapped into GPU
space via userptr (by using anything along the lines of mmap,
On Thu, 2015-09-24 at 11:57 +0100, Chris Wilson wrote:
> When preallocating a stolen object during early initialisation, we
> may
> be running before we have setup the the global GTT VM state, in
> particular before we have initialised the range manager and
> associated
> lists. As this is the
Add information on current CD clock frequency to
debugfs 'i915_frequency_info'
Signed-off-by: Mika Kahola
---
drivers/gpu/drm/i915/i915_debugfs.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/i915/i915_debugfs.c
From: Tvrtko Ursulin
Test that VMAs associated with a context are cleaned up when
contexts are destroyed.
In practice this emulates the leak seen between fbcon and X server.
Every time the X server exits we gain one VMA on the fbcon frame
buffer object as externally
On to, 2015-09-24 at 10:22 +0530, Sonika Jindal wrote:
> Bspec update tells that we have to enable oscaledcompmethod instead of
> ouniqetrangenmethod for enabling scale value during swing programming.
>
> v2: Adding back 'don't care' values to bxt_ddi_translations_dp and add
> error message if
Information on maximum supported pixel clock frequency to
i915_frequency_info.
Signed-off-by: Mika Kahola
---
drivers/gpu/drm/i915/i915_debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/i915/i915_debugfs.c
b/drivers/gpu/drm/i915/i915_debugfs.c
This adds information on maximum supported
CD clock frequency to debugfs 'i915_frequency_info'
Signed-off-by: Mika Kahola
---
drivers/gpu/drm/i915/i915_debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/i915/i915_debugfs.c
These patches add information of current and maximum CD clock
frequency and pixel clock frequency information on 'i915_debugfs.c'.
Mika Kahola (3):
drm/i915: Add current CD clock frequency to debugfs
drm/i915: Add max CD clock to debugfs
drm/i915: Add max DOT clock frequency to debugfs
Hi Jani,
On Thu, 24 Sep 2015 11:57:05 +0300 Jani Nikula
wrote:
>
> That was the right thing to do.
>
> The former commit is headed for v4.3, and there will have to be another
> version of it for -next. This will cause you another conflict, and you
> should resolve
On Thu, Sep 24, 2015 at 10:02:00AM +0100, Chris Wilson wrote:
> When preallocating a stolen object during early initialisation, we may
> be running before we have setup the the global GTT VM state, in
> particular before we have initialised the range manager and associated
> lists. As this is the
coccinelle does a fine job on renaming the variables. Although, it does
break the rule of 80 character line width.
Reviewed-by: Mika Kahola
On Tue, 2015-09-08 at 13:40 +0300, ville.syrj...@linux.intel.com wrote:
> From: Ville Syrjälä
>
>
Hi Dave, a few drm/i915 fixes, including a fix to the recent regression
reported by Sedat Dilek [1].
BR,
Jani.
[1]
http://mid.gmane.org/ca+iczuuwi96rv5pfdg3femg95vfpfjbmubiwrdzgduyjvt1...@mail.gmail.com
The following changes since commit 1f93e4a96c9109378204c147b3eec0d0e8100fde:
Linux
Reviewed-by: Mika Kahola
On Tue, 2015-09-08 at 13:40 +0300, ville.syrj...@linux.intel.com wrote:
> From: Ville Syrjälä
>
> Replace intel_dvo->panel_fixed_mode with the appropriate intel_panel
> stuff. Now all connectors that have a fixed
On Tue, 2015-09-08 at 13:40 +0300, ville.syrj...@linux.intel.com wrote:
> From: Ville Syrjälä
>
> Rename the function argument to 'adjusted_mode' whenever the function
> only ever gets passed the adjusted_mode.
>
> Signed-off-by: Ville Syrjälä
Reviewed-by: Mika Kahola
On Tue, 2015-09-08 at 13:40 +0300, ville.syrj...@linux.intel.com wrote:
> From: Ville Syrjälä
>
> We shouldn't frob adjusted_mode after .compute_config(), so move the
> infoframe aspect ratio setup to
On 9/23/2015 2:18 AM, yu@intel.com wrote:
From: Alex Dai
Add host2guc interfaces to nofigy GuC power state changes when
*notify
enter or resume from power saving state.
v1: Change to a more flexible way when fill host to GuC scratch
data in order to remove hard
On Thu, 24 Sep 2015, Stephen Rothwell wrote:
> Hi all,
>
> Today's linux-next merge of the drm-intel tree got a conflict in:
>
> drivers/gpu/drm/i915/intel_display.c
>
> between commit:
>
> 721a09f7393d ("drm/i915: Add primary plane to mask if it's visible")
>
> from
On Thu, 24 Sep 2015, Sedat Dilek wrote:
> On Wed, Sep 23, 2015 at 9:18 AM, Daniel Vetter wrote:
>> Adding Jairo to track this regression.
>
> Hi,
>
> commit 721a09f7393de6c28a07516dccd654c6e995944a
> "drm/i915: Add primary plane to mask if it's visible"
>
When preallocating a stolen object during early initialisation, we may
be running before we have setup the the global GTT VM state, in
particular before we have initialised the range manager and associated
lists. As this is the case, we defer binding the stolen object until we
call
Reviewed-by: Mika Kahola
On Tue, 2015-09-08 at 13:40 +0300, ville.syrj...@linux.intel.com wrote:
> From: Ville Syrjälä
>
> Make adjusted_mode const whereever we don't have to modify it. This only
> covers cases when we have a local
Reviewed-by: Mika Kahola
On Tue, 2015-09-08 at 13:40 +0300, ville.syrj...@linux.intel.com wrote:
> From: Ville Syrjälä
>
> The adjustead_mode crtc_ timings are what we will program into the hardware,
> so it's those timings we should be
On Thu, 24 Sep 2015, "da...@codemonkey.org.uk" wrote:
> On Wed, Sep 23, 2015 at 11:07:56AM +, Lankhorst, Maarten wrote:
> > Hey,
> >
> > Dave Jones schreef op di 22-09-2015 om 21:49 [-0400]:
> > > On Tue, Sep 22, 2015 at 09:15:58AM -0700, Matt Roper wrote:
> > >
On Wed, Sep 23, 2015 at 01:18:00PM +0200, Patrik Jakobsson wrote:
> On Wed, Sep 23, 2015 at 10:43:00AM +0200, Daniel Vetter wrote:
> > On Mon, Sep 21, 2015 at 10:00:45AM +0200, Patrik Jakobsson wrote:
> > > On Wed, Sep 16, 2015 at 11:10:07PM +0300, Ville Syrjälä wrote:
> > > > On Fri, Sep 11, 2015
This relies on signal.h being included by wait.h. Would it be better to include
it explicitly?
-Original Message-
From: Intel-gfx [mailto:intel-gfx-boun...@lists.freedesktop.org] On Behalf Of
Thomas Wood
Sent: Thursday, September 24, 2015 11:30 AM
To: intel-gfx@lists.freedesktop.org
On Wed, 23 Sep 2015, Daniel Vetter wrote:
> On Wed, Sep 23, 2015 at 04:13:00PM +0200, Egbert Eich wrote:
>> drm_kms_helper_poll_enable() was converted to lock the mode_config
>> mutex in commit 8c4ccc4ab6f64e859d4ff8d7c02c2ed2e956e07f
>> ("drm/probe-helper: Grab mode_config.mutex
Hi Takashi,
Currently, our testing environment seems not to work. I will setup the test
environment and send the patch after doing the test.
Regards,
Libin
> -Original Message-
> From: Yang, Libin
> Sent: Wednesday, September 23, 2015 10:20 PM
> To: Takashi Iwai; Jani Nikula
> Cc:
On ke, 2015-09-23 at 11:32 -0700, Rodrigo Vivi wrote:
> In case something goes wrong with power well initialization we were calling
> intel_prepare_ddi during boot while encoder list isnt't initilized.
>
> [9.618747] i915 :00:02.0: Invalid ROM contents
> [9.631446] [drm] failed to
On Thu, Sep 24, 2015 at 02:24:36PM +0300, Jani Nikula wrote:
> On Thu, 24 Sep 2015, "Winiarski, Michal" wrote:
> > On Thu, 2015-09-24 at 11:57 +0100, Chris Wilson wrote:
> >> When preallocating a stolen object during early initialisation, we
> >> may
> >> be running
From: Tvrtko Ursulin
Check that frame buffers are torn down when a client dies.
Later could be extended with a CRC based test to check whether a later
client can inherit a plane left from an earlier one. There could be
some interesting data or images on that plane.
On 22/09/15 21:48, yu@intel.com wrote:
From: Alex Dai
By using information from GuC css header, we can eliminate some
hard code w.r.t size of some components of firmware.
v2: Add indent into DOC to make fixed-width format rather than
change the tmpl.
v1: 1)
On Thu, Sep 24, 2015 at 02:50:16PM +0200, Patrik Jakobsson wrote:
> On Wed, Sep 23, 2015 at 01:18:00PM +0200, Patrik Jakobsson wrote:
> > On Wed, Sep 23, 2015 at 10:43:00AM +0200, Daniel Vetter wrote:
> > > On Mon, Sep 21, 2015 at 10:00:45AM +0200, Patrik Jakobsson wrote:
> > > > On Wed, Sep 16,
On Wed, Sep 23, 2015 at 05:23:27PM +0200, Daniel Vetter wrote:
> On Fri, Sep 18, 2015 at 08:03:56PM +0300, ville.syrj...@linux.intel.com wrote:
> > From: Ville Syrjälä
> >
> > Make I915_READ and I915_WRITE more type safe by wrapping the register
> > offset in a
Forgot to cc Rafael.
On 09/23/2015 02:37 PM, Jesse Barnes wrote:
> According to the PCI docs and Rafael, we don't need to be doing explicit
> enables and disables in our init and teardown routines, as they're taken
> care of by the PCI core. So drop the pm_runtime_disable() at teardown
> and
On Mon, Sep 21, 2015 at 10:45:34AM +0100, Tvrtko Ursulin wrote:
> From: Tvrtko Ursulin
>
> Just adding the rotated UV plane at the end of the rotated Y plane.
>
> v2: Rebase.
>
> Signed-off-by: Tvrtko Ursulin
> ---
>
On 08/28/2015 05:10 AM, robert.beck...@intel.com wrote:
> From: Robert Beckett
>
> Virtualized systems often use a virtual P2X4 south bridge.
> Detect this in intel_detect_pch and make a best guess as to which PCH
> we should be using.
>
> This was seen on vmware esxi
On Thursday, September 24, 2015 08:40:28 AM Jesse Barnes wrote:
> Forgot to cc Rafael.
>
> On 09/23/2015 02:37 PM, Jesse Barnes wrote:
> > According to the PCI docs and Rafael, we don't need to be doing explicit
> > enables and disables in our init and teardown routines, as they're taken
> > care
On 24/09/15 19:34, Yu Dai wrote:
On 09/24/2015 07:23 AM, Dave Gordon wrote:
On 22/09/15 21:48, yu@intel.com wrote:
> From: Alex Dai
>
> By using information from GuC css header, we can eliminate some
> hard code w.r.t size of some components of firmware.
>
> v2: Add
On 09/24/2015 07:23 AM, Dave Gordon wrote:
On 22/09/15 21:48, yu@intel.com wrote:
> From: Alex Dai
>
> By using information from GuC css header, we can eliminate some
> hard code w.r.t size of some components of firmware.
>
> v2: Add indent into DOC to make fixed-width
On 21 September 2015 at 09:05, Maarten Lankhorst
wrote:
> This is fix for a regression introduced by 27321ae88c70104df
> "drm/i915: Use the disable callback for disabling planes."
>
> Disabling invisible planes may cause recalculation of
> watermarks, which is a
From: Ville Syrjälä
We have the czclk freqeuency in dev_priv now, so let's just use it
when converting the rc6 counters to milliseconds. This elimiantes
a bunch of hairy code that essentially tries to extract the czclk
frequency using yet another method.
From: Ville Syrjälä
As with the cdclk, read out czclk from CCK as well. This gives us the
real current value and avoids having to decode fuses and whatnot.
Also store it in kHz under dev_priv like we do for cdlck since it's not
just an rps related clock, and
From: Ville Syrjälä
Replace the use of mem_freq/4 with czclk_freq in the vlv c0 residency
calculations.
Also deal with VLV_COUNT_RANGE_HIGH which affects all RCx residency
counters. We have just enough bits to do this without intermediate
divisions.
On 09/24/2015 12:04 PM, Dave Gordon wrote:
On 24/09/15 19:34, Yu Dai wrote:
>
>
> On 09/24/2015 07:23 AM, Dave Gordon wrote:
>> On 22/09/15 21:48, yu@intel.com wrote:
>> > From: Alex Dai
>> >
>> > By using information from GuC css header, we can eliminate some
>> > hard
v2: Don't forget to actually check the cstate->active value when
tallying up the number of active CRTC's. (Ander)
Signed-off-by: Matt Roper
Reviewed-by: Maarten Lankhorst
---
drivers/gpu/drm/i915/i915_drv.h | 10 ++
Calculate pipe watermarks during atomic calculation phase, based on the
contents of the atomic transaction's state structure. We still program
the watermarks at the same time we did before, but the computation now
happens much earlier.
While this patch isn't too exciting by itself, it paves the
A future patch will calculate these during the atomic 'check' phase
rather than at WM programming time, so let's store the watermark
values we're planning to use in the CRTC state; the values actually
active on the hardware remains in intel_crtc.
While we're at it, do some minor restructuring to
This change looks good and is necessary, but the
commit message should have more detail.
I would add:
"When using RC6 timeout mode, the timeout value
should be written to GEN6_RC6_THRESHOLD."
With that,
Reviewed-by: Tom O'Rourke
On Wed, Sep 23, 2015 at 03:06:42PM +0530,
From: Ville Syrjälä
This series replaces the czclk readout using a fuse on chv with reading
it directly from the horse's mouth ie. cck. It also adds czclk readout
for vlv, which means it also fixes the PFI credit programming on that
platform.
As a bonus we can
On Thu, Sep 24, 2015 at 02:28:41PM +0300, Mika Kahola wrote:
> Information on maximum supported pixel clock frequency to
> i915_frequency_info.
>
> Signed-off-by: Mika Kahola
> ---
> drivers/gpu/drm/i915/i915_debugfs.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff
In addition to calculating final watermarks, let's also pre-calculate a
set of intermediate watermark values at atomic check time. These
intermediate watermarks are a combination of the watermarks for the old
state and the new state; they should satisfy the requirements of both
states which means
A bunch of SKL watermark-related structures have the cursor plane as a
separate entry from the rest of the planes. Since a previous patch
updated I915_MAX_PLANES such that those plane arrays now have a slot for
the cursor, update the code to use the new slot in the existing plane
arrays and kill
Although we can do a good job of reading out hardware state, the
graphics firmware may have programmed the watermarks in a creative way
that doesn't match how i915 would have chosen to program them. We
shouldn't trust the firmware's watermark programming, but should rather
re-calculate how we
Determine whether we need to apply this workaround at atomic check time
and just set a flag that will be used by the main watermark update
routine.
Moving this workaround into the atomic framework reduces
ilk_update_sprite_wm() to just a standard watermark update, so drop it
completely and just
We already ensure that pstate->visible = false when crtc->active = false
during runtime programming; make sure we follow the same logic when
reading out initial hardware state.
Signed-off-by: Matt Roper
Reviewed-by: Maarten Lankhorst
The only platform that still has an update_sprite_wm entrypoint is SKL;
on SKL, intel_update_sprite_watermarks just updates intel_plane->wm and
then performs a regular watermark update. However intel_plane->wm is
only used to update a couple fields in intel_wm_config, and those fields
are never
In commit
commit e4ca061275ec6a48b66c6edebe08644e666994c0
Author: Patrik Jakobsson
Date: Wed Jul 8 15:31:52 2015 +0200
drm/i915: Don't forget to mark crtc as inactive after disable
we added extra watermark updates to all
From: Ville Syrjälä
Split ilk_update_wm() into two parts; one doing the programming
and the other the calculations.
v2: Fix typo in commit message
v3 (by Matt): Heavily rebased for current codebase.
Signed-off-by: Ville Syrjälä
On Wed, Sep 23, 2015 at 11:30:43PM +0530, Uma Shankar wrote:
> DSI backlight support for bxt is added.
>
> TODO: There is no support for backlight control in drm panel
> framework. This will be added as part of VBT version patches
> fixing the backlight sequence.
>
> v2: Fixed Jani's
On Wed, Sep 23, 2015 at 12:52:21PM -0300, Paulo Zanoni wrote:
> We were considering the whole framebuffer height, but the spec clearly
> says that we should only consider the active display height size.
>
> On my current testing machine, this moves us from 124 successes and
> 502 skips to 209
On Wed, Sep 23, 2015 at 12:52:26PM -0300, Paulo Zanoni wrote:
> The trick is not strictly necessary on SKL because the offset
> registers allow more bits. But for FBC, doing this changes how the
> hardware tracking works - it starts at the surface address we provide
> - so there's a higher chance
> From: Jesse Barnes [mailto:jbar...@virtuousgeek.org]
> Sent: Friday, September 25, 2015 12:41 AM
>
> On 08/28/2015 05:10 AM, robert.beck...@intel.com wrote:
> > From: Robert Beckett
> >
> > Virtualized systems often use a virtual P2X4 south bridge.
> > Detect this in
Just pull the info out of the plane state structure rather than staging
it in an additional structure.
v2: Add 'visible' condition to sprites_scaled so that we don't limit the
WM level when the sprite isn't enabled. (Ville)
Signed-off-by: Matt Roper
Just pull the info out of the state structures rather than staging
it in an additional set of structures. To make this more
straightforward, we change the signature of several internal WM
functions to take the crtc state as a parameter.
v2:
- Don't forget to skip cursor planes on a loop in the
Let the compiler figure out what I915_MAX_PLANES is from 'enum plane' so
that we don't need a separate #define.
While we're at it, add the cursor plane to the enum. This will cause
I915_MAX_PLANES to now include the cursor plane in its count (it didn't
previously). This change is safe since we
Previous version of the series was here:
http://lists.freedesktop.org/archives/intel-gfx/2015-September/075883.html
Pretty minimal changes since the last series:
* General rebasing on di-nightly
* Some minor SKL-specific bugfixes on patch #6 based on Maarten's review of
v4 of this series.
Just pull the info out of the CRTC state structure rather than staging
it in an additional structure.
Note that we use cstate->active rather than intel_crtc->active which may
appear to be a change in behavior. However since we're no longer trying
to recalculate watermarks during the "pipe off"
From: Libin Yang
When modeset occurs and the TMDS frequency is set to some
speical values, the N/CTS need to be set manually if audio
is playing.
Signed-off-by: Libin Yang
---
drivers/gpu/drm/i915/intel_audio.c | 57
On Wed, Sep 23, 2015 at 11:37 PM, Sedat Dilek wrote:
> On Wed, Sep 23, 2015 at 10:48 PM, Sedat Dilek wrote:
>> On Wed, Sep 23, 2015 at 3:31 PM, Shuah Khan wrote:
>>> On 09/23/2015 02:56 AM, Daniel Vetter wrote:
Another
78 matches
Mail list logo