Skip to content
Permalink
Lee-Shawn-C/MI…
Switch branches/tags

Commits on Jul 23, 2021

  1. drm/i915/dsi: Send proper brightness value via MIPI DCS command

    Driver has to swap the endian before send brightness level value
    to tcon.
    
    Cc: Ville Syrjala <ville.syrjala@linux.intel.com>
    Cc: Jani Nikula <jani.nikula@linux.intel.com>
    Cc: Vandita Kulkarni <vandita.kulkarni@intel.com>
    Cc: Cooper Chiou <cooper.chiou@intel.com>
    Cc: William Tseng <william.tseng@intel.com>
    Signed-off-by: Lee Shawn C <shawn.c.lee@intel.com>
    ShawnCLee authored and intel-lab-lkp committed Jul 23, 2021
  2. drm/i915/dsi: Retrieve max brightness level from VBT.

    So far, DCS backlight driver hardcode (0xFF) for max brightness level.
    MIPI DCS spec allow max 0xFFFF for set_display_brightness (51h) command.
    And VBT brightness precision bits can support 8 ~ 16 bits.
    
    We should set correct precision bits in VBT that meet panel's request.
    Driver can refer to this setting then configure max brightness level
    in DCS backlight driver properly.
    
    Cc: Ville Syrjala <ville.syrjala@linux.intel.com>
    Cc: Jani Nikula <jani.nikula@linux.intel.com>
    Cc: Vandita Kulkarni <vandita.kulkarni@intel.com>
    Cc: Cooper Chiou <cooper.chiou@intel.com>
    Cc: William Tseng <william.tseng@intel.com>
    Signed-off-by: Lee Shawn C <shawn.c.lee@intel.com>
    ShawnCLee authored and intel-lab-lkp committed Jul 23, 2021
  3. drm/i915: Get proper min cdclk if vDSC enabled

    VDSC engine can process only 1 pixel per Cd clock. In case
    VDSC is used and max slice count == 1, max supported pixel
    clock should be 100% of CD clock. Then do min_cdclk and
    pixel clock comparison to get proper min cdclk.
    
    v2:
    - Check for dsc enable and slice count ==1 then allow to
      double confirm min cdclk value.
    
    Cc: Ville Syrjala <ville.syrjala@linux.intel.com>
    Cc: Jani Nikula <jani.nikula@linux.intel.com>
    Cc: Vandita Kulkarni <vandita.kulkarni@intel.com>
    Cc: Cooper Chiou <cooper.chiou@intel.com>
    Cc: William Tseng <william.tseng@intel.com>
    Signed-off-by: Lee Shawn C <shawn.c.lee@intel.com>
    ShawnCLee authored and intel-lab-lkp committed Jul 23, 2021
  4. drm/i915/dsi: refine send MIPI DCS command sequence

    According to chapter "Sending Commands to the Panel" in bspec #29738
    and #49188. If driver try to send DCS long pakcet, we have to program
    TX payload register at first. And configure TX header HW register later.
    DSC long packet would not be sent properly if we don't follow this
    sequence.
    
    Cc: Ville Syrjala <ville.syrjala@linux.intel.com>
    Cc: Jani Nikula <jani.nikula@linux.intel.com>
    Cc: Vandita Kulkarni <vandita.kulkarni@intel.com>
    Cc: Cooper Chiou <cooper.chiou@intel.com>
    Cc: William Tseng <william.tseng@intel.com>
    Signed-off-by: Lee Shawn C <shawn.c.lee@intel.com>
    ShawnCLee authored and intel-lab-lkp committed Jul 23, 2021
  5. drm/i915/dsi: wait for header and payload credit available

    Driver should wait for free header or payload buffer in FIFO.
    It would be good to wait a while for HW to release credit before
    give it up to write to HW. Without sending initailize command
    sets completely. It would caused MIPI display can't light up properly.
    
    Cc: Ville Syrjala <ville.syrjala@linux.intel.com>
    Cc: Jani Nikula <jani.nikula@linux.intel.com>
    Cc: Vandita Kulkarni <vandita.kulkarni@intel.com>
    Cc: Cooper Chiou <cooper.chiou@intel.com>
    Cc: William Tseng <william.tseng@intel.com>
    Signed-off-by: Lee Shawn C <shawn.c.lee@intel.com>
    ShawnCLee authored and intel-lab-lkp committed Jul 23, 2021
  6. drm/i915/jsl: program DSI panel GPIOs

    DSI driver should have its own implementation to toggle
    gpio pins based on GPIO info coming from VBT sequences.
    
    Cc: Ville Syrjala <ville.syrjala@linux.intel.com>
    Cc: Jani Nikula <jani.nikula@linux.intel.com>
    Cc: Vandita Kulkarni <vandita.kulkarni@intel.com>
    Cc: Cooper Chiou <cooper.chiou@intel.com>
    Cc: William Tseng <william.tseng@intel.com>
    Signed-off-by: Lee Shawn C <shawn.c.lee@intel.com>
    ShawnCLee authored and intel-lab-lkp committed Jul 23, 2021
  7. drm/i915/dsi: send correct gpio_number on gen11 platform

    Transfer "gpio_nunmber" instead of "gpio_index" while doing
    gpio configuration in icl_exec_gpio().
    
    Cc: Ville Syrjala <ville.syrjala@linux.intel.com>
    Cc: Jani Nikula <jani.nikula@linux.intel.com>
    Cc: Vandita Kulkarni <vandita.kulkarni@intel.com>
    Cc: Cooper Chiou <cooper.chiou@intel.com>
    Cc: William Tseng <william.tseng@intel.com>
    Signed-off-by: Lee Shawn C <shawn.c.lee@intel.com>
    ShawnCLee authored and intel-lab-lkp committed Jul 23, 2021

Commits on Jul 22, 2021

  1. drm/i915/firmware: Update to DMC v2.03 on RKL

    Add support to load latest DMC version.
    The Release Notes mentions that this version fixes
    timeout issues.
    
    Cc: Madhumitha Pradeep <madhumitha.tolakanahalli.pradeep@intel.com>
    Signed-off-by: Anusha Srivatsa <anusha.srivatsa@intel.com>
    Reviewed-by: Madhumitha Pradeep <madhumitha.tolakanahalli.pradeep@intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20210721215238.24980-4-anusha.srivatsa@intel.com
    anushasr committed Jul 22, 2021
  2. drm/i915/firmware: Update to DMC v2.12 on TGL

    Add support to the latest DMC firmware.
    
    Cc: Madhunitha Pradeep <madhumitha.tolakanahalli.pradeep@intel.com>
    Signed-off-by: Anusha Srivatsa <anusha.srivatsa@intel.com>
    Reviewed-by: Madhumitha Pradeep <madhumitha.tolakanahalli.pradeep@intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20210721215238.24980-3-anusha.srivatsa@intel.com
    anushasr committed Jul 22, 2021
  3. drm/i915/dmc: Change intel_get_stepping_info()

    Lets use RUNTIME_INFO->step since all platforms now have their
    stepping info in intel_step.c. This makes intel_get_stepping_info()
    a lot simpler.
    
    Cc: Lucas De Marchi <lucas.demarchi@intel.com>
    Signed-off-by: Anusha Srivatsa <anusha.srivatsa@intel.com>
    Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20210721215238.24980-2-anusha.srivatsa@intel.com
    anushasr committed Jul 22, 2021
  4. drm/i915/step: Add macro magic for handling steps

    With the addition of stepping info for
    all platforms, lets use macros for handling them
    and autogenerating code for all steps at a time.
    
    Suggested-by: Matt Roper <matthew.d.roper@intel.com>
    Cc: Lucas De Marchi <lucas.demarchi@intel.com>
    Signed-off-by: Anusha Srivatsa <anusha.srivatsa@intel.com>
    Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20210721215238.24980-1-anusha.srivatsa@intel.com
    anushasr committed Jul 22, 2021
  5. drm/i915/dg2: DG2 has fixed memory bandwidth

    DG2 doesn't have a SAGV or QGV points that determine memory bandwidth.
    Instead it has a constant amount of memory bandwidth available to
    display that does not need to be reduced based on the number of active
    planes.
    
    For simplicity, we'll just modify driver initialization to create a
    single dummy QGV point with the proper amount of memory bandwidth,
    rather than trying to query the pcode for this information.
    
    Bspec: 64631
    Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
    Reviewed-by: Anusha Srivatsa <anusha.srivatsa@intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20210721223043.834562-19-matthew.d.roper@intel.com
    mattrope committed Jul 22, 2021
  6. drm/i915/dg2: Don't read DRAM info

    DG2 does not use system DRAM information for BW_BUDDY programming or
    watermark workarounds, so there's no need to read this out at startup.
    
    Cc: Anusha Srivatsa <anusha.srivatsa@intel.com>
    Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
    Reviewed-by: Anusha Srivatsa <anusha.srivatsa@intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20210721223043.834562-18-matthew.d.roper@intel.com
    mattrope committed Jul 22, 2021
  7. drm/i915/dg2: Don't program BW_BUDDY registers

    Although the BW_BUDDY registers still exist, they are not used for
    anything on DG2.  This change is expected to hold true for future dgpu's
    too.
    
    Bspec: 49218
    Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
    Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20210721223043.834562-17-matthew.d.roper@intel.com
    mattrope committed Jul 22, 2021
  8. drm/i915/dg2: Add dbuf programming

    DG2 extends our DDB to four DBuf slices; pipes A+B only have access to
    the first two slices, whereas pipes C+D only have access to the second
    two.
    
    Confusingly, our bspec decided to switch from 1-based numbering
    of dbuf slices (S1, S2) to 0-based numbering (S0, S1, S2, S3) in
    Display13.  At the moment we're using the 0-based number scheme for the
    DBUF_CTL_S() register addressing, but the 1-based number scheme in the
    actual slice assignment tables.  We may want to consider switching the
    assignment over to 0-based numbering too at some point...
    
    Bspec: 49255
    Bspec: 50057
    Cc: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
    Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
    Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20210721223043.834562-16-matthew.d.roper@intel.com
    mattrope committed Jul 22, 2021
  9. drm/i915/dg2: Setup display outputs

    DG2 has outputs on DDI A-D attached to what the bspec diagram shows as
    "Combo PHY A-D."  Note that despite being labelled "combo" the PHYs on
    these outputs are Synopsys PHYs rather than traditional Intel combo PHY
    technology.
    
    Cc: Anusha Srivatsa <anusha.srivatsa@intel.com>
    Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
    Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20210721223043.834562-15-matthew.d.roper@intel.com
    mattrope committed Jul 22, 2021
  10. drm/i915/dg2: Don't wait for AUX power well enable ACKs

    On DG2 we're supposed to just wait 600us after programming the well
    before moving on; there won't be an ack from the hardware.
    
    Bspec: 49296
    Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
    Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20210721223043.834562-14-matthew.d.roper@intel.com
    mattrope committed Jul 22, 2021
  11. drm/i915/dg2: Skip shared DPLL handling

    DG2 has no shared DPLL's or DDI clock muxing.  The Port PLL is embedded
    within the PHY.
    
    Bspec: 54032
    Bspec: 54034
    Cc: Lucas De Marchi <lucas.demarchi@intel.com>
    Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
    Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20210721223043.834562-13-matthew.d.roper@intel.com
    mattrope committed Jul 22, 2021
  12. drm/i915/dg2: Add cdclk table and reference clock

    Note that DG2 only has a single possible refclk frequency (38.4 MHz).
    
    v2:
     - Drop two now-unused cdclk entries
    
    Bspec: 54034
    Cc: Lucas De Marchi <lucas.demarchi@intel.com>
    Signed-off-by: Anusha Srivatsa <anusha.srivatsa@intel.com>
    Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
    Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20210721223043.834562-12-matthew.d.roper@intel.com
    mattrope committed Jul 22, 2021
  13. drm/i915/dg2: Add fake PCH

    As with DG1, DG2 has an ICL-style south display interface provided on
    the same PCI device.  Add a fake PCH to ensure DG2 takes the appropriate
    codepaths for south display handling.
    
    Bspec: 54871, 50062, 49961, 53673
    Cc: Lucas De Marchi <lucas.demarchi@intel.com>
    Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
    Signed-off-by: Aditya Swarup <aditya.swarup@intel.com>
    Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
    Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
    Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20210721223043.834562-11-matthew.d.roper@intel.com
    mattrope committed Jul 22, 2021
  14. drm/i915: Fork DG1 interrupt handler

    The current interrupt handler is getting increasingly complicated and
    Xe_HP changes will bring even more complexity.  Let's split off a new
    interrupt handler starting with DG1 (i.e., when the master tile
    interrupt register was added to the design) and use that as the basis
    for the new Xe_HP changes.
    
    Now that we track the hardware IP's release number as well as the
    version number, we can also properly define DG1 has version "12.10" and
    replace the has_master_unit_irq feature flag with an IP version test.
    
    Bspec: 50875
    Cc: Daniele Spurio Ceraolo <daniele.ceraolospurio@intel.com>
    Cc: Stuart Summers <stuart.summers@intel.com>
    Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
    Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
    Signed-off-by: Tomasz Lis <tomasz.lis@intel.com>
    Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
    Reviewed-by: Matt Atwood <matthew.s.atwood@intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20210721223043.834562-5-matthew.d.roper@intel.com
    pzanoni-intel authored and mattrope committed Jul 22, 2021
  15. Merge branch 'topic/xehp-dg2-definitions-2021-07-21' into drm-intel-next

    As we begin applying XeHP and DG2 patches, the basic platform
    definitions and macros (like IS_DG2()) will be needed in both
    drm-intel-next and drm-intel-gt-next.  Those initial definition patches
    are applied to a topic branch and merged to both trees.
    
    Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
    mattrope committed Jul 22, 2021
  16. drm/i915/dg2: add DG2 platform info

    DG2 has Xe_LPD display (version 13) and Xe_HPG (version 12.55) graphics.
    There are two variants (treated as subplatforms in the code):  DG2-G10
    and DG2-G11 that require independent programming in some areas (e.g.,
    workarounds).
    
    Bspec: 44472, 44474, 46197, 48028, 48077
    Cc: Anusha Srivatsa <anusha.srivatsa@intel.com>
    Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
    Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20210721223043.834562-4-matthew.d.roper@intel.com
    mattrope committed Jul 22, 2021
  17. drm/i915/xehpsdv: add initial XeHP SDV definitions

    XeHP SDV is a Intel® dGPU without display. This is just the definition
    of some basic platform macros, by large a copy of current state of
    Tigerlake which does not reflect the end state of this platform.
    
    v2:
     - Switch to intel_step infrastructure for stepping matches. (Jani)
    v3:
     - Bring earlier in patch series and leave addition of new media engines
       to the engine mask for a later patch.
    
    Bspec: 44467, 48077
    Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
    Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
    Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
    Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
    Signed-off-by: Stuart Summers <stuart.summers@intel.com>
    Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
    Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
    Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20210721223043.834562-3-matthew.d.roper@intel.com
    lucasdemarchi authored and mattrope committed Jul 22, 2021
  18. drm/i915: Add XE_HP initial definitions

    Our _FEATURES macro went back to GEN7, extending each other, making it
    difficult to grasp what was really enabled/disabled. Take the
    opportunity of the GEN -> XE_HP name break and also break with the
    feature inheritance.
    
    For XE_HP this basically goes from GEN12 back to GEN7 coalescing the
    features making sure the overrides remain, remove all the
    display-specific features and sort it.
    
    Then also remove the definitions that would be overridden by
    DGFX_FEATURES and those that were 0 (since that is the default).
    Exception here is has_master_unit_irq: although it is a feature that
    started with DG1 and is true for all DGFX platforms, it's also true for
    XE_HP in general.
    
    Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
    Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
    Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20210721223043.834562-2-matthew.d.roper@intel.com
    lucasdemarchi authored and mattrope committed Jul 22, 2021
  19. drm/i915: Add release id version

    Besides the arch version returned by GRAPHICS_VER(), new platforms
    contain a "release id" to make clear the difference from one platform to
    another.
    
    The release id number is not formally defined by hardware until future
    platforms that will expose it via a new GMD_ID register.  For the
    platforms we support before that register becomes available we will set
    the values in software and we can set them as we please. So the plan is
    to set them so we can group different features under a single
    GRAPHICS_VER_FULL() check.
    
    After GMD_ID is used, the usefulness of a "full version check" will be
    greatly reduced and will be mostly used for deciding workarounds and a
    few code paths. So it makes sense to keep it as a separate field from
    graphics_ver. Also, as a platform with `release == n` may be closer
    feature-wise to `n - 2` than to `n - 1`, use the word "release" rather
    than the more common "minor" for this
    
    This is a mix of 2 independent changes: one by me and the other by Matt
    Roper.
    
    v2:
      - Reword commit message to make it clearer why we don't call it
        "minor" (Matt Roper and Tvrtko)
      - Rename variables s/*_ver_release/*_rel/ and print them in a single
        line formatted as {ver}.{rel:2} (Jani and Matt Roper)
    
    Cc: Matt Roper <matthew.d.roper@intel.com>
    Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
    Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
    Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20210707235921.2416911-2-lucas.demarchi@intel.com
    (cherry picked from commit ca6374e)
    Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
    lucasdemarchi authored and mattrope committed Jul 22, 2021
  20. drm/i915: do not abbreviate version in debugfs

    Brevity is not needed here, so just spell out "* version" in the string.
    
    Suggested-by: Chris Wilson <chris@chris-wilson.co.uk>
    Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
    Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20210707235921.2416911-1-lucas.demarchi@intel.com
    (cherry picked from commit 0f9b145)
    Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
    lucasdemarchi authored and mattrope committed Jul 22, 2021

Commits on Jul 21, 2021

  1. drm/i915: Make display workaround upper bounds exclusive

    Workarounds are documented in the bspec with an exclusive upper bound
    (i.e., a "fixed" stepping that no longer needs the workaround).  This
    makes our driver's use of an inclusive upper bound for stepping ranges
    confusing; the differing notation between code and bspec makes it very
    easy for mistakes to creep in.
    
    Let's switch the upper bound of our IS_{GT,DISP}_STEP macros over to use
    an exclusive upper bound like the bspec does.  This also has the benefit
    of helping make sure workarounds are properly handled for new minor
    steppings that show up (e.g., an A1 between the A0 and B0 we already
    knew about) --- if the new intermediate stepping pulls in hardware fixes
    early, there will be an update to the workaround definition which lets
    us know we need to change our code.  If the new stepping does not pull a
    hardware fix earlier, then the new stepping will already be captured
    properly by the "[begin, fix)" range in the code.
    
    We'll probably need to be extra vigilant in code review of new
    workarounds for the near future to make sure developers notice the new
    semantics of workaround bounds.  But we just migrated a bunch of our
    platforms from the IS_REVID bounds over to IS_{GT,DISP}_STEP, so people
    are already adjusting to the new macros and now is a good time to make
    this change too.
    
    [mattrope: Split out display changes to apply through intel-next tree]
    Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
    Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20210717051426.4120328-8-matthew.d.roper@intel.com
    mattrope committed Jul 21, 2021
  2. drm/i915/rkl: Wa_1408330847 no longer applies to RKL

    RKL doesn't have PSR2 support, so PSR2-related workarounds no longer
    apply.
    
    Bspec: 53273
    Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
    Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20210717051426.4120328-7-matthew.d.roper@intel.com
    mattrope committed Jul 21, 2021
  3. drm/i915/rkl: Wa_1409767108 also applies to RKL

    Bspec: 53273
    Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
    Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20210717051426.4120328-6-matthew.d.roper@intel.com
    mattrope committed Jul 21, 2021
  4. drm/i915/adl_s: Wa_14011765242 is also needed on A1 display stepping

    Extend the workaround bound to include A1 display.
    
    Bspec: 54370
    Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
    Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20210717051426.4120328-5-matthew.d.roper@intel.com
    mattrope committed Jul 21, 2021

Commits on Jul 20, 2021

  1. drm/i915/display: Fix shared dpll mismatch for bigjoiner slave

    Currently when we do the HW state readout, we dont set the shared dpll to NULL
    for the bigjoiner slave which should not have a DPLL assigned. So it has
    some garbage while the HW state readout is NULL. So explicitly reset
    the shared dpll for bigjoiner slave pipe.
    
    Bug: https://gitlab.freedesktop.org/drm/intel/-/issues/3465
    Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
    Cc: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
    Tested-by: Swati Sharma <swati2.sharma@intel.com>
    Signed-off-by: Manasi Navare <manasi.d.navare@intel.com>
    Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20210714223414.9849-1-manasi.d.navare@intel.com
    mdnavare committed Jul 20, 2021
  2. drm/i915/display: Disable FBC when PSR2 is enabled display 12 and newer

    This is now a requirement for all display 12 and newer, not only for
    tigerlake.
    
    BSpec: 50422
    Cc: Gwan-gyeong Mun <gwan-gyeong.mun@intel.com>
    Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
    Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20210625235600.765677-2-jose.souza@intel.com
    zehortigoza committed Jul 20, 2021
  3. drm/i915/display/adl_p: Implement PSR changes

    Implements changes around PSR for alderlake-P:
    
    - EDP_SU_TRACK_ENABLE was removed and bit 30 now has other function
    - Some bits of PSR2_MAN_TRK_CTL moved and SF_PARTIAL_FRAME_UPDATE was
      removed setting SU_REGION_START/END_ADDR will do this job
    - SU_REGION_START/END_ADDR have now line granularity but will need to
      be aligned with DSC when the PSRS + DSC support lands
    
    BSpec: 50422
    BSpec: 50424
    Cc: Gwan-gyeong Mun <gwan-gyeong.mun@intel.com>
    Cc: Anusha Srivatsa <anusha.srivatsa@intel.com>
    Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
    Signed-off-by: Gwan-gyeong Mun <gwan-gyeong.mun@intel.com>
    Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20210625235600.765677-1-jose.souza@intel.com
    zehortigoza committed Jul 20, 2021
  4. drm/i915/display/dsc: Force dsc BPP

    Set DSC BPP to the value forced through
    debugfs. It can go from bpc to bpp-1.
    
    v2: Use default dsc bpp when we are just
        doing force_dsc_en, use default dsc bpp
        for invalid force_dsc_bpp values. (Jani)
    
    Signed-off-by: Vandita Kulkarni <vandita.kulkarni@intel.com>
    Reviewed-by: Swati Sharma <swati2.sharma@intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20210720064907.9771-4-vandita.kulkarni@intel.com
    Vanditakulkarni committed Jul 20, 2021
Older