]> git.baikalelectronics.ru Git - kernel.git/commit
drm: Handle connector tile support only for modes that match tile size
authorManasi Navare <manasi.d.navare@intel.com>
Wed, 11 Dec 2019 21:24:32 +0000 (13:24 -0800)
committerManasi Navare <manasi.d.navare@intel.com>
Mon, 30 Dec 2019 07:54:43 +0000 (23:54 -0800)
commita8434eec56a4d2616a9b2d9a05341a459513a60b
treef90d43445c5b7eb81de1d60fdec13ecda07846dd
parent73378d140e39bbc3aa59ddb2915e61e201d24390
drm: Handle connector tile support only for modes that match tile size

DRM Fb driver expects multiple CRTCs if it sees connector->has_tile
is set, but we need to handle tile support and look for multiple CRTCs
only for the modes that match the tile size. The other modes should
be able to be displayed without tile support or uisng single CRTC.

This patch adds the check to match the tile size with requested mode
to handle the tile support.

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Jani Nikula <jani.nikula@intel.com>
Cc: Dave Airlie <airlied@redhat.com>
Signed-off-by: Manasi Navare <manasi.d.navare@intel.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191211212433.18185-1-manasi.d.navare@intel.com
drivers/gpu/drm/drm_fb_helper.c