1. 21 Jul, 2023 5 commits
  2. 20 Jul, 2023 6 commits
  3. 17 Jul, 2023 4 commits
  4. 14 Jul, 2023 2 commits
  5. 13 Jul, 2023 1 commit
  6. 12 Jul, 2023 7 commits
  7. 11 Jul, 2023 1 commit
    • Thomas Zimmermann's avatar
      fbdev/hyperv_fb: Include <linux/screen_info.h> · f1b215fd
      Thomas Zimmermann authored
      Include <linux/screen_info.h> to get the global screen_info state.
      Fixes the following errors:
      
      >> drivers/video/fbdev/hyperv_fb.c:1033:10: error: use of undeclared identifier 'screen_info'
          1033 |                 base = screen_info.lfb_base;
               |                        ^
         drivers/video/fbdev/hyperv_fb.c:1034:10: error: use of undeclared identifier 'screen_info'
          1034 |                 size = screen_info.lfb_size;
      	 |                        ^
      >> drivers/video/fbdev/hyperv_fb.c:1080:3: error: must use 'struct' tag to refer to type 'screen_info'
          1080 |                 screen_info.lfb_size = 0;
      	 |                 ^
      	 |                 struct
      >> drivers/video/fbdev/hyperv_fb.c:1080:14: error: expected identifier or '('
          1080 |                 screen_info.lfb_size = 0;
      	 |                            ^
         drivers/video/fbdev/hyperv_fb.c:1081:3: error: must use 'struct' tag to refer to type 'screen_info'
          1081 |                 screen_info.lfb_base = 0;
      	 |                 ^
      	 |                 struct
         drivers/video/fbdev/hyperv_fb.c:1081:14: error: expected identifier or '('
          1081 |                 screen_info.lfb_base = 0;
      	 |                            ^
         drivers/video/fbdev/hyperv_fb.c:1082:3: error: must use 'struct' tag to refer to type 'screen_info'
          1082 |                 screen_info.orig_video_isVGA = 0;
      	 |                 ^
      	 |                 struct
          drivers/video/fbdev/hyperv_fb.c:1082:14: error: expected identifier or '('
          1082 |                 screen_info.orig_video_isVGA = 0;
      	 |                            ^
          8 errors generated.
      Reported-by: default avatarkernel test robot <lkp@intel.com>
      Closes: https://lore.kernel.org/oe-kbuild-all/202307101042.rqehuauj-lkp@intel.com/
      Fixes: 8b0d1354 ("efi: Do not include <linux/screen_info.h> from EFI header")
      Signed-off-by: default avatarThomas Zimmermann <tzimmermann@suse.de>
      Cc: "K. Y. Srinivasan" <kys@microsoft.com> (supporter:Hyper-V/Azure CORE AND DRIVERS)
      Cc: Haiyang Zhang <haiyangz@microsoft.com> (supporter:Hyper-V/Azure CORE AND DRIVERS)
      Cc: Wei Liu <wei.liu@kernel.org> (supporter:Hyper-V/Azure CORE AND DRIVERS)
      Cc: Dexuan Cui <decui@microsoft.com> (supporter:Hyper-V/Azure CORE AND DRIVERS)
      Cc: Helge Deller <deller@gmx.de> (maintainer:FRAMEBUFFER LAYER)
      Cc: Javier Martinez Canillas <javierm@redhat.com>
      Cc: Sui Jingfeng <suijingfeng@loongson.cn>
      Cc: Ard Biesheuvel <ardb@kernel.org>
      Cc: Russell King <linux@armlinux.org.uk>
      Cc: Catalin Marinas <catalin.marinas@arm.com>
      Cc: Will Deacon <will@kernel.org>
      Cc: Arnd Bergmann <arnd@arndb.de>
      Cc: linux-efi@vger.kernel.org
      Cc: linux-hyperv@vger.kernel.org (open list:Hyper-V/Azure CORE AND DRIVERS)
      Cc: linux-fbdev@vger.kernel.org (open list:FRAMEBUFFER LAYER)
      Cc: dri-devel@lists.freedesktop.org (open list:FRAMEBUFFER LAYER)
      Reviewed-by: default avatarJavier Martinez Canillas <javierm@redhat.com>
      Reviewed-by: default avatarSui Jingfeng <suijingfeng@loongson.cn>
      Link: https://patchwork.freedesktop.org/patch/msgid/20230710075848.23087-1-tzimmermann@suse.de
      f1b215fd
  8. 10 Jul, 2023 13 commits
  9. 09 Jul, 2023 1 commit
    • Gurchetan Singh's avatar
      drm/virtio: Conditionally allocate virtio_gpu_fence · 70d1ace5
      Gurchetan Singh authored
      We don't want to create a fence for every command submission.  It's
      only necessary when userspace provides a waitable token for submission.
      This could be:
      
      1) bo_handles, to be used with VIRTGPU_WAIT
      2) out_fence_fd, to be used with dma_fence apis
      3) a ring_idx provided with VIRTGPU_CONTEXT_PARAM_POLL_RINGS_MASK
         + DRM event API
      4) syncobjs in the future
      
      The use case for just submitting a command to the host, and expecting
      no response.  For example, gfxstream has GFXSTREAM_CONTEXT_PING that
      just wakes up the host side worker threads.  There's also
      CROSS_DOMAIN_CMD_SEND which just sends data to the Wayland server.
      
      This prevents the need to signal the automatically created
      virtio_gpu_fence.
      
      In addition, VIRTGPU_EXECBUF_RING_IDX is checked when creating a
      DRM event object.  VIRTGPU_CONTEXT_PARAM_POLL_RINGS_MASK is
      already defined in terms of per-context rings.  It was theoretically
      possible to create a DRM event on the global timeline (ring_idx == 0),
      if the context enabled DRM event polling.  However, that wouldn't
      work and userspace (Sommelier).  Explicitly disallow it for
      clarity.
      Signed-off-by: default avatarGurchetan Singh <gurchetansingh@chromium.org>
      Reviewed-by: default avatarDmitry Osipenko <dmitry.osipenko@collabora.com>
      Tested-by: default avatarDmitry Osipenko <dmitry.osipenko@collabora.com>
      Signed-off-by: Dmitry Osipenko <dmitry.osipenko@collabora.com> # edited coding style
      Link: https://patchwork.freedesktop.org/patch/msgid/20230707213124.494-1-gurchetansingh@chromium.org
      70d1ace5