diff options
author | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2017-10-11 14:30:44 +0200 |
---|---|---|
committer | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2017-10-20 11:44:30 +0200 |
commit | c800cedb3fdaea8898085d3060a1ab8267f627aa (patch) | |
tree | c21cd8e2169d30f1fcd07bc9fb2c2eedeea6fa9a /lib/igt_kms.c | |
parent | 38cf01f1c355279dd5bd8ba1fa14c507048137c6 (diff) |
lib/igt_kms: Remove igt_crtc_set_background()
This can be handled by generic properties.
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Mika Kahola <mika.kahola@intel.com>
Diffstat (limited to 'lib/igt_kms.c')
-rw-r--r-- | lib/igt_kms.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/lib/igt_kms.c b/lib/igt_kms.c index 70b104b2..9cf4b68f 100644 --- a/lib/igt_kms.c +++ b/lib/igt_kms.c @@ -3227,27 +3227,6 @@ void igt_pipe_request_out_fence(igt_pipe_t *pipe) igt_pipe_obj_set_prop_value(pipe, IGT_CRTC_OUT_FENCE_PTR, (ptrdiff_t)&pipe->out_fence_fd); } -/** - * igt_crtc_set_background: - * @pipe: pipe pointer to which background color to be set - * @background: background color value in BGR 16bpc - * - * Sets background color for requested pipe. Color value provided here - * will be actually submitted at output commit time via "background_color" - * property. - * For example to get red as background, set background = 0x00000000FFFF. - */ -void igt_crtc_set_background(igt_pipe_t *pipe, uint64_t background) -{ - igt_display_t *display = pipe->display; - - LOG(display, "%s.%d: crtc_set_background(%"PRIx64")\n", - kmstest_pipe_name(pipe->pipe), - pipe->pipe, background); - - igt_pipe_obj_set_prop_value(pipe, IGT_CRTC_BACKGROUND, background); -} - void igt_wait_for_vblank_count(int drm_fd, enum pipe pipe, int count) { drmVBlank wait_vbl; |