Commit Graph

129 Commits

Author SHA1 Message Date
johnbasha shaik 8b73947540 Unused MOCS Default Programming(L3+LLC)
Mark Unused MOCS Indices to L3,LLC Cacheable

Change-Id: Ie7905e8670a898380a674cd68ebccbc2496a5573
2020-03-13 00:18:28 -07:00
johnbasha shaik 3ec6a0cd4e 64k-alignment for UV plane only if compressed
Change-Id: I161324d9e6012fdc7bc31e62ade904f9bf1aa1a3
2020-03-12 23:07:14 -07:00
johnbasha shaik e8d18d62e6 Fix mip tail start LOD
GMM returns 32bit max instead of 4-bit max for
SurfaceState.MipTailStartLOD

Change-Id: I9e8c4b4cd80fbe62769e59d0e3130fc26acf6f6e
2020-03-12 17:34:04 +05:30
johnbasha shaik 879f3044c4 Add JSL N PCH DIDs range for JSL+ Rev02
Change-Id: I185b068d2e5f539190ffa60a1ebb993686af1eb1
2020-01-29 02:29:12 -08:00
johnbasha shaik 8ec76964db Fix for Android.
Change-Id: I52d9bc5cb57381243ae730decffb3fe6baab6b30
2020-01-27 16:33:07 +05:30
johnbasha shaik ebfcfd5650 Fixing the ABI break
Revert of ABI break which was introduced in 19.3.4.
Added two new API to interact with Library without any ABI break.

Fixes:Commit Id 94306f5
Change-Id: I6f76c5c6a4f518d6907016890ee6fc6246cc8491
2019-12-20 11:39:27 +05:30
Dmitry Rogozhkin eb2db6fbf8 Fixing API versioning as 11.1
Major API version was incorrectly bumped to 12 while there was no
ABI changes. This commit gets it back to 11 and bumps minor version
instead.

Fixes: 94306f5 ("Initial Multi adapter changes")

Change-Id: Id2dc7d1e7a2dd0b9861a09e53822b0f088762f49
Signed-off-by: Dmitry Rogozhkin <dmitry.v.rogozhkin@intel.com>
2019-12-12 11:45:01 -08:00
priyankg 63c625d159 Fix aux mapping issue
Change-Id: I0414bcab07012a718a27e35987e28774948418d2
2019-12-08 23:27:10 -08:00
johnbasha shaik d4028a165c Adding JSL Device IDs
Change-Id: Icaffaaa6851887c0ddb6edf6fd7129475f6b8b15
2019-12-05 16:17:59 +05:30
priyankg ce77e6ecb3 Upstream PCH ID s for TGL_H to open source
Change-Id: Ib162deb36106028f29aceecdd4764720def57fd2
2019-11-25 10:28:18 +05:30
johnbasha shaik f78be970a6 Header file inclusion
Change-Id: I1079f2087b03bb0429e13cfcb87c5c11a356026a
2019-11-15 16:00:44 +05:30
johnbasha shaik 41a3dc984d Fix for resource creation failure.
Change-Id: Id2e2f397eec8f67fba687591cbf2301597bddb0b
2019-11-14 17:07:22 +05:30
johnbasha shaik 94306f5443 Initial Multi adapter changes.
Change-Id: Iedfd8928e887c6412f8df9a2fba2aac13e285ef3
2019-10-22 15:05:14 +05:30
johnbasha shaik 77699a1c8c Disable ULT for 32bit
Change-Id: I6f6f800311146bf334f970461cdc7cc0801d4c7c
2019-10-15 07:02:10 -07:00
johnbasha shaik 5c9a0c4233 Adding JSL Device IDs
Change-Id: Ib9b1de09bcf912df5824f30636fad2bfbdbb6c55
2019-10-11 11:10:02 -07:00
johnbasha shaik bda1dcff73 Add new generic API in Clientcontext for getting DeviceCB
and saving this in clientcontext for later use.

unlink getting same info from the existing API's
CreatePageatlbMgrObject. use the saved info
from the ClientContext.

Change-Id: I477db65c161701d002880ab04f874c2761f4d3e3
2019-09-16 16:00:27 +05:30
johnbasha shaik a09c68fd32 Add Pagetable manager and auxtable support.
Change-Id: I429b52a70c77fc304c65d28d42b18f99b01116d5
2019-09-14 08:02:31 +05:30
johnbasha shaik b136069616 Add TGL_LP support
Change-Id: I522eeb8ea285eb900890ecf454ee12ed30f867f2
2019-09-13 22:48:13 -07:00
johnbasha shaik 19ab520741 Fix static MOCS table for Gen9 Atom platforms
Description: Static MOCS table for Gen9 Atom platforms had a bug where
it was setting LRUM/Age to 0 for MOCS index 2. This patch fixes this
issue.

Change-Id: I6acc9236b2ee65cded23402b2d322c72661051ee
2019-09-04 15:17:28 +05:30
johnbasha shaik 2d58b09a0a Fix FtrLLCByPass usage in cache policies for Displayable resource
Description: When FtrLLCByPass is on, GMM should appropriately set SCF as per Ftr
support for that platform. Fixing GMM MOCS table for #16/17 when Ftr is set -

Change-Id: I3edaf50263214eae8c4cb1e22870e3083ae5ff20
2019-08-29 22:54:51 -07:00
johnbasha shaik 3cef9080d4 Relaxing GMM restrictions to support VP9-VDEnc for higher resolutions for video buffers.
Adding ICL Device ID

Change-Id: I73a8c4ee851efac9c63b2ad309b8453393d505f8
2019-08-29 12:41:36 +05:30
drprajap e834bcd677 correct EHL product naming
Change-Id: I70a77401594f7697f291c7d481be848d95412779
2019-06-25 16:58:46 -07:00
drprajap 34e5067027 Add/update EHL device id and product family info
Change-Id: I7afef427e590118ed421a8738e8c9e7cb1536308
2019-06-25 13:56:23 -07:00
drprajap a235edeaf5 Adding EHL Device IDs
Change-Id: I78218f367a55842920d160151a521c7fa58077f4
2019-06-19 15:35:42 -07:00
drprajap 5384ab037e [GMM] Add cache policy for fix function encode and VP
[VP] Update cache policy for VPP to seprate it for FF/RCS

add cache policy for downscaled surface for fix function
encoder to seperate it from render engine cache config

Change-Id: Ieea67cbaa2001562cbbf77d30def5e5da311468a
2019-06-19 13:26:49 -07:00
johnbash 5a931e80d9 Fix for App crash in GmmLib Dll
Description:pGmmGlobalContext is null in the dump.
pGmmGlobalContext is getting destroyed before the completion
of the GmmCreateSingletonContext due to some race condition between the threads.
so here adding locking machanisim to avoide deleting the
pGmmGlobalContext before the GmmCreateSingletonContext function completion.

Change-Id: Idd6cf645bc7cbf2d033955dc88650b6233689dd4
2019-05-24 14:09:34 -07:00
Rengarajan, Janarthanan 2818bfb6f4 Add Cachebility for Two Encode Buffers
Change-Id: Id3c27503259f8fd2a242fca2bd01417426d5c91b
2019-05-23 14:45:29 -07:00
drprajap 03202a0208 Revert "Disable L3 caching for media resources"
I915 kernel patch is ready in drm-intel-internal,
media validation does not require this patch anymore

This reverts commit 50707fb182.

Change-Id: I17b75782a9964574ba609303a15922bbfce51c8d
2019-05-21 13:03:16 -07:00
Artur Harasimiuk 8feb8385a3 Fix GMMLIB_API_PATCH_VERSION setting when not defined as external
Fixes variable value dereference in cmake. Previously
PATCH_VERSION was used literally instead of variable value.

Change-Id: Ied1b2b86c94192c5493d89c8102ff765da2fae52
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2019-05-10 09:49:45 -07:00
Artur Harasimiuk dbfd6eef06 fix syntax for RPM package requirements
https://github.com/intel/gmmlib/issues/40

Change-Id: I622043b52aa52f706261aac0c6c03f938f573018
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2019-05-10 09:49:24 -07:00
Artur Harasimiuk 74b87a1759 cpack: adding postinst and postrm
Adding scripts to invoke ldconfig

Change-Id: Ifdd59304fa0342967477e608bdf5e2ca42eed844
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2019-05-09 14:09:38 -07:00
drprajap 0e5e49651e Adding ICL Device ID
Change-Id: I6d998b3c518f832ac2956f49435586e9745899b0
Signed-off-by: drprajap <dimpalben.r.prajapati@intel.com>
2019-04-26 11:17:28 -07:00
johnbasha shaik 04a402ff9b Relaxing GMM restrictions to support VP9-VDEnc for higher resolutions.
Change-Id: I41abeea48bab6e58e332e3fcd5478464b8f63ac7
2019-04-16 18:18:39 +05:30
johnbasha shaik 50707fb182 Disable L3 caching for media resources
Change-Id: Ic75bbc7174a8320205784392d321b594c3cfea73
2019-04-10 23:41:17 -07:00
Artur Harasimiuk afd1548825 added new cmake parameter GMMLIB_API_PATCH_VERSION
adding this to allow creation of package with version independent from
API version used in shared library name.

Change-Id: I161755eb7e7680d02d018bc6531be96a1d97153b
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2019-04-05 16:22:13 -07:00
johnbasha shaik 8294f6851c Adding Comet lake PCH and DeviceId's
Change-Id: Id57a88b464a374cdeea465053ecb837bb37c3757
2019-03-27 21:31:26 -07:00
drprjap e65dff3842 Gen11 Fixed MOCS table
Change-Id: I8a357fcb00e3aa1414c7cfa7d6e2961d583fdec8
Signed-off-by: drprajap <dimpalben.r.prajapati@intel.com>
2019-03-22 15:40:04 -07:00
johnbash ac68e2cebf Renaming Gmm flag for ApertureOnly
GMM_RESOURCE_FLAG::Info.ApertureOnly to GMM_RESOURCE_FLAG::Info.NonLocalOnly
Clients should use NonLocalOnly flag, ApertureOnly will be removed once
all clients switch to using new flag

Change-Id: I387a44dae87b111bb6aea8af3638909e8d6b92d3
2019-02-25 11:32:05 -08:00
drprjap 8bee050d28 Adding Lakefield support
Refactoring internal classes

Change-Id: Ifd38919c99e6414b0b63fb8c26ccb84c32e062de
Signed-off-by: drprjap <dimpalben.r.prajapati@intel.com>
2019-02-14 10:58:49 -08:00
johnbasha shaik 19fa8823c3 Correcting Valign and Halign value
Description:
Open source using different Valign values then closed source.
As per specifications valign value should not be zero.

Increment DLL version.
Change-Id: I966d4c81b737e622a0a7d56dc051084626648f32
2019-02-14 18:16:30 +05:30
johnbash bcac3f3833 Refactoring GMM internal Classes
Description: Refactoring GmmResourceInfo, PlatformInfo and TextureCalc
Classes.

Change-Id: Ic86a3c982737d2774ea481d1cb7977daceb21d3a
Signed-off-by: drprajap <dimpalben.r.prajapati@intel.com>
2019-01-29 14:32:40 -08:00
Simon 001d32de21 [CM] CM cache policy entry for state heap
Change-Id: Ie7f588783ecc610a27f2ff139f344a6b6afccd2c
2019-01-23 11:04:11 -08:00
drprajap bd89465249 Remove static lib targets and switch ULT to use DLL
Change-Id: I395e0bc356ef917aeb3fe9230f11817a9564ffc4
Signed-off-by: drprajap <dimpalben.r.prajapati@intel.com>
2019-01-15 15:18:39 -08:00
Prashanth Shankar 80dc72630f Title: [GMM DLL] Fix for Memory Leak in GMM Lib DLL
Risk: Low

Feature Impact: GMM LIB DLL

Description: This changes are for fixing the memory leak casued for not
freeing GMM ProcessSingletonCOntext.

Platforms:All

Change-Id: Ia315db53be5378c04c83fa005f02958fa8a047ea
2019-01-15 14:58:49 -08:00
johnbash 9e4aa143fb Linking pthread Library to GmmLib Dll
Change-Id: I81c09afb02a1869e0567393d99da5371c8c5d8cf
2019-01-15 13:37:03 -08:00
johnbasha shaik 413896ed8e Fix perftag mismatch issue
Add VPHAL_VEBOX_RESERVED1 to avoide the mismatch of perftag in open source

Change-Id: I1ab1007d867d2bf44e5e6743d68317cf6577ccb3
2018-12-06 18:19:44 +05:30
drprajap 10ad15adc3 Add memory config feature flag
Increment DLL version

Change-Id: I0c923b8d5f43ef39eb70630ed1920eb4d1d2cbdb
Signed-off-by: drprajap <dimpalben.r.prajapati@intel.com>
2018-11-20 10:04:16 -08:00
drprajap fffd5a579e Add Gmm interface for memory config
Increment Dll Version

Change-Id: Ica11a2c7703eb1edf02eaf7cd758fda310f9bd17
Signed-off-by: drprajap <dimpalben.r.prajapati@intel.com>
2018-11-19 23:09:11 -08:00
Artur Harasimiuk 5cd8dca50b cpack: Fix dependency setup for .rpm packages
we should use "intel-gmmlib(=<version>)" without space before (

Change-Id: Ie62e5df7b44e995d280c0fb132cd0ae7b1b3a680
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-10-31 17:51:22 +01:00
Artur Harasimiuk aedd82e2da cpack: fix dependency management for rpm
For rpm packages we should use <...>_REQUIRES instread of
<...>_DEPENDS.

Change-Id: I80f0caa069fbe4a7e2945dda619b4586a79df086
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-10-24 19:33:40 +02:00