[PATCH] drm/rockchip: Use an enum to identify Rockchip VOPs

2016-11-03 Thread Kristian Høgsberg
On Thu, Nov 3, 2016 at 8:47 AM Sean Paul wrote: > On Tue, Nov 1, 2016 at 3:41 PM, Kristian H. Kristensen > wrote: > > We used to call drm_of_encoder_active_endpoint_id() from > > rockchip_dp_drm_encoder_atomic_check() to determine the endpoint for the > > active encoder. However, the encoder

[PATCH] drm/rockchip: Use an enum to identify Rockchip VOPs

2016-11-03 Thread Sean Paul
On Tue, Nov 1, 2016 at 3:41 PM, Kristian H. Kristensen wrote: > We used to call drm_of_encoder_active_endpoint_id() from > rockchip_dp_drm_encoder_atomic_check() to determine the endpoint for the > active encoder. However, the encoder isn't necessarily active at this > point or it may be

[PATCH] drm/rockchip: Use an enum to identify Rockchip VOPs

2016-11-01 Thread Kristian H. Kristensen
We used to call drm_of_encoder_active_endpoint_id() from rockchip_dp_drm_encoder_atomic_check() to determine the endpoint for the active encoder. However, the encoder isn't necessarily active at this point or it may be connected to different crtc than what we're switching to. Instead, look at the