-
Notifications
You must be signed in to change notification settings - Fork 4
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
media driver buffer sharing #18
base: intel-media-kbl
Are you sure you want to change the base?
Conversation
{ | ||
usleep(10000); //sleep 10ms for the first frame | ||
iframe++; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add comments here for just work around, will fix later.
PDDI_MEDIA_CONTEXT mediaCtx = DdiMedia_GetMediaContext(ctx); | ||
DDI_CHK_NULL(mediaCtx, "nullptr mediaCtx", VA_STATUS_ERROR_INVALID_CONTEXT); | ||
|
||
mediaCtx->bBltMode = false; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please initialize the bBltMode in the context initialize stage.
{ | ||
DDI_CHK_NULL(attrib_list, "nullptr attrib_list", VA_STATUS_ERROR_INVALID_PARAMETER); | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why to add check here?
VPHAL_RENDER_ASSERT(pRenderState->GetRenderHalInterface()); | ||
|
||
pRenderer->pRender[VPHAL_RENDER_ID_VEBOX+pRenderer->uiCurrentChannel]->SetStatusReportParams(pRenderer, pRenderParams); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Which place to initialize the "uiCurrentChannel"? Suggest to use VPHAL_RENDER_ID_BLITTER to find the render instance.
@@ -413,6 +413,7 @@ typedef enum _MOS_GPU_CONTEXT | |||
MOS_GPU_CONTEXT_COMPUTE = 14, //Compute Context | |||
MOS_GPU_CONTEXT_CM_COMPUTE = 15, // MDF Compute | |||
MOS_GPU_CONTEXT_MAX = 16, | |||
MOS_GPU_CONTEXT_BLITTER = 17, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please define the MOS_GPU_CONTEXT_BLITTER before MOS_GPU_CONTEXT_MAX.
Please align the the code layout. |
No description provided.