]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
drm/i915: Disable legacy cursor fastpath for bigjoiner
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 17 Nov 2020 19:47:15 +0000 (11:47 -0800)
committerManasi Navare <manasi.d.navare@intel.com>
Wed, 18 Nov 2020 19:42:16 +0000 (11:42 -0800)
The legacy cursor fastpath code doesn't deal with bigjoiner.
Disable the fastpath for now.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Manasi Navare <manasi.d.navare@intel.com>
Signed-off-by: Manasi Navare <manasi.d.navare@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201117194718.11462-13-manasi.d.navare@intel.com
drivers/gpu/drm/i915/display/intel_display.c

index 22224b8c499821c2e6f7e1b0e73eef297b6101cf..4d11d5b0606ba03bfbe09d058dc1a3c44f742880 100644 (file)
@@ -16931,9 +16931,11 @@ intel_legacy_cursor_update(struct drm_plane *_plane,
        /*
         * When crtc is inactive or there is a modeset pending,
         * wait for it to complete in the slowpath
+        *
+        * FIXME bigjoiner fastpath would be good
         */
        if (!crtc_state->hw.active || needs_modeset(crtc_state) ||
-           crtc_state->update_pipe)
+           crtc_state->update_pipe || crtc_state->bigjoiner)
                goto slow;
 
        /*