diff options
author | Dave Airlie <[email protected]> | 2016-04-27 11:27:39 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2016-05-05 12:52:05 +1000 |
commit | d2307dea14a4f14a4b5db01b6d40a30fa6117e6c (patch) | |
tree | e9aa6cf0376a35ab1f19fd4c0e31aa4491433cd5 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
parent | 0955c1250e9699b3bdc633d778710d219c61df66 (diff) |
drm/atomic: use connector references (v3)
Take a reference when setting a crtc on a connecter,
also take one when duplicating if a crtc is set,
and drop one on destroy if a crtc is set.
v2: take Daniel Stone's advice and simplify the
ref/unref dances, also take care of NULL as connector
to state reset.
v3: remove need for connector NULL check.
Reviewed-by: Daniel Stone <[email protected]>
Reviewed-by: Daniel Vetter <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions