1. 07 Aug, 2023 8 commits
    • Rodrigo Vivi's avatar
      Merge drm/drm-next into drm-intel-next · 2612e3bb
      Rodrigo Vivi authored
      Catching-up with drm-next and drm-intel-gt-next.
      It will unblock a code refactor around the platform
      definitions (names vs acronyms).
      Signed-off-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
      2612e3bb
    • Jouni Högander's avatar
      drm/i915/fbc: Moved fence related code away from intel_fbc · 0701760e
      Jouni Högander authored
      As a preparation for Xe move HW fence details away from intel_fbc code.
      Add new functions to check support for legacy fencing and fence id and use
      these in fbc code. Xe doesn't support legacy fencing.
      
      v2: Fix intel_gt_support_legacy_fencing macro
      Signed-off-by: default avatarJouni Högander <jouni.hogander@intel.com>
      Reviewed-by: default avatarNirmoy Das <nirmoy.das@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20230614051731.745821-4-jouni.hogander@intel.com
      0701760e
    • Jouni Högander's avatar
      drm/i915/fbc: Make FBC check stolen at use time · a6989c86
      Jouni Högander authored
      As a preparation for Xe change stolen memory initialization check to be
      done in use-time instead of during initialization.
      
      In case of xe, stolen memory is initialised much later so it can't be
      checked during init. There is no specific reason to check this in init for
      i915 either -> perform the check in use-time. This also gives us benefit
      fbc_no_reason reporting missing initialization being reason for disabled
      fbc.
      Signed-off-by: default avatarJouni Högander <jouni.hogander@intel.com>
      Signed-off-by: default avatarMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
      Reviewed-by: default avatarJeevan B <jeevan.b@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20230614051731.745821-3-jouni.hogander@intel.com
      a6989c86
    • Jouni Högander's avatar
      drm/i915: Move stolen memory handling into i915_gem_stolen · 1d47074c
      Jouni Högander authored
      We are preparing for Xe. Xe stolen memory handling differs from i915 so we
      want to move stolen memory handling details into i915_gem_stolen.
      
      Also add a common type for fbc compressed fb and use it from fbc code
      instead of underlying type directly. This way we can have common type
      i915_stolen_fb for both i915 and Xe.
      
      v2: Fix couple of checkpatch warnings
      Signed-off-by: default avatarJouni Högander <jouni.hogander@intel.com>
      Signed-off-by: default avatarMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
      Reviewed-by: default avatarNirmoy Das <nirmoy.das@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20230614051731.745821-2-jouni.hogander@intel.com
      1d47074c
    • Dave Airlie's avatar
      Merge tag 'drm-intel-gt-next-2023-08-04' of... · d9aa1da9
      Dave Airlie authored
      Merge tag 'drm-intel-gt-next-2023-08-04' of git://anongit.freedesktop.org/drm/drm-intel into drm-next
      
      Driver Changes:
      
      - Avoid infinite GPU waits by avoidin premature release of request's
        reusable memory (Chris, Janusz)
      - Expose RPS thresholds in sysfs (Tvrtko)
      - Apply GuC SLPC min frequency softlimit correctly (Vinay)
      - Restore SLPC efficient freq earlier (Vinay)
      - Consider OA buffer boundary when zeroing out reports (Umesh)
      - Extend Wa_14015795083 to TGL, RKL, DG1 and ADL (Matt R)
      - Fix context workarounds with non-masked regs on MTL/DG2 (Lucas)
      - Enable the CCS_FLUSH bit in the pipe control and in the CS for MTL+ (Andi)
      - Update MTL workarounds 14018778641, 22016122933 (Tejas, Zhanjun)
      - Ensure memory quiesced before AUX CCS invalidation (Jonathan)
      
      - Add a gsc_info debugfs (Daniele)
      - Invalidate the TLBs on each GT on multi-GT device (Chris)
      - Fix a VMA UAF for multi-gt platform (Nirmoy)
      - Do not use stolen on MTL due to HW bug (Nirmoy)
      - Check HuC and GuC version compatibility on MTL (Daniele)
      - Dump perf_limit_reasons for slow GuC init debug (Vinay)
      - Replace kmap() with kmap_local_page() (Sumitra, Ira)
      - Add sentinel to xehp_oa_b_counters for KASAN (Andrzej)
      - Add the gen12_needs_ccs_aux_inv helper (Andi)
      - Fixes and updates for GSC memory allocation (Daniele)
      - Fix one wrong caching mode enum usage (Tvrtko)
      - Fixes for GSC wakeref (Alan)
      
      - Static checker fixes (Harshit, Arnd, Dan, Cristophe, David, Andi)
      - Rename flags with bit_group_X according to the datasheet (Andi)
      - Use direct alias for i915 in requests (Andrzej)
      - Replace i915->gt0 with to_gt(i915) (Andi)
      - Use the i915_vma_flush_writes helper (Tvrtko)
      - Selftest improvements (Alan)
      - Remove dead code (Tvrtko)
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      # Conflicts:
      #	drivers/gpu/drm/i915/gt/uc/intel_gsc_fw.c
      From: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/ZMy6kDd9npweR4uy@jlahtine-mobl.ger.corp.intel.com
      d9aa1da9
    • Dave Airlie's avatar
      Merge tag 'drm-intel-next-2023-08-03' of git://anongit.freedesktop.org/drm/drm-intel into drm-next · 7c9aa0f7
      Dave Airlie authored
      - Removing unused declarations (Arnd, Gustavo)
      - ICL+ DSI modeset sequence fixes (Ville)
      - Improvements on HDCP (Suraj)
      - Fixes and clean up on MTL Display (Mika Kahola, Lee, RK, Nirmoy, Chaitanya)
      - Restore HSW/BDW PSR1 (Ville)
      - Other PSR Fixes (Jouni)
      - Fixes around DC states and other Display Power (Imre)
      - Init DDI ports in VBT order (Ville)
      - General documentation fixes (Jani)
      - General refactor for better organization (Jani)
      - Bigjoiner fix (Stanislav)
      - VDSC Fixes and improvements (Stanialav, Suraj)
      - Hotplug fixes and improvements (Simon, Suraj)
      - Start using plane scale factor for relative data rate (Stanislav)
      - Use shmem for dpt objects (RK)
      - Simplify expression &to_i915(dev)->drm (Uwe)
      - Do not access i915_gem_object members from frontbuffer tracking (Jouni)
      - Fix uncore race around i915->params.mmio_debug (Jani)
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Rodrigo Vivi <rodrigo.vivi@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/ZMv4RCzGyCmG/BDe@intel.com
      7c9aa0f7
    • Dave Airlie's avatar
      Merge tag 'drm-misc-next-2023-08-03' of git://anongit.freedesktop.org/drm/drm-misc into drm-next · ca9e70f5
      Dave Airlie authored
      drm-misc-next for v6.6:
      
      UAPI Changes:
      
       * virtio:
         * Support sync objects
      
      Cross-subsystem Changes:
      
       * dt-bindings:
         * Move several panel bindings to the correct files
      
       * fbcon:
         * Cleanups
      
       * fbdev:
         * Use _IOMEM_, _SYSMEM_, _DMAMEM_ infixes for initializer macros
           and Kconfig tokens, update drivers accordingly
         * ps3fb: Build fix
      
       * hid/i2c:
         * Allow panels and touchscreens to power sequence together
      
       * host1x:
         * Fixes
      
       * video:
         * Fix Kconfig dependencies for boot-up logo
      
      Core Changes:
      
       * Documentation updates and fixes
      
       * Fixes
      
       * MIPI-DBI:
         * Allow using same the D/C GPIO for multiple displays plus
           driver updates
      
       * Tests:
         * Convert to kunit actions
         * Fix NULL-deref in drm_exec tests
      
      Driver Changes:
      
       * armada:
         * Fixes
      
       * ast:
         * Represent BMV as virtual connector
         * Report DP connection status
      
       * bridge:
         * dw-hdmi: Support CEC suspend/resume
         * Support debugfs for chains
         * Fixes
      
       * i915:
         * Fixes
      
       * imx:
         * Convert to dev_error_probe()
         * Cleanups
      
       * ipu-v3:
         * Convert to devm_platform_ioremap_resource() in several places
      
       * nouveau:
         * Workaround DPCD issues
      
       * panel:
         * Convert to of_device_get_match_data()
         * Fix Kconfig dependencies
         * simple: Set bpc value to fix warning; Set connector type for AUO T215HVN01;
           Support Innolux G156HCE-L01 plus DT bindings
         * ili9881: Support TDO TL050HDV35 LCD panel plus DT bindings
         * startek: Support KD070FHFID015 MIPI-DSI panel plus DT bindings
         * sitronix-st7789v: Support Inanbo T28CP45TN89 plus DT bindings;
           Support EDT ET028013DMA plus DT bindings; Various cleanups
         * edp: Add timings for N140HCA-EAC
         * Allow panels and touchscreens to power sequence together
         * Documentation fixes
      
       * qaic:
         * Cleanups
      
       * repaper:
         * Fixes
      
       * ssd130x
         * Fix shadow-plane allocation
         * Cleanups
      
       * tegra:
         * Convert to devm_platform_ioremap_resource() in several places
         * Support bridge/connector
         * Enable PM
         * Fixes
      
       * udl:
         * Cleanups
      
       * v3d:
         * Fixes
      
       * vc4:
         * Convert tests to kunit actions
      
       * virtio:
         * Support sync objects
      
       * vkms:
         * Support gamma LUT
         * Fixes
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      # -----BEGIN PGP SIGNATURE-----
      #
      # iQEzBAABCAAdFiEEchf7rIzpz2NEoWjlaA3BHVMLeiMFAmTLwPUACgkQaA3BHVML
      # eiNRBwf8CTjJJpSppitI6YEDyjG5JjpJPOrw4gmyjPCLMRhIa+ddtz8c6eiAJQTX
      # Q4RWz4LWF0j/aRdXzxbhCJxLmgMoSbcZYN+jDSoaNbX4Fyi1KXw9eum/HZeMODBO
      # ScZQFC5iyiCeKHRXZU4+WefqIFTEkEJJll92g3JYlvy793S2TQsA9LB1RIkbwK6x
      # 0R+TtKSxAq9Gtwn4H0z4ACIzBTuIACxwNQRd6FTIeT4yrd7t+JY3WiBz9M96S6dK
      # npHyjvJ3Brb88rEzv2eZZUey3fxp7sO7U7DruQVOKkgi4FsltPWxs6Ze9iylXQZr
      # KcKfW7sxlF2JZlJwT4u0Ur6DMl60eQ==
      # =K1nU
      # -----END PGP SIGNATURE-----
      # gpg: Signature made Fri 04 Aug 2023 01:00:05 AEST
      # gpg:                using RSA key 7217FBAC8CE9CF6344A168E5680DC11D530B7A23
      # gpg: Can't check signature: No public key
      From: Thomas Zimmermann <tzimmermann@suse.de>
      Link: https://patchwork.freedesktop.org/patch/msgid/20230803150149.GA16884@linux-uq9g
      ca9e70f5
    • Dave Airlie's avatar
      Merge tag 'drm-next-xilinx-20230802' of... · 2d3563e5
      Dave Airlie authored
      Merge tag 'drm-next-xilinx-20230802' of git://git.kernel.org/pub/scm/linux/kernel/git/pinchartl/linux into drm-next
      
      Miscellaneous fixes for the Xilinx zynqmp-dpsub driver
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20230801224454.GB335@pendragon.ideasonboard.com
      2d3563e5
  2. 04 Aug, 2023 3 commits
  3. 03 Aug, 2023 14 commits
  4. 02 Aug, 2023 9 commits
  5. 01 Aug, 2023 6 commits