-
Notifications
You must be signed in to change notification settings - Fork 18
[DEBUG][Not Merge]Bosheng1/a15/dev.virtgpu debug #20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
bosheng1
wants to merge
43
commits into
projectceladon:a15/dev
Choose a base branch
from
bosheng1:bosheng1/a15/dev.virtgpu_debug
base: a15/dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
[DEBUG][Not Merge]Bosheng1/a15/dev.virtgpu debug #20
bosheng1
wants to merge
43
commits into
projectceladon:a15/dev
from
bosheng1:bosheng1/a15/dev.virtgpu_debug
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This reverts commit 28ae3c0.
This reverts commit c8fcb93.
… pass" This reverts commit c9b1772.
This reverts commit 8735926.
This reverts commit edaa21c.
This reverts commit 6547410.
This reverts commit 3040ab5.
This reverts commit 8087db2.
This reverts commit b8188f7.
This reverts commit 063a3ab.
This reverts commit a401268.
This reverts commit d2979b9.
…shemem" This reverts commit f1b693b.
… but not import it" This reverts commit d94a698.
This reverts commit e67127c.
This reverts commit 5fe7300.
This reverts commit faee350.
This reverts commit e927937.
… present" This reverts commit 111bdf0.
This reverts commit fefb6e0.
This reverts commit a246a0f.
This reverts commit 8685e3b.
This reverts commit 95310de.
This reverts commit 8cbda7d.
This reverts commit e36444b.
This reverts commit 3d0a8eb.
This reverts commit deb6378.
This reverts commit d247d77.
This reverts commit bf23154.
…esume" This reverts commit 24e099f.
…s and lengths"" This reverts commit d52c6ef.
…ported object"" This reverts commit 47dd2b5.
…s guest blobs"" This reverts commit f9c9cc9.
…rted dmabuf obj"" This reverts commit 8cb0bb9.
from PKT kernel, add function virtio_gpu_find_vqs virtio device needs to delete before VM suspend happens then reinitialize all virtqueues again upon resume Tracked-On: OAM-130450 Signed-off-by: Zhao, Shirley <[email protected]> Signed-off-by: Dongwon Kim <[email protected]>
from PKT kernel Host KVM/QEMU loses all graphic resourses submitted by guest OS upon resumption from sleep or hibernation. This will cause invalid resource errors when the guest OS makes any request to the host regarding those resources. One way to prevent this problem is to let virtio-gpu driver resubmit all existing resources upon resumption. A linked-list for keeping references of all created virtio_gpu_object and its params is added for this save and restore mechanism. Virtio-gpu objects are added to the list whenever a new object is created and sent to the host. All backed-up objects will then be re-sent to the host in .resume function with 'create resource' virtio gpu command. Tracked-On: OAM-130450 Signed-off-by: Zhao, Shirley <[email protected]> Signed-off-by: Dongwon Kim <[email protected]>
shirley update Add tiling support featured with feature bit VIRTIO_GPU_F_MODIFIER, so buffer created by virtio gpu with intel_x_tiling and intel_y_tiling format could be rendered directly by i915. Tracked-On: OAM-130450 Change-Id: I8c6447736c4edbc8947ab0ea7b72d48d9e85a7c4 Signed-off-by: hangliu1 <[email protected]> Signed-off-by: Yifan Liu <[email protected]> Signed-off-by: Zhao, Shirley <[email protected]>
The gem buffer created by i915 in guest vm may be smaller than the resolution determined by the mode setting operation. In that case, a new framebuffer may be created by virtio gpu driver, and i915 rendering must be utilized to do the composition. To save the effort, pass the dst crtc info to the backend which will scale the gem buffer to the crtc. Tests done: - Android Boot / reboot / recovery - Android Boot using ACRN / fastboot - Wifi / Wifi Hotspot - BT / File Transfer - Audio / Video Playback - ADB - Web Browsing - Settings - Type C check - Factory reset Tracked-On: OAM-130450 Signed-off-by: Hang Liu<[email protected]> Signed-off-by: Zhao, Shirley <[email protected]>
virtio backend set the vblank queue number in the config space, since vblank interrupt reuse the virtio queue interrupt. Tests done: - Android Boot / reboot / recovery - Android Boot using ACRN / fastboot - Wifi / Wifi Hotspot - BT / File Transfer - Audio / Video Playback - ADB - Web Browsing - Settings - Type C check - Factory reset Tracked-On: OAM-130450 Signed-off-by: Hang Liu<[email protected]> Signed-off-by: Zhao, Shirley <[email protected]>
virtio gpu backend inject virtual vblank interrupt for each virtio gpu crtc. The purpose for doing this is to avoid the potential image tearing caused by the concurrent accessing the same framebuffer by rendering engine in guest and display engine in host. Tests done: - Android Boot / reboot / recovery - Android Boot using ACRN / fastboot - Wifi / Wifi Hotspot - BT / File Transfer - Audio / Video Playback - ADB - Web Browsing - Settings - Type C check - Factory reset Tracked-On: OAM-130450 Signed-off-by: Hang Liu<[email protected]> Signed-off-by: Zhao, Shirley <[email protected]>
set vblank on/off during atomic enable/disable, add vblank_get to protect vblank event operation, process vblank during virtio gpu restore. Tracked-On: OAM-130450 Signed-off-by: Xue, Bosheng <[email protected]> Signed-off-by: Zhao, Shirley <[email protected]>
Tile-4 is supported by Intel DG2. Support it could benefit performance. Tracked-On: OAM-130450 Signed-off-by: HeYue <[email protected]> Signed-off-by: Zhao, Shirley <[email protected]>
put set modifier ahead of set scanout to avoid set scaout operation can not get the lastest modifier, and refine set modifer api to pass resource id to backend. Tracked-On: OAM-130450 Signed-off-by: Xue, Bosheng <[email protected]> Signed-off-by: Zhao, Shirley <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.