diff options
author | Dave Airlie <airlied@redhat.com> | 2018-11-28 18:50:33 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2018-11-28 18:50:34 -0500 |
commit | bfeb122d3080b03aa49405c615f4d8144ab30073 (patch) | |
tree | 82eff682912a83e87b61c6d5de6b4a04cd2f6dcf /drivers/gpu/drm/drm_atomic_uapi.c | |
parent | b239499f927f79401d51a677bc640980ca630604 (diff) | |
parent | b4bf44d2dcbd6c35d9651bc6286e4940b8b3df95 (diff) |
Merge tag 'drm-intel-next-2018-11-22' of git://anongit.freedesktop.org/drm/drm-intel into drm-next
Changes outside i915:
- Connector property to limit max bpc (Radhakrishna)
- Fix LPE audio runtime PM and deinit (Ville)
- DP FEC prep work (Anusha)
- Mark pinned shmemfs pages as unevictable (Kuo-Hsin)
- Backmerge drm-next (Jani)
Inside i915:
- Revert OA UAPI change that lacks userspace (Joonas)
- Register macro cleanup (Jani)
- 32-bit build fixes on pin flags (Chris)
- Fix MG DP mode and PHY gating for HDMI (Imre)
- DP MST race, hpd and irq fixes (Lyude)
- Combo PHY fixes and cleanup (Imre, Lucas)
- Move display init and cleanup under modeset init and cleanup (José)
- PSR fixes (José)
- Subslice size fixes (Daniele)
- Abstract and clean up fixed point helpers (Jani)
- Plane input CSC for YUV to RGB conversion (Uma)
- Break long iterations for get/put shmemfs pages (Chris)
- Improve DDI encoder hw state readout sanity checks (Imre)
- Fix power well leaks for MST (José)
- Scaler fixes (Ville)
- Watermark fixes (Ville)
- Fix VLV/CHV DSI panel orientation readout (Ville)
- ICL rawclock fixes (Paulo)
- Workaround DMC power well request issues (Imre)
- Plane allocation fix (Maarten)
- Transcoder enum value/ordering robustness fixes (Imre)
- UTS_RELEASE build dependency fix (Hans Holmberg)
Signed-off-by: Dave Airlie <airlied@redhat.com>
From: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/87k1l4cesj.fsf@intel.com
Diffstat (limited to 'drivers/gpu/drm/drm_atomic_uapi.c')
-rw-r--r-- | drivers/gpu/drm/drm_atomic_uapi.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/drm_atomic_uapi.c b/drivers/gpu/drm/drm_atomic_uapi.c index d5b7f315098c..86ac33922b09 100644 --- a/drivers/gpu/drm/drm_atomic_uapi.c +++ b/drivers/gpu/drm/drm_atomic_uapi.c | |||
@@ -740,6 +740,8 @@ static int drm_atomic_connector_set_property(struct drm_connector *connector, | |||
740 | 740 | ||
741 | return set_out_fence_for_connector(state->state, connector, | 741 | return set_out_fence_for_connector(state->state, connector, |
742 | fence_ptr); | 742 | fence_ptr); |
743 | } else if (property == connector->max_bpc_property) { | ||
744 | state->max_requested_bpc = val; | ||
743 | } else if (connector->funcs->atomic_set_property) { | 745 | } else if (connector->funcs->atomic_set_property) { |
744 | return connector->funcs->atomic_set_property(connector, | 746 | return connector->funcs->atomic_set_property(connector, |
745 | state, property, val); | 747 | state, property, val); |
@@ -804,6 +806,8 @@ drm_atomic_connector_get_property(struct drm_connector *connector, | |||
804 | *val = 0; | 806 | *val = 0; |
805 | } else if (property == config->writeback_out_fence_ptr_property) { | 807 | } else if (property == config->writeback_out_fence_ptr_property) { |
806 | *val = 0; | 808 | *val = 0; |
809 | } else if (property == connector->max_bpc_property) { | ||
810 | *val = state->max_requested_bpc; | ||
807 | } else if (connector->funcs->atomic_get_property) { | 811 | } else if (connector->funcs->atomic_get_property) { |
808 | return connector->funcs->atomic_get_property(connector, | 812 | return connector->funcs->atomic_get_property(connector, |
809 | state, property, val); | 813 | state, property, val); |