Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Gen10 support code #1689

Merged
merged 1 commit into from
Oct 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
67 changes: 1 addition & 66 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -536,71 +536,6 @@ jobs:
make VERBOSE=1 -j$(nproc)
sudo make install

gcc-10-gen10-on:
runs-on: ubuntu-20.04
env:
CC: /usr/bin/gcc-10
CXX: /usr/bin/g++-10
ASM: /usr/bin/gcc-10
steps:
- name: checkout media-driver
uses: actions/checkout@v2
with:
path: media
- name: checkout libva
uses: actions/checkout@v2
with:
repository: intel/libva
path: libva
- name: checkout gmmlib
uses: actions/checkout@v2
with:
repository: intel/gmmlib
path: gmmlib
- name: install prerequisites
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends \
cmake \
libdrm-dev \
libx11-dev \
libx11-xcb-dev \
libxcb-dri3-dev \
libxext-dev \
libxfixes-dev \
libwayland-dev \
make
- name: print tools versions
run: |
cmake --version
$CC --version
$CXX --version
- name: build libva
run: |
cd libva
./autogen.sh --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu
make -j$(nproc)
sudo make install
- name: build gmmlib
run: |
cd gmmlib
mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib/x86_64-linux-gnu ..
make VERBOSE=1 -j$(nproc)
sudo make install
- name: build media-driver
run: |
cd media
mkdir build && cd build
cmake -DGEN10=ON \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib/x86_64-linux-gnu \
-DCMAKE_C_FLAGS_RELEASE="$_CFLAGS" \
-DCMAKE_CXX_FLAGS_RELEASE="$_CFLAGS" \
..
make VERBOSE=1 -j$(nproc)
sudo make install

gcc-10-gen11-off:
runs-on: ubuntu-20.04
env:
Expand Down Expand Up @@ -805,4 +740,4 @@ jobs:
-DAVC_Decode_Supported="no" \
..
make VERBOSE=1 -j$(nproc)
sudo make install
sudo make install
2 changes: 1 addition & 1 deletion media_driver/agnostic/common/cm/cm_execution_adv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@ int CmExecutionAdv::SetSuggestedL3Config(L3_SUGGEST_CONFIG l3SuggestConfig)
table = m_cmhal->cmHalInterface->m_l3Plane;
count = m_cmhal->cmHalInterface->m_l3ConfigCount;
break;
#if IGFX_GEN9_SUPPORTED || IGFX_GEN10_SUPPORTED
#if IGFX_GEN9_SUPPORTED
default: // gen9
count = sizeof(SKL_L3_PLANE) / sizeof(L3ConfigRegisterValues);
table = (L3ConfigRegisterValues *)SKL_L3_PLANE;
Expand Down
4,263 changes: 0 additions & 4,263 deletions media_driver/agnostic/gen10/cm/cm_gpucopy_kernel_g10.h

This file was deleted.

100 changes: 0 additions & 100 deletions media_driver/agnostic/gen10/cm/cm_gpuinit_kernel_g10.h

This file was deleted.

Loading
Loading