public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* Re: Missing notifications for front buffer status change(invalidate)
       [not found] <55093A81.1050701@intel.com>
@ 2015-03-18  8:53 ` Ramalingam C
  2015-03-18  9:51   ` Daniel Vetter
  0 siblings, 1 reply; 2+ messages in thread
From: Ramalingam C @ 2015-03-18  8:53 UTC (permalink / raw)
  To: Daniel Vetter, Vivi, Rodrigo; +Cc: intel-gfx

cc += intel-gfx

On Wednesday 18 March 2015 02:12 PM, Ramalingam C wrote:
> Hi,
>
> Is there anyway I can test the front buffer tracking?
>
> On latest drm-intel-nightly, I am observing that when ubuntu bootsup 
> after few secs (like ~15Secs)
> there no call from intel_fb_obj_invalidate() to invalidate the drrs.
>
> But system is healthy and FBs are keep changing. But no notification 
> to DRRS for FB status change.
>
> I have verified this by observing the busy_frontbuffer_bits from 
> /sys/kernel/debug/dri/0/i915_drrs_status. This bit is not changing at 
> all.
> Hence DRRS is stuck at DRRS_LOW_RR itself.
>
> Is it known valid issue? Or am I doing something wrong.!?
>

-- 
Ram

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Missing notifications for front buffer status change(invalidate)
  2015-03-18  8:53 ` Missing notifications for front buffer status change(invalidate) Ramalingam C
@ 2015-03-18  9:51   ` Daniel Vetter
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Vetter @ 2015-03-18  9:51 UTC (permalink / raw)
  To: Ramalingam C; +Cc: intel-gfx, Vivi, Rodrigo

On Wed, Mar 18, 2015 at 02:23:01PM +0530, Ramalingam C wrote:
> cc += intel-gfx
> 
> On Wednesday 18 March 2015 02:12 PM, Ramalingam C wrote:
> >Hi,
> >
> >Is there anyway I can test the front buffer tracking?
> >
> >On latest drm-intel-nightly, I am observing that when ubuntu bootsup after
> >few secs (like ~15Secs)
> >there no call from intel_fb_obj_invalidate() to invalidate the drrs.
> >
> >But system is healthy and FBs are keep changing. But no notification to
> >DRRS for FB status change.
> >
> >I have verified this by observing the busy_frontbuffer_bits from
> >/sys/kernel/debug/dri/0/i915_drrs_status. This bit is not changing at all.
> >Hence DRRS is stuck at DRRS_LOW_RR itself.
> >
> >Is it known valid issue? Or am I doing something wrong.!?

Yeah that shouldn't happen indeed. Unfortunately we've created the
frontbuffer code for fbc/psr, and that code is still not yet enabled by
default. So testing for frontbuffer tracking is probably too thin. And we
still discover corner-cases in the frontbuffer tracking logic.

So "just" tracking down what's going and fix it. Plus perhaps we do indeed
need a DRRS testcase to exercise these corner-cases and check that the
kernel does correctly switch between low and high modes.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-03-18  9:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <55093A81.1050701@intel.com>
2015-03-18  8:53 ` Missing notifications for front buffer status change(invalidate) Ramalingam C
2015-03-18  9:51   ` Daniel Vetter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox