Backmerge tag 'v6.1-rc6' into drm-next
authorDave Airlie <airlied@redhat.com>
Thu, 24 Nov 2022 01:05:43 +0000 (11:05 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 24 Nov 2022 01:05:43 +0000 (11:05 +1000)
Linux 6.1-rc6

This is needed for drm-misc-next and tegra.

Signed-off-by: Dave Airlie <airlied@redhat.com>
19 files changed:
1  2 
MAINTAINERS
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.h
drivers/gpu/drm/amd/amdgpu/amdgpu_vkms.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
drivers/gpu/drm/bridge/parade-ps8640.c
drivers/gpu/drm/drm_format_helper.c
drivers/gpu/drm/imx/imx-tve.c
drivers/gpu/drm/msm/dp/dp_display.c
drivers/gpu/drm/rcar-du/Kconfig
drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c
drivers/gpu/drm/rockchip/rockchip_drm_gem.c
drivers/gpu/drm/rockchip/rockchip_drm_vop2.c
drivers/gpu/drm/vc4/vc4_drv.c
drivers/gpu/drm/vc4/vc4_hdmi.c
drivers/gpu/drm/vc4/vc4_hdmi.h
drivers/gpu/drm/vc4/vc4_kms.c
drivers/video/fbdev/cyber2000fb.c
include/linux/fb.h

diff --cc MAINTAINERS
Simple merge
@@@ -1247,11 -1243,14 +1247,14 @@@ static int amdgpu_cs_submit(struct amdg
        for (i = 0; i < p->gang_size; ++i)
                drm_sched_job_arm(&p->jobs[i]->base);
  
-       for (i = 0; i < (p->gang_size - 1); ++i) {
+       for (i = 0; i < p->gang_size; ++i) {
                struct dma_fence *fence;
  
+               if (p->jobs[i] == leader)
+                       continue;
                fence = &p->jobs[i]->base.s_fence->scheduled;
 -              r = amdgpu_sync_fence(&leader->sync, fence);
 +              r = drm_sched_job_add_dependency(&leader->base, fence);
                if (r)
                        goto error_cleanup;
        }
@@@ -498,8 -498,10 +498,10 @@@ static int amdgpu_vkms_sw_init(void *ha
        adev_to_drm(adev)->mode_config.preferred_depth = 24;
        adev_to_drm(adev)->mode_config.prefer_shadow = 1;
  
 -      adev_to_drm(adev)->mode_config.fb_base = adev->gmc.aper_base;
 +      adev_to_drm(adev)->mode_config.fb_modifiers_not_supported = true;
  
+       adev_to_drm(adev)->mode_config.fb_modifiers_not_supported = true;
        r = amdgpu_display_modeset_create_props(adev);
        if (r)
                return r;
Simple merge
Simple merge
Simple merge
@@@ -41,22 -41,21 +41,27 @@@ config DRM_RCAR_LVD
        depends on DRM_RCAR_USE_LVDS
        select DRM_KMS_HELPER
        select DRM_PANEL
 -      select OF_FLATTREE
 -      select OF_OVERLAY
  
- config DRM_RCAR_MIPI_DSI
-       tristate "R-Car DU MIPI DSI Encoder Support"
-       depends on DRM && DRM_BRIDGE && OF
-       select DRM_MIPI_DSI
+ config DRM_RCAR_USE_MIPI_DSI
+       bool "R-Car DU MIPI DSI Encoder Support"
+       depends on DRM_BRIDGE && OF
+       default DRM_RCAR_DU
        help
          Enable support for the R-Car Display Unit embedded MIPI DSI encoders.
  
+ config DRM_RCAR_MIPI_DSI
+       def_tristate DRM_RCAR_DU
+       depends on DRM_RCAR_USE_MIPI_DSI
+       select DRM_MIPI_DSI
 +config DRM_RZG2L_MIPI_DSI
 +      tristate "RZ/G2L MIPI DSI Encoder Support"
 +      depends on DRM_BRIDGE && OF
 +      depends on ARCH_RENESAS || COMPILE_TEST
 +      select DRM_MIPI_DSI
 +      help
 +        Enable support for the RZ/G2L Display Unit embedded MIPI DSI encoders.
 +
  config DRM_RCAR_VSP
        bool "R-Car DU VSP Compositor Support" if ARM
        default y if ARM64
Simple merge
@@@ -348,9 -349,12 +348,13 @@@ static int vc4_hdmi_reset_link(struct d
        if (!crtc_state->active)
                return 0;
  
-       if (!vc4_hdmi_supports_scrambling(vc4_hdmi))
 +      vc4_hdmi = connector_to_vc4_hdmi(connector);
 -      if (!vc4_hdmi_supports_scrambling(encoder)) {
+       mutex_lock(&vc4_hdmi->mutex);
++      if (!vc4_hdmi_supports_scrambling(vc4_hdmi)) {
+               mutex_unlock(&vc4_hdmi->mutex);
                return 0;
+       }
  
        scrambling_needed = vc4_hdmi_mode_needs_scrambling(&vc4_hdmi->saved_adjusted_mode,
                                                           vc4_hdmi->output_bpc,
Simple merge
Simple merge
Simple merge
Simple merge