1. 12 Sep, 2022 1 commit
  2. 11 Sep, 2022 2 commits
    • Melissa Wen's avatar
      drm/vkms: fix 32bit compilation error by replacing macros · 89b03aea
      Melissa Wen authored
      Replace vkms_formats macro for fixed-point operations with functions
      from drm/drm_fixed.h to do the same job and fix 32-bit compilation
      errors.
      
      v2:
      - don't cast results to s32 (Igor)
      - add missing drm_fixp2int conversion (Igor)
      
      Fixes: a19c2ac9858 ("drm: vkms: Add support to the RGB565 format")
      Tested-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com> (v1)
      Reviewed-by: Alex Deucher <alexander.deucher@amd.com> (v1)
      Reported-by: default avatarSudip Mukherjee <sudipm.mukherjee@gmail.com>
      Reported-by: default avatarkernel test robot <lkp@intel.com>
      Signed-off-by: default avatarMelissa Wen <mwen@igalia.com>
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20220910190303.682897-1-mwen@igalia.com
      89b03aea
    • Dave Airlie's avatar
      Merge tag 'drm-misc-next-2022-09-09' of git://anongit.freedesktop.org/drm/drm-misc into drm-next · fb34d8a0
      Dave Airlie authored
      drm-misc-next for v6.1-rc1:
      
      [airlied - fix sun4i_tv build]
      
      UAPI Changes:
      - Hide unregistered connectors from GETCONNECTOR ioctl.
      - drm/virtio no longer advertises LINEAR modifier, as it doesn't work.
      -
      
      Cross-subsystem Changes:
      - Fix GPF in udmabuf failure path.
      
      Core Changes:
      - Rework TTM placement to use intersect/compatible functions.
      - Drop legacy DP-MST support.
      - More DP-MST related fixes, and move all state into atomic.
      - Make DRM_MIPI_DBI select DRM_KMS_HELPER.
      - Add audio_infoframe packing for DP.
      - Add logging when some atomic check functions fail.
      - Assorted documentation updates and fixes.
      
      Driver Changes:
      - Assorted cleanups and fixes in msm, lcdif, nouveau, virtio,
        panel/ilitek, bridge/icn6211, tve200, gma500, bridge/*, panfrost, via,
        bochs, qxl, sun4i.
      - Add add AUO B133UAN02.1, IVO M133NW4J-R3, Innolux N120ACA-EA1 eDP panels.
      - Improve DP-MST modeset state handling in amdgpu, nouveau, i915.
      - Drop DP-MST from radeon driver, it was broken and only user of legacy
        DP-MST.
      - Handle unplugging better in vc4.
      - Simplify drm cmdparser tests.
      - Add DP support to ti-sn65dsi86.
      - Add MT8195 DP support to mediatek.
      - Support RGB565, XRGB64, and ARGB64 formats in vkms.
      - Convert sun4i tv support to atomic.
      - Refactor vc4/vec TV Modesetting, and fix timings.
      - Use atomic helpers instead of simple display helpers in ssd130x.
      
      Maintainer changes:
      - Add Douglas Anderson as reviewer for panel-edp.
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      From: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/a489485b-3ebc-c734-0f80-aed963d89efe@linux.intel.com
      fb34d8a0
  3. 08 Sep, 2022 13 commits
  4. 07 Sep, 2022 17 commits
  5. 06 Sep, 2022 4 commits
    • Douglas Anderson's avatar
      07d50b82
    • Randy Dunlap's avatar
      drm/scheduler: quieten kernel-doc warnings · f8ad757e
      Randy Dunlap authored
      Fix kernel-doc warnings in gpu_scheduler.h and sched_main.c.
      
      Quashes these warnings:
      
      include/drm/gpu_scheduler.h:332: warning: missing initial short description on line:
       * struct drm_sched_backend_ops
      include/drm/gpu_scheduler.h:412: warning: missing initial short description on line:
       * struct drm_gpu_scheduler
      include/drm/gpu_scheduler.h:461: warning: Function parameter or member 'dev' not described in 'drm_gpu_scheduler'
      
      drivers/gpu/drm/scheduler/sched_main.c:201: warning: missing initial short description on line:
       * drm_sched_dependency_optimized
      drivers/gpu/drm/scheduler/sched_main.c:995: warning: Function parameter or member 'dev' not described in 'drm_sched_init'
      
      Fixes: 2d33948e ("drm/scheduler: add documentation")
      Fixes: 8ab62eda ("drm/sched: Add device pointer to drm_gpu_scheduler")
      Fixes: 542cff78 ("drm/sched: Avoid lockdep spalt on killing a processes")
      Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
      Cc: David Airlie <airlied@linux.ie>
      Cc: Daniel Vetter <daniel@ffwll.ch>
      Cc: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
      Cc: Nayan Deshmukh <nayan26deshmukh@gmail.com>
      Cc: Alex Deucher <alexander.deucher@amd.com>
      Cc: Christian König <christian.koenig@amd.com>
      Cc: Jiawei Gu <Jiawei.Gu@amd.com>
      Cc: dri-devel@lists.freedesktop.org
      Acked-by: default avatarChristian König <christian.koenig@amd.com>
      Signed-off-by: default avatarAndrey Grodzovsky <andrey.grodzovsky@amd.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20220404213040.12912-1-rdunlap@infradead.org
      f8ad757e
    • Xin Ji's avatar
      drm/bridge: anx7625: Set HPD irq detect window to 2ms · 8e3d857c
      Xin Ji authored
      Some panels trigger HPD irq due to noise, the HPD debounce
      may be 1.8ms, exceeding the default irq detect window, ~1.4ms.
      This patch set HPD irq detection window to 2ms to
      tolerate the HPD noise.
      Signed-off-by: default avatarXin Ji <xji@analogixsemi.com>
      Reviewed-by: default avatarRobert Foss <robert.foss@linaro.org>
      Signed-off-by: default avatarRobert Foss <robert.foss@linaro.org>
      Link: https://patchwork.freedesktop.org/patch/msgid/20220903130833.541463-1-xji@analogixsemi.com
      8e3d857c
    • Daniel Vetter's avatar
      Merge tag 'drm-misc-next-2022-08-20-1' of git://anongit.freedesktop.org/drm/drm-misc into drm-next · 8284bae7
      Daniel Vetter authored
      drm-misc-next for v6.1:
      
      UAPI Changes:
      
      Cross-subsystem Changes:
      - DMA-buf: documentation updates.
      - Assorted small fixes to vga16fb
      - Fix fbdev drivers to use the aperture helpers.
      - Make removal of conflicting drivers work correctly without fbdev enabled.
      
      Core Changes:
      - bridge, scheduler, dp-mst: Assorted small fixes.
      - Add more format helpers to fourcc, and use it to replace the cpp usage.
      - Add DRM_FORMAT_Cxx, DRM_FORMAT_Rxx (single channel), and DRM_FORMAT_Dxx
        ("darkness", inverted single channel)
      - Add packed AYUV8888 and XYUV8888 formats.
      - Assorted documentation updates.
      - Rename ttm_bo_init to ttm_bo_init_validate.
      - Allow TTM bo's to exist without backing store.
      - Convert drm selftests to kunit.
      - Add managed init functions for (panel) bridge, crtc, encoder and connector.
      - Fix endianness handling in various format conversion helpers.
      - Make tests pass on big-endian platforms, and add test for rgb888 -> rgb565
      - Move DRM_PLANE_HELPER_NO_SCALING to atomic helpers and rename, so
        drm_plane_helper is no longer needed in most drivers.
      - Use idr_init_base instead of idr_init.
      - Rename FB and GEM CMA helpers to DMA helpers.
      - Rework XRGB8888 related conversion helpers, and add drm_fb_blit() that
        takes a iosys_map. Make drm_fb_memcpy take an iosys_map too.
      - Move edid luminance calculation to core, and use it in i915.
      
      Driver Changes:
      - bridge/{adv7511,ti-sn65dsi86,parade-ps8640}, panel/{simple,nt35510,tc358767},
        nouveau, sun4i, mipi-dsi, mgag200, bochs, arm, komeda, vmwgfx, pl111:
        Assorted small fixes and doc updates.
      - vc4: Rework hdmi power up, and depend on PM.
      - panel/simple: Add Samsung LTL101AL01.
      - ingenic: Add JZ4760(B) support, avoid a modeset when sharpness property
        is unchanged, and use the new PM ops.
      - Revert some amdgpu commits that cause garbaged graphics when starting
        X, and reapply them with the real problem fixed.
      - Completely rework vc4 init to use managed helpers.
      - Rename via_drv to via_dri1, and move all stuff there only used by the
        dri1 implementation in preperation for atomic modeset.
      - Use regmap bulk write in ssd130x.
      - Power sequence and clock updates to it6505.
      - Split panel-sitrox-st7701  init sequence and rework mode programming code.
      - virtio: Improve error and edge conditions handling, and convert to use managed
        helpers.
      - Add Samsung LTL101AL01, B120XAN01.0, R140NWF5 RH, DMT028VGHMCMI-1A T, panels.
      - Add generic fbdev support to komeda.
      - Split mgag200 modeset handling to make it more model-specific.
      - Convert simpledrm to use atomic helpers.
      - Improve udl suspend/disconnect handling.
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      From: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/f0c71766-61e8-19b7-763a-5fbcdefc633d@linux.intel.com
      8284bae7
  6. 05 Sep, 2022 3 commits