Skip to content

Commit

Permalink
[CM][HW]add new interface for register resource before lock
Browse files Browse the repository at this point in the history
this is part 1 patch for fixing surface corruption issue

Change-Id: Ifca48a1c5eb789f9297ea007e08a4f714cbe71c9
  • Loading branch information
dai1 authored and intel-mediadev committed May 23, 2019
1 parent 70ee1e3 commit f5ba66b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions media_driver/agnostic/common/cm/cm_hal_generic.h
Original file line number Diff line number Diff line change
Expand Up @@ -655,6 +655,10 @@ struct CM_HAL_GENERIC
return m_decompress;
}

virtual MOS_STATUS RegisterResourceBeforeLock(PMOS_INTERFACE pOsInterface, PMOS_RESOURCE pResource)
{
return MOS_STATUS_SUCCESS;
}
protected:
uint32_t m_platformID;
uint32_t m_genGT;
Expand Down

0 comments on commit f5ba66b

Please sign in to comment.