]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "drm/i915/ehl: Update MOCS table for EHL"
authorMatt Roper <matthew.d.roper@intel.com>
Tue, 12 Nov 2019 22:47:56 +0000 (14:47 -0800)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Wed, 13 Nov 2019 21:23:08 +0000 (13:23 -0800)
commit8d37416857fba4aec5a42336a3718d0e054133e2
treedfe0bab33c40878e79c90ea8de976002fe7d1a44
parent1a9519c54853049be5d9a3fbda062f4da60e196b
Revert "drm/i915/ehl: Update MOCS table for EHL"

This reverts commit 460b9aacb83343614e59724945b5c5b7821151c1.

These extra EHL entries won't behave as expected without a bit more work
on the kernel side so let's drop them until that kernel work has had a
chance to land.  Userspace trying to use these new entries won't get the
advantage of the new functionality these entries are meant to provide,
but at least it won't misbehave.

When we do add these back in the future, we'll probably want to
explicitly use separate tables for ICL and EHL so that userspace
software that mistakenly uses these entries (which are undefined on ICL)
sees the same behavior it sees with all the other undefined entries.

Cc: Francisco Jerez <francisco.jerez.plata@intel.com>
Cc: Jon Bloomfield <jon.bloomfield@intel.com>
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Cc: <stable@vger.kernel.org> # v5.3+
Fixes: 460b9aacb833 ("drm/i915/ehl: Update MOCS table for EHL")
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191112224757.25116-1-matthew.d.roper@intel.com
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
(cherry picked from commit 046091758b50a5fff79726a31c1391614a3d84c8)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/i915/gt/intel_mocs.c