1. 19 Dec, 2023 3 commits
    • Mauro Carvalho Chehab's avatar
      drm/xe/Kconfig.debug: select DEBUG_FS for KUnit runs · 1598955d
      Mauro Carvalho Chehab authored
      KUnit reuquires debugfs, as otherwise, it won't build:
      
      $ make ARCH=x86_64 O=.kunit --jobs=8
      ERROR:root:../drivers/gpu/drm/xe/display/intel_display_debugfs.c:1612:6: error: redefinition of ‘intel_display_debugfs_register’
       1612 | void intel_display_debugfs_register(struct drm_i915_private *i915)
            |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      In file included from ../drivers/gpu/drm/xe/display/intel_display_debugfs.c:18:
      ../drivers/gpu/drm/xe/display/intel_display_debugfs.h:18:20: note: previous definition of ‘intel_display_debugfs_register’ with type ‘void(struct xe_device *)’
         18 | static inline void intel_display_debugfs_register(struct drm_i915_private *i915) {}
            |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      ../drivers/gpu/drm/xe/display/intel_display_debugfs.c:1935:6: error: redefinition of ‘intel_connector_debugfs_add’
       1935 | void intel_connector_debugfs_add(struct intel_connector *intel_connector)
            |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      ../drivers/gpu/drm/xe/display/intel_display_debugfs.h:19:20: note: previous definition of ‘intel_connector_debugfs_add’ with type ‘void(struct intel_connector *)’
         19 | static inline void intel_connector_debugfs_add(struct intel_connector *connector) {}
            |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      ../drivers/gpu/drm/xe/display/intel_display_debugfs.c:1993:6: error: redefinition of ‘intel_crtc_debugfs_add’
       1993 | void intel_crtc_debugfs_add(struct drm_crtc *crtc)
            |      ^~~~~~~~~~~~~~~~~~~~~~
      ../drivers/gpu/drm/xe/display/intel_display_debugfs.h:20:20: note: previous definition of ‘intel_crtc_debugfs_add’ with type ‘void(struct drm_crtc *)’
         20 | static inline void intel_crtc_debugfs_add(struct drm_crtc *crtc) {}
            |                    ^~~~~~~~~~~~~~~~~~~~~~
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@kernel.org>
      Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
      Reviewed-by: default avatarMatthew Brost <matthew.brost@intel.com>
      Signed-off-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
      1598955d
    • Lucas De Marchi's avatar
      drm/xe: Add min config for kunit integration ARCH=um · a02a0c6d
      Lucas De Marchi authored
      Some of the tests may benefit from running with ARCH=um, forgoing any
      additional setup on the CI build side. Add min config for that.
      
      Tested with:
      
      	./tools/testing/kunit/kunit.py build \
      		--kunitconfig drivers/gpu/drm/xe/.kunitconfig \
      		--jobs $(nproc) \
      		--build_dir build_kunit
      Signed-off-by: default avatarLucas De Marchi <lucas.demarchi@intel.com>
      Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
      Signed-off-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
      Reviewed-by: default avatarMauro Carvalho Chehab <mchehab@kernel.org>
      a02a0c6d
    • Lucas De Marchi's avatar
      drm/xe: Add documentation for mem_type · 1ef151d7
      Lucas De Marchi authored
      mem_type field was added in commit d8b52a02 ("drm/xe: Implement
      stolen memory.") to designate the TTM memory type for that mgr. Add
      kernel-doc with its description.
      Signed-off-by: default avatarLucas De Marchi <lucas.demarchi@intel.com>
      Reviewed-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
      Signed-off-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
      1ef151d7
  2. 12 Dec, 2023 28 commits
  3. 08 Dec, 2023 2 commits
    • Dave Airlie's avatar
      Merge tag 'drm-misc-next-2023-12-07' of git://anongit.freedesktop.org/drm/drm-misc into drm-next · a60501d7
      Dave Airlie authored
      drm-misc-next for 6.8:
      
      UAPI Changes:
        - Remove Userspace Mode-Setting ioctls
        - v3d: New uapi to handle jobs involving the CPU
      
      Cross-subsystem Changes:
      
      Core Changes:
        - atomic: Add support for FB-less planes which got reverted a bit
          later for lack of IGT tests and userspace code, Dump private objects
          state in drm_state_dump.
        - dma-buf: Add fence deadline support
        - encoder: Create per-encoder debugfs directory, move the bridge chain
          file to that directory
      
      Driver Changes:
        - Include drm_auth.h in driver that use it but don't include it, Drop
          drm_plane_helper.h from drivers that include it but don't use it
        - imagination: Plenty of small fixes
        - panfrost: Improve interrupt handling at poweroff
        - qaic: Convert to persistent DRM devices
        - tidss: Support for the AM62A7, a few probe improvements, some cleanups
        - v3d: Support for jobs involving the CPU
      
        - bridge:
          - Create transparent aux-bridge for DP/USB-C
          - lt8912b: Add suspend/resume support and power regulator support
      
        - panel:
          - himax-hx8394: Drop prepare, unprepare and shutdown logic, Support
            panel rotation
          - New panels: BOE BP101WX1-100, Powkiddy X55, Ampire AM8001280G,
            Evervision VGG644804, SDC ATNA45AF01
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Maxime Ripard <mripard@redhat.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/yu5heqaufyeo4nlowzieu4s5unwqrqyx4jixbfjmzdon677rpk@t53vceua2dao
      a60501d7
    • Dave Airlie's avatar
      Merge tag 'drm-intel-next-2023-12-07' of git://anongit.freedesktop.org/drm/drm-intel into drm-next · 2f8d8548
      Dave Airlie authored
      - Improve display debug msgs and other general clean-ups (Ville, Rahuul)
      - PSR fixes and improvements around selective fetch (Jouni, Ville)
      - Remove FBC restrictions for Xe2LPD displays (Vinod)
      - Skip some timing checks on BXT/GLK DSI transcoders (Ville)
      - DP MST Fixes (Ville)
      - Correct the input parameter on _intel_dsb_commit (heminhong)
      - Fix IP version of the display WAs (Bala)
      - DGFX uses direct VBT pin mapping (Clint)
      - Proper handling of bool on PIPE_CONF_CHECK macros (Jani)
      - Skip state verification with TBT-ALT mod (Mika Kahona)
      - General organization of display code for reusage with Xe
        (Jouni, Luca, Jani, Maarten)
      - Squelch a sparse warning (Jani)
      - Don't use "proxy" headers (Andy Shevchenko)
      - Use devm_gpiod_get() for all GPIOs (Hans)
      - Fix ADL+ tiled plane stride (Ville)
      - Use octal permissions in display debugfs (Jani)
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Rodrigo Vivi <rodrigo.vivi@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/ZXIWG6bRYaUw0w6-@intel.com
      2f8d8548
  4. 07 Dec, 2023 7 commits