Skip to content

Commit

Permalink
Revert "GMMLIB code changes to support rpl platform"
Browse files Browse the repository at this point in the history
This reverts commit ee91a88.
This patch will cause the buffer can not be handled by i915 on ADL with GVT-d

as below

06-29 02:30:22.260 0 0 E i915 0000: 00:02.0: [drm] ERROR Fault errors on pipe A: 0x00000480
06-29 02:30:22.165 516 585 E hwc-drm-atomic-state-manager: Failed to commit pset ret=-16
06-29 02:30:22.165 516 585 E hwc-drm-atomic-state-manager: Composite failed for pipeline HDMI-A-2
06-29 02:30:22.165 516 585 E hwc-drm-atomic-state-manager: Failed to commit pset ret=-16
06-29 02:30:22.165 516 585 E hwc-drm-atomic-state-manager: Failed to clean-up active composition for pipeline HDMI-A-2
06-29 02:30:22.165 516 585 E hwc-display: Failed to apply the frame composition ret=-16
06-29 02:30:22.165 535 535 E HWComposer: presentAndGetReleaseFences: present failed for display 4640546737361125120: BadParameter (4)
06-29 02:30:22.261 0 0 E i915 0000: 00:02.0: [drm] ERROR Fault errors on pipe A: 0x00000480
06-29 02:30:22.261 0 0 E i915 0000: 00:02.0: [drm] ERROR Fault errors on pipe A: 0x00000480
06-29 02:30:22.262 0 0 E i915 0000: 00:02.0: [drm] ERROR Fault errors on pipe A: 0x00000480
06-29 02:30:22.263 0 0 E i915 0000: 00:02.0: [drm] ERROR Fault errors on pipe A: 0x00000480
06-29 02:30:22.264 0 0 E i915 0000: 00:02.0: [drm] ERROR Fault errors on pipe A: 0x00000480
06-29 02:30:22.265 0 0 E i915 0000: 00:02.0: [drm] ERROR Fault errors on pipe A: 0x00000480

Revert this patch

Tracked-On: OAM-110957
Signed-off-by: Tang, Shaofeng <[email protected]>
  • Loading branch information
Shao-Feng committed Jun 29, 2023
1 parent ee91a88 commit 35eb87e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 17 deletions.
1 change: 0 additions & 1 deletion Source/GmmLib/Platform/GmmGen12Platform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,6 @@ FCRECTALIGN(TILE__64_2D_128bpe, 128, 32, 32, 32, 32);
else if(GFX_GET_CURRENT_PRODUCT(Data.Platform) == IGFX_ALDERLAKE_S ||
(GFX_GET_CURRENT_PRODUCT(Data.Platform) == IGFX_ALDERLAKE_P) ||
(GFX_GET_CURRENT_PRODUCT(Data.Platform) == IGFX_ALDERLAKE_N) ||
(GFX_GET_CURRENT_PRODUCT(Data.Platform) == IGFX_RAPTORLAKE_S) ||
(GFX_GET_CURRENT_PRODUCT(Data.Platform) >= IGFX_XE_HP_SDV))
{
Data.NoOfBitsSupported = 46;
Expand Down
16 changes: 0 additions & 16 deletions Source/inc/common/igfxfmid.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ typedef enum {
IGFX_ROCKETLAKE,
IGFX_ALDERLAKE_S,
IGFX_ALDERLAKE_P,
IGFX_RAPTORLAKE_S,
IGFX_ALDERLAKE_N,
IGFX_DG1 = 1210,
IGFX_XE_HP_SDV = 1250,
Expand Down Expand Up @@ -106,7 +105,6 @@ typedef enum {
PCH_JSP_N, // JSL N PCH Device IDs for JSL+ Rev02
PCH_ADL_S, // ADL_S PCH
PCH_ADL_P, // ADL_P PCH
PCH_RPL_S, // RPL_S PCH
PCH_TGL_H, // TGL H PCH
PCH_ADL_N, // ADL_N PCHDL
PCH_MTL, // MTL PCH
Expand Down Expand Up @@ -1338,20 +1336,6 @@ typedef enum __NATIVEGTTYPE
#define DEV_ID_46C2 0x46C2
#define DEV_ID_46C3 0x46C3

//RPL-S PCH Device IDs
#define DEV_ID_A780 0xA780
#define DEV_ID_A781 0xA781
#define DEV_ID_A782 0xA782
#define DEV_ID_A783 0xA783

// RPL-P
#define DEV_ID_A7A0 0xA7A0
#define DEV_ID_A7A1 0xA7A1
#define DEV_ID_A7A8 0xA7A8
#define DEV_ID_A7A9 0xA7A9
#define DEV_ID_A720 0xA720
#define DEV_ID_A721 0xA721

//ICL PCH LP Device IDs
#define ICP_LP_RESERVED_FUSE_ID 0x3480
#define ICP_LP_U_SUPER_SKU_ID 0x3481
Expand Down

0 comments on commit 35eb87e

Please sign in to comment.