Skip to content

Commit

Permalink
Remove Gen10 support code
Browse files Browse the repository at this point in the history
Gen10 graphics never shipped, and the support code was disabled by
default in commit 99adba9 ("Disable Gen10 driver code when
-DGEN10=OFF") a few months ago.
  • Loading branch information
mattst88 authored and intel-mediadev committed Oct 24, 2023
1 parent e08336f commit eb14dc9
Show file tree
Hide file tree
Showing 572 changed files with 2 additions and 340,587 deletions.
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

0 comments on commit eb14dc9

Please sign in to comment.