Skip to contentSkip to conversation

Missing notifications for front buffer status change(invalidate)

DISCUSSION Ramalingam C 2 participants 2 messages Mar 18, 2015 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

cc += intel-gfx

Quoted 14 lines · Ramalingam C

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.!?

Signature · 6 lines
Ram

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
#2 lore raw
Quoted 19 lines · Ramalingam C

cc += intel-gfx

Quoted 16 lines · Ramalingam C

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

Signature · 7 lines
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx