Re: [PATCH 3/5] drm/radeon: Setup HDMI_CONTROL for hdmi deep color gcp's.

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

 



On 21 May 2014 01:17, Alex Deucher <alexdeucher@xxxxxxxxx> wrote:
> +       val = RREG32(HDMI_CONTROL + offset);
> +       val &= ~HDMI_DEEP_COLOR_ENABLE;
> +       val &= ~HDMI_DEEP_COLOR_DEPTH_MASK;
> +

> +       switch (bpc) {
> (...)
> +       }
> +
> +       WREG32(HDMI_CONTROL + offset, val);

What about using helper:

WREG32_P(HDMI_CONTROL + offset,
val,
~(HDMI_DEEP_COLOR_ENABLE | HDMI_DEEP_COLOR_DEPTH_MASK));
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux