drm: Try to document legacy DPMS uapi a bit better
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 20 Sep 2017 22:59:57 +0000 (00:59 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 26 Sep 2017 05:12:56 +0000 (07:12 +0200)
commitd0d1aee5f7eda2f2cae0932a217e27493f2c2faa
tree54eb04d5f731f17878da9e3d46f29a45b7d7200d
parent6bf2e0324b9376512b0b9bf5c5c4b383afd419ec
drm: Try to document legacy DPMS uapi a bit better

Due to inconsistency of how various legacy drivers implemented DPMS
the DPMS uabi has a lot of quirks. Atomic standardizes this, but
drivers using the DPMS support can't rely on that since legacy drivers
still exist.

Laurent asked for this.

v2:
Improve commit message and explain that DPMS doesn't really exist for
the atomic ioctl (it's "ACTIVE" on the CRTC instead).

Text polish from Eric's review.

Cc: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Cc: Daniel Vetter <daniel.vetter@intel.com>
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Cc: Sean Paul <seanpaul@chromium.org>
Cc: David Airlie <airlied@linux.ie>
Cc: Eric Anholt <eric@anholt.net>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20170920225957.16278-1-daniel.vetter@ffwll.ch
drivers/gpu/drm/drm_connector.c