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

Update i915_legacy to 5.2.15 #1

Merged

Commits on Sep 18, 2019

  1. drm/i915: Disable SAMPLER_STATE prefetching on all Gen11 steppings.

    [ Upstream commit 248f883 ]
    
    The Demand Prefetch workaround (binding table prefetching) only applies
    to Icelake A0/B0.  But the Sampler Prefetch workaround needs to be
    applied to all Gen11 steppings, according to a programming note in the
    SARCHKMD documentation.
    
    Using the Intel Gallium driver, I have seen intermittent failures in
    the dEQP-GLES31.functional.copy_image.non_compressed.* tests.  After
    applying this workaround, the tests reliably pass.
    
    v2: Remove the overlap with a pre-production w/a
    
    BSpec: 9663
    Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
    Cc: stable@vger.kernel.org
    Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20190625090655.19220-1-chris@chris-wilson.co.uk
    (cherry picked from commit f9a3938)
    Signed-off-by: Jani Nikula <jani.nikula@intel.com>
    Signed-off-by: Sasha Levin <sashal@kernel.org>
    kaydenl authored and StollD committed Sep 18, 2019
    Configuration menu
    Copy the full SHA
    d0a080d View commit details
    Browse the repository at this point in the history
  2. drm/i915: Make sure cdclk is high enough for DP audio on VLV/CHV

    [ Upstream commit a8f196a ]
    
    On VLV/CHV there is some kind of linkage between the cdclk frequency
    and the DP link frequency. The spec says:
    "For DP audio configuration, cdclk frequency shall be set to
     meet the following requirements:
     DP Link Frequency(MHz) | Cdclk frequency(MHz)
     270                    | 320 or higher
     162                    | 200 or higher"
    
    I suspect that would more accurately be expressed as
    "cdclk >= DP link clock", and in any case we can express it like
    that in the code because of the limited set of cdclk (200, 266,
    320, 400 MHz) and link frequencies (162 and 270 MHz) we support.
    
    Without this we can end up in a situation where the cdclk
    is too low and enabling DP audio will kill the pipe. Happens
    eg. with 2560x1440 modes where the 266MHz cdclk is sufficient
    to pump the pixels (241.5 MHz dotclock) but is too low for
    the DP audio due to the link frequency being 270 MHz.
    
    v2: Spell out the cdclk and link frequencies we actually support
    
    Cc: stable@vger.kernel.org
    Tested-by: Stefan Gottwald <gottwald@igel.com>
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111149
    Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20190717114536.22937-1-ville.syrjala@linux.intel.com
    Acked-by: Chris Wilson <chris@chris-wilson.co.uk>
    (cherry picked from commit bffb31f)
    Signed-off-by: Jani Nikula <jani.nikula@intel.com>
    Signed-off-by: Sasha Levin <sashal@kernel.org>
    vsyrjala authored and StollD committed Sep 18, 2019
    Configuration menu
    Copy the full SHA
    8fd23fb View commit details
    Browse the repository at this point in the history
  3. drm/i915: Support flags in whitlist WAs

    [ Upstream commit 6883eab274813d158bfcfb499aa225ece61c0f29 ]
    
    Newer hardware adds flags to the whitelist work-around register. These
    allow per access direction privileges and ranges.
    
    Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
    Signed-off-by: Robert M. Fosha <robert.m.fosha@intel.com>
    Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
    Cc: Chris Wilson <chris@chris-wilson.co.uk>
    Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
    Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
    Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20190618010108.27499-2-John.C.Harrison@Intel.com
    (cherry picked from commit 5380d0b)
    Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
    Signed-off-by: Sasha Levin <sashal@kernel.org>
    johnharr-intel authored and StollD committed Sep 18, 2019
    Configuration menu
    Copy the full SHA
    9af88b4 View commit details
    Browse the repository at this point in the history
  4. drm/i915: Support whitelist workarounds on all engines

    [ Upstream commit ebd2de4 ]
    
    Newer hardware requires setting up whitelists on engines other than
    render. So, extend the whitelist code to support all engines.
    
    Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
    Signed-off-by: Robert M. Fosha <robert.m.fosha@intel.com>
    Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
    Cc: Chris Wilson <chris@chris-wilson.co.uk>
    Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
    Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20190618010108.27499-3-John.C.Harrison@Intel.com
    Signed-off-by: Sasha Levin <sashal@kernel.org>
    johnharr-intel authored and StollD committed Sep 18, 2019
    Configuration menu
    Copy the full SHA
    b9c9de4 View commit details
    Browse the repository at this point in the history
  5. drm/i915: whitelist PS_(DEPTH|INVOCATION)_COUNT

    [ Upstream commit 6ce5bfe ]
    
    CFL:C0+ changed the status of those registers which are now
    blacklisted by default.
    
    This is breaking a number of CTS tests on GL & Vulkan :
    
      KHR-GL45.pipeline_statistics_query_tests_ARB.functional_fragment_shader_invocations (GL)
    
      dEQP-VK.query_pool.statistics_query.fragment_shader_invocations.* (Vulkan)
    
    v2: Only use one whitelist entry (Lionel)
    
    Bspec: 14091
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Cc: stable@vger.kernel.org # 6883eab27481: drm/i915: Support flags in whitlist WAs
    Cc: stable@vger.kernel.org
    Acked-by: Chris Wilson <chris@chris-wilson.co.uk>
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
    Link: https://patchwork.freedesktop.org/patch/msgid/20190628120720.21682-3-lionel.g.landwerlin@intel.com
    (cherry picked from commit 2c903da)
    Signed-off-by: Jani Nikula <jani.nikula@intel.com>
    Signed-off-by: Sasha Levin <sashal@kernel.org>
    llandwerlin-intel authored and StollD committed Sep 18, 2019
    Configuration menu
    Copy the full SHA
    567c377 View commit details
    Browse the repository at this point in the history
  6. drm/i915: Add whitelist workarounds for ICL

    [ Upstream commit 7b3d406 ]
    
    Updated whitelist table for ICL.
    
    v2: Reduce changes to just those required for media driver until
    the selftest can be updated to support the new features of the
    other entries.
    
    Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
    Signed-off-by: Robert M. Fosha <robert.m.fosha@intel.com>
    Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
    Cc: Chris Wilson <chris@chris-wilson.co.uk>
    Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
    Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20190618010108.27499-4-John.C.Harrison@Intel.com
    Signed-off-by: Sasha Levin <sashal@kernel.org>
    johnharr-intel authored and StollD committed Sep 18, 2019
    Configuration menu
    Copy the full SHA
    439a55e View commit details
    Browse the repository at this point in the history
  7. drm/i915/icl: whitelist PS_(DEPTH|INVOCATION)_COUNT

    [ Upstream commit cf8f9aa ]
    
    The same tests failing on CFL+ platforms are also failing on ICL.
    Documentation doesn't list the
    WaAllowPMDepthAndInvocationCountAccessFromUMD workaround for ICL but
    applying it fixes the same tests as CFL.
    
    v2: Use only one whitelist entry (Lionel)
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Tested-by: Anuj Phogat <anuj.phogat@gmail.com>
    Cc: stable@vger.kernel.org # 6883eab27481: drm/i915: Support flags in whitlist WAs
    Cc: stable@vger.kernel.org
    Acked-by: Chris Wilson <chris@chris-wilson.co.uk>
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
    Link: https://patchwork.freedesktop.org/patch/msgid/20190628120720.21682-4-lionel.g.landwerlin@intel.com
    (cherry picked from commit 3fe0107)
    Signed-off-by: Jani Nikula <jani.nikula@intel.com>
    Signed-off-by: Sasha Levin <sashal@kernel.org>
    llandwerlin-intel authored and StollD committed Sep 18, 2019
    Configuration menu
    Copy the full SHA
    54590f6 View commit details
    Browse the repository at this point in the history