OSDN Git Service

drm: Perform a full mode set when the pixel format changed
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Sun, 21 Apr 2013 23:38:47 +0000 (01:38 +0200)
committerDave Airlie <airlied@redhat.com>
Mon, 22 Apr 2013 09:48:30 +0000 (19:48 +1000)
commitce83adf78bbbe6bdcd99f0b97212337ce6b84940
treed03c26f7d6f9565c01282edf3244b004a83710ca
parent909d9cda2edfc61b8ec82e248eee3545b592e20d
drm: Perform a full mode set when the pixel format changed

Test whether the pixel format changes in the mode set handler, and
perform a full mode set instead of a mode set base if it does.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_crtc_helper.c