• Thomas Wood's avatar
    drm: fix plane rotation when restoring fbdev configuration · 3a5f87c2
    Thomas Wood authored
    Make sure plane rotation is reset correctly when restoring the fbdev
    configuration by using drm_mode_plane_set_obj_prop which calls the
    driver's set_property callback.
    
    The rotation reset feature was introduced in commit 9783de20 (drm:
    Resetting rotation property) and the callback issue was originally
    addressed in a previous version of the patch, but the fix was not
    present in the final version.
    
    v2: Fix documentation warning
        Add some more details to the commit message (Daniel Vetter)
    
    Testcase: igt/kms_rotation_crc
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=82236
    Cc: Sonika Jindal <sonika.jindal@intel.com>
    Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
    Cc: Dave Airlie <airlied@gmail.com>
    Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
    Signed-off-by: default avatarThomas Wood <thomas.wood@intel.com>
    Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
    3a5f87c2
drm_crtc.h 40.7 KB