Displaying 7 results from an estimated 7 matches for "drm_mode_get_hv_timing".
2017 Nov 23
3
[PATCH 00/15] drm: More plane clipping polish
From: Ville Syrjälä <ville.syrjala at linux.intel.com>
This series first unifies all users of drm_atomic_helper_check_plane_state()
to populate the clip rectangle with drm_mode_get_hv_timing(), and once
everything is unified the clip rectangle handling is sucked into
drm_atomic_helper_check_plane_state() away from driver code.
Entire series available here:
git://github.com/vsyrjala/linux.git atomic_plane_helper_clip
Cc: Archit Taneja <architt at codeaurora.org>
Cc: Ben Skeggs &...
2017 Nov 23
0
[PATCH 10/15] drm/nouveau/kms/nv50: Use drm_mode_get_hv_timing() to populate plane clip rectangle
From: Ville Syrjälä <ville.syrjala at linux.intel.com>
Use drm_mode_get_hv_timing() to fill out the plane clip rectangle.
No functional changes as the code already uses crtc_state->mode
to populate the clip, which is also what drm_mode_get_hv_timing()
uses.
Once everyone agrees on this we can move the clip handling into
drm_atomic_helper_check_plane_state().
Cc: Laurent Pi...
2018 Jan 24
0
[PATCH 5/5] drm: Don't pass clip to drm_atomic_helper_check_plane_state()
...; - struct drm_rect clip = { 0 };
> struct drm_crtc_state *crtc_state;
> u32 src_h = state->src_h >> 16;
>
> @@ -249,11 +248,7 @@ static int hdlcd_plane_atomic_check(struct drm_plane *plane,
> return -EINVAL;
> }
>
> - if (crtc_state->enable)
> - drm_mode_get_hv_timing(&crtc_state->mode,
> - &clip.x2, &clip.y2);
> -
> - return drm_atomic_helper_check_plane_state(state, crtc_state, &clip,
> + return drm_atomic_helper_check_plane_state(state, crtc_state,
> DRM_PLANE_HELPER_NO_SCALING,
> DRM_PLANE_HE...
2018 Jan 23
6
[PATCH 5/5] drm: Don't pass clip to drm_atomic_helper_check_plane_state()
...ne,
struct drm_plane_state *state)
{
- struct drm_rect clip = { 0 };
struct drm_crtc_state *crtc_state;
u32 src_h = state->src_h >> 16;
@@ -249,11 +248,7 @@ static int hdlcd_plane_atomic_check(struct drm_plane *plane,
return -EINVAL;
}
- if (crtc_state->enable)
- drm_mode_get_hv_timing(&crtc_state->mode,
- &clip.x2, &clip.y2);
-
- return drm_atomic_helper_check_plane_state(state, crtc_state, &clip,
+ return drm_atomic_helper_check_plane_state(state, crtc_state,
DRM_PLANE_HELPER_NO_SCALING,
DRM_PLANE_HELPER_NO_SCALING,
fal...
2018 Jan 23
0
[PATCH 5/5] drm: Don't pass clip to drm_atomic_helper_check_plane_state()
...tc != crtc_state->crtc);
> @@ -764,7 +763,10 @@ int drm_atomic_helper_check_plane_state(struct drm_plane_state *plane_state,
> return -ERANGE;
> }
>
> - plane_state->visible = drm_rect_clip_scaled(src, dst, clip, hscale, vscale);
> + if (crtc_state->enable)
> + drm_mode_get_hv_timing(&crtc_state->mode, &clip.x2, &clip.y2);
> +
> + plane_state->visible = drm_rect_clip_scaled(src, dst, &clip, hscale, vscale);
>
> drm_rect_rotate_inv(src, fb->width << 16, fb->height << 16, rotation);
>
> @@ -778,10 +780,10 @@ int drm_...
2017 Apr 11
0
[PATCH v3 00/10] drm/nouveau Enable HDMI Stereoscopy
...his first patch is more cleanup-and-bugfix than
anything else, and may be a candidate for merging early even if the
rest of the series is deferred until the next merge window.
Typo-busted the ninth patch (frame-packing geometry and timing) and
adjusted for the rename of drm_crtc_get_hv_timing() to
drm_mode_get_hv_timing().
Possibly some minor whitespace changes in one or two patches, plus
reformatted some of the patch comments.
Tested on my gt215 hardware only at this time, since I'm away from the
rest of my test hardware for about another week. That said, all of
the changes are in the generic nv50 code, ra...
2017 Jan 17
32
[PATCH 0/6] drm/nouveau: Enable HDMI Stereoscopy
This is an initial implementation of HDMI 3D mode support for the
nouveau kernel driver. It works on all of the hardware that I have
available to test at the moment, but I am unsure as to the overall
approach taken for setting HDMI InfoFrames, there's no support for g84
or gf119 disps, and the criteria for enabling stereo support for an
output seems a bit iffy.
The first four patches arrange