All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alex Deucher <alexdeucher@gmail.com>
To: Jani Nikula <jani.nikula@intel.com>
Cc: Alex Deucher <alexander.deucher@amd.com>,
	Intel Graphics Development <intel-gfx@lists.freedesktop.org>,
	Maling list - DRI developers <dri-devel@lists.freedesktop.org>
Subject: Re: [PATCH 1/3] drm/dp: add helper for checking DP_ENHANCED_FRAME_CAP in DPCD
Date: Mon, 7 Oct 2013 11:27:56 -0400	[thread overview]
Message-ID: <CADnq5_NV4-7-zkmpn_H+1EsXXmpj41a6au+tOEo28PBkYd15TA@mail.gmail.com> (raw)
In-Reply-To: <1380888490-4413-1-git-send-email-jani.nikula@intel.com>

On Fri, Oct 4, 2013 at 8:08 AM, Jani Nikula <jani.nikula@intel.com> wrote:
> Signed-off-by: Jani Nikula <jani.nikula@intel.com>

Patches 1 and 2 are:

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>


> ---
>  include/drm/drm_dp_helper.h |    7 +++++++
>  1 file changed, 7 insertions(+)
>
> diff --git a/include/drm/drm_dp_helper.h b/include/drm/drm_dp_helper.h
> index ae8dbfb..fdf58fa 100644
> --- a/include/drm/drm_dp_helper.h
> +++ b/include/drm/drm_dp_helper.h
> @@ -390,4 +390,11 @@ drm_dp_max_lane_count(u8 dpcd[DP_RECEIVER_CAP_SIZE])
>         return dpcd[DP_MAX_LANE_COUNT] & DP_MAX_LANE_COUNT_MASK;
>  }
>
> +static inline bool
> +drm_dp_enhanced_frame_cap(const u8 dpcd[DP_RECEIVER_CAP_SIZE])
> +{
> +       return dpcd[DP_DPCD_REV] >= 0x11 &&
> +               (dpcd[DP_MAX_LANE_COUNT] & DP_ENHANCED_FRAME_CAP);
> +}
> +
>  #endif /* _DRM_DP_HELPER_H_ */
> --
> 1.7.9.5
>
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel

      parent reply	other threads:[~2013-10-07 15:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-04 12:08 [PATCH 1/3] drm/dp: add helper for checking DP_ENHANCED_FRAME_CAP in DPCD Jani Nikula
2013-10-04 12:08 ` [PATCH 2/3] drm/radeon/dp: use drm_dp_enhanced_frame_cap() Jani Nikula
2013-10-04 12:08 ` [PATCH 3/3] drm/i915/dp: get rid of intel_dp->link_configuration Jani Nikula
2013-10-04 12:44   ` Ville Syrjälä
2013-10-07 15:27 ` Alex Deucher [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CADnq5_NV4-7-zkmpn_H+1EsXXmpj41a6au+tOEo28PBkYd15TA@mail.gmail.com \
    --to=alexdeucher@gmail.com \
    --cc=alexander.deucher@amd.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=jani.nikula@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.