[PATCH 2/9] drm/i915: add intel_dp_to_dev and intel_hdmi_to_dev

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Oct 26, 2012 at 10:05 PM, Paulo Zanoni <przanoni at gmail.com> wrote:
> From: Paulo Zanoni <paulo.r.zanoni at intel.com>
>
> When we add struct intel_digital_port, there will be no direct way of
> going from intel_{dp,hdmi} to drm_device: we will need to call
> container_of().
>
> This patch adds functions to go from intel_{dp,hdmi} to drm_device.
> The main goal here is to greatly reduce the size of the next patch,
> where we will change the implementation of the functions we just
> added here (among other things).
>
> Signed-off-by: Paulo Zanoni <paulo.r.zanoni at intel.com>

Reviewed-by: Damien Lespiau <damien.lespiau at intel.com>

-- 
Damien


[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux