Skip to content
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

Mtl video playback fix #178

Merged

Conversation

JeevakaPrabu
Copy link
Collaborator

No description provided.

Adding of format, usage, and modifier supported combination to a driver
is getting skipped due to invalid condition check.

Fix the issue by skipping addition of supported combination only on
dual GPU case and dGPU.

Tests done:
- Android boot to UI
- Video playback

Tracked-On: OAM-129167
Signed-off-by: Jeevaka Prabu Badrappan <[email protected]>
Tests done:
- Android boot to UI
- Video playback

Tracked-On: OAM-129167
Signed-off-by: Jeevaka Prabu Badrappan <[email protected]>
(drv->gpu_grp_type & GPU_GRP_TYPE_HAS_VIRTIO_GPU_BLOB_BIT)) {
if (((drv->gpu_grp_type & GPU_GRP_TYPE_HAS_INTEL_IGPU_BIT) ||
(drv->gpu_grp_type & GPU_GRP_TYPE_HAS_VIRTIO_GPU_BLOB_BIT))
&& (GEN_VERSION_X10(i915) == 125)) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is code:
bool i915_has_tile4(struct i915_device *i915)
{
return i915->graphics_version >= 125 || i915->is_mtl;
}
It seems MTL should support Tile4 format. Upper code need be refined.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

misunderstand the change, we just skip for igpu+dgpu case, while MTL can satisfy the check, then is also skipped.

Copy link

@feijiang1 feijiang1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sysopenci
Copy link

Android CI has started Engineering Build for this issue ,Please check the linked Tracked-On issue/Android CI Web for more details.

@sysopenci
Copy link

SUCCESS: Android CI has completed Engineering Build for this issue.Please check the linked Tracked-On issue/Android CI Web for more details.

@sysopenci sysopenci added Engineering Build Successful Engineering Build Successful and removed Engineering Build Not Started Engineering Build Not Started labels Jan 9, 2025
@sysopenci
Copy link

Android CI has started MERGE Build for this pr ,Please check the linked Tracked-On issue/Android CI Web for more details.

@sysopenci
Copy link

Android CI has completed MERGE Build for this pr, build is FAILURE. Please check the linked Tracked-On issue/Android CI Web for more details.

@sysopenci
Copy link

Android CI has started MERGE Build for this pr ,Please check the linked Tracked-On issue/Android CI Web for more details.

@sysopenci sysopenci merged commit abdc416 into projectceladon:upstream_main Jan 9, 2025
27 checks passed
@sysopenci
Copy link

Android CI has completed MERGE Build for this pr, build is SUCCESS. Please check the linked Tracked-On issue/Android CI Web for more details. For Binaries: /cactus-absp-or-local/celadon-merge/924

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants