OSDN Git Service

i915: Add gen12 ids for TGL
authorSushma Venkatesh Reddy <sushma.venkatesh.reddy@intel.com>
Thu, 8 Oct 2020 17:18:01 +0000 (10:18 -0700)
committerJustin TerAvest <teravest@chromium.org>
Tue, 13 Oct 2020 16:53:52 +0000 (16:53 +0000)
commit20604bea13dbf7b2faa02b72c17ef0e65bd2a9b9
treef1bcfebe52b7466d87f32c3966675001f465006b
parentd3f07bd673cdc8a2c165aa2b921cbc21e3e945f2
i915: Add gen12 ids for TGL

During 5K/8K HW accelerated video playback, corruptions are observed on
gen12 TGL devices as (i915->gen <= 11) condition is returning true, and
I915_TILING_NONE tile is being set to bo. Adding gen12 ids ensures
buffer allocations happen as per the device's capabilities and here, it
resolves the video corruption issues.

BUG=b:168706685
TEST=Play 5K/8K VP9 codec video

Signed-off-by: Sushma Venkatesh Reddy <sushma.venkatesh.reddy@intel.com>
Change-Id: I24cd0b667f2bf74f73d2377a32f92a148d21c793
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/2462345
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
Tested-by: Kevin L Derossett <kevin.l.derossett@intel.com>
i915.c