]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: Remove all ->config dereferences from intel_hdmi, v2.
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Wed, 23 Nov 2016 14:57:00 +0000 (15:57 +0100)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Wed, 23 Nov 2016 22:57:41 +0000 (23:57 +0100)
commitac2402882f122307e01faee7d948e90a363ed575
tree3b66bcb051fb0f4e0f72dcbba1f15b63581a310b
parent9780aad59cf40db6a2ded69f91b11ba366dbd8cf
drm/i915: Remove all ->config dereferences from intel_hdmi, v2.

In all cases we can now obtain the relevant crtc_state/conn_state
from the relevant callbacks, which means all the ->config accesses
can be removed and the code cleaned up.

Changes since v1:
- cstate -> crtc_state

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/8b02a6b4-606a-e43a-b357-ad17f491525b@linux.intel.com
[mlankhorst: Reinstate missing comment]
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
drivers/gpu/drm/i915/intel_ddi.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_hdmi.c