drm: Have the crtc code only reference master from legacy nodes v2
authorThomas Hellstrom <thellstrom@vmware.com>
Thu, 13 Mar 2014 09:00:42 +0000 (10:00 +0100)
committerThomas Hellstrom <thellstrom@vmware.com>
Fri, 28 Mar 2014 13:19:01 +0000 (14:19 +0100)
commit09f308f7b675b692d1c0a451ff02f0fff7846c96
tree5c8188cb348ca5df297a049a89f7bbdd7dc3b84a
parent60f2b4af1258c05e6b037af866be81abc24438f7
drm: Have the crtc code only reference master from legacy nodes v2

control- and render nodes are intended to be master-less.

v2: Replace tests for !legacy with tests for !mode_group for readability.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
drivers/gpu/drm/drm_crtc.c