Skip to content

Commit 48fa9d3

Browse files
Alex1Zhangintel-mediadev
authored andcommitted
[VP] integrate FDFB native kernel
* [VP] integrate FDFB native kernel integrate FDFB native kernel.
1 parent 7273373 commit 48fa9d3

File tree

6 files changed

+28
-1
lines changed

6 files changed

+28
-1
lines changed

media_driver/media_softlet/agnostic/Xe_M/Xe_HPM/vp/hal/platform_interface/vp_platform_interface_xe_hpm.h

+5
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,11 @@ class VpPlatformInterfaceXe_Hpm : public VpPlatformInterface
7575
return false;
7676
}
7777

78+
virtual bool IsAdvanceNativeKernelSupported()
79+
{
80+
return false;
81+
}
82+
7883
virtual MOS_STATUS GetInputFrameWidthHeightAlignUnit(
7984
PVP_MHWINTERFACE pvpMhwInterface,
8085
uint32_t &widthAlignUnit,

media_driver/media_softlet/agnostic/Xe_M/Xe_XPM/vp/hal/platform_interface/vp_platform_interface_xe_xpm.h

+5
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,11 @@ class VpPlatformInterfaceXe_Xpm : public VpPlatformInterface
6868
return false;
6969
}
7070

71+
virtual bool IsAdvanceNativeKernelSupported()
72+
{
73+
return false;
74+
}
75+
7176
virtual MOS_STATUS GetInputFrameWidthHeightAlignUnit(
7277
PVP_MHWINTERFACE pvpMhwInterface,
7378
uint32_t &widthAlignUnit,

media_driver/media_softlet/agnostic/gen12_tgllp/vp/hal/platform_interface/vp_platform_interface_g12_tgllp.h

+5
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,11 @@ class VpPlatformInterfaceG12Tgllp : public VpPlatformInterface
7979
return false;
8080
}
8181

82+
virtual bool IsAdvanceNativeKernelSupported()
83+
{
84+
return false;
85+
}
86+
8287
virtual MOS_STATUS GetInputFrameWidthHeightAlignUnit(
8388
PVP_MHWINTERFACE pvpMhwInterface,
8489
uint32_t &widthAlignUnit,

media_softlet/agnostic/Xe_M_plus/Xe_LPM_plus/vp/hal/platform_interface/vp_platform_interface_xe_lpm_plus.h

+5
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,11 @@ class VpPlatformInterfacesXe_Lpm_Plus : public VpPlatformInterface
7474
return true;
7575
}
7676

77+
virtual bool IsAdvanceNativeKernelSupported()
78+
{
79+
return false;
80+
}
81+
7782
protected:
7883
bool m_disableSfcDithering = false;
7984

media_softlet/agnostic/common/renderhal/renderhal.cpp

+3-1
Original file line numberDiff line numberDiff line change
@@ -4057,7 +4057,9 @@ MOS_STATUS RenderHal_GetSurfaceStateEntries(
40574057
PlaneDefinition == RENDERHAL_PLANES_YUY2 ||
40584058
PlaneDefinition == RENDERHAL_PLANES_RGBP ||
40594059
PlaneDefinition == RENDERHAL_PLANES_PL3 ||
4060-
PlaneDefinition == RENDERHAL_PLANES_YV12))
4060+
PlaneDefinition == RENDERHAL_PLANES_YV12 ||
4061+
PlaneDefinition == RENDERHAL_PLANES_R16_UNORM ||
4062+
PlaneDefinition == RENDERHAL_PLANES_A8))
40614063
{
40624064
dwSurfaceWidth = dwSurfaceWidth / OutputSurfaceWidthRatio;
40634065
}

media_softlet/agnostic/common/vp/hal/platform_interface/vp_platform_interface.h

+5
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,11 @@ class VpPlatformInterface
312312
return false;
313313
}
314314

315+
virtual bool IsAdvanceNativeKernelSupported()
316+
{
317+
return true;
318+
}
319+
315320
protected:
316321
PMOS_INTERFACE m_pOsInterface = nullptr;
317322
VP_KERNEL_BINARY m_vpKernelBinary = {}; //!< vp kernels

0 commit comments

Comments
 (0)