amd/vpelib: Fix compilation warnings
Reviewed-by: Navid Assadian <Navid.Assadian@amd.com> Acked-by: Chih-Wei Chien <Chih-Wei.Chien@amd.com> Signed-off-by: Roy Chan <roy.chan@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31693>
This commit is contained in:
@@ -165,6 +165,7 @@ enum vpe_status vpe10_build_vpe_cmd(
|
||||
if (vpe_desc_writer->status != VPE_STATUS_OK) {
|
||||
return vpe_desc_writer->status;
|
||||
}
|
||||
|
||||
vpe_desc_writer->complete(vpe_desc_writer);
|
||||
|
||||
return VPE_STATUS_OK;
|
||||
|
@@ -832,7 +832,7 @@ enum vpe_status vpe_color_update_shaper(const struct vpe_priv *vpe_priv, uint16_
|
||||
// right now shaper is always programmed with linear, once cached, it is always reused.
|
||||
for (int i = 0; i < vpe_priv->pub.caps->resource_caps.num_mpc_3dlut; i++) {
|
||||
if (vpe_priv->init.debug.disable_lut_caching ||
|
||||
(shaper_func && shaper_func->cache_info[i].tf != tf)) {
|
||||
(shaper_func && (shaper_func->cache_info[i].tf != tf))) {
|
||||
// if the caching has the required data cached, skip the update
|
||||
update = true;
|
||||
}
|
||||
|
@@ -75,7 +75,7 @@ struct vpep_direct_config_packet {
|
||||
struct config_writer {
|
||||
struct vpe_buf *buf; /**< store the current buf pointer */
|
||||
|
||||
/* store the base addr of the currnet config
|
||||
/* store the base addr of the current config
|
||||
* i.e. config header
|
||||
* it is always constructed in emb_buf
|
||||
*/
|
||||
|
Reference in New Issue
Block a user