[Bug 108502] Invalid encoder after hotplug

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu May 2 14:19:41 UTC 2019


https://bugs.freedesktop.org/show_bug.cgi?id=108502

--- Comment #14 from Stanislav Lisovskiy <stanislav.lisovskiy at intel.com> ---
(In reply to Wolfgang Haupt from comment #12)
> OK things have changed.
> The bug reported seems to be fixed.
> 
> I have following behaviour now and wonder if this is expected:
> 1. Unplug HDMI
> 2. Run demo program
> 3. Plugin HDMI
> 
> As long as the program is running, the screen will not get active.
> When I close the program (which will release the handle to /dev/dri/card0)
> the screen will become active.
> 
> Can anyone confirm that this is how it should be?

I think this is expected behavior, as you get DRM resources and not releasing
them. Those get released automatically once you the process terminates then.

If you want to have your screen active, when that program is still running
you need to call drmModeFreeResources before the while cycle.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20190502/62d52cba/attachment.html>


More information about the intel-gfx-bugs mailing list