lp:xserver-xorg-video-intel

Created by James Westby on 2009-12-16 and last modified on 2019-01-21
Get this branch:
bzr branch lp:xserver-xorg-video-intel

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
VCS imports
Project:
xf86-video-intel
Status:
Development

Import details

Import Status: Reviewed

This branch is an import of the HEAD branch of the Git repository at git://anongit.freedesktop.org/xorg/driver/xf86-video-intel.

The next import is scheduled to run in 36 minutes.

Last successful import was 5 hours ago.

Import started 5 hours ago on alnitak and finished 5 hours ago taking 20 seconds — see the log
Import started 11 hours ago on izar and finished 11 hours ago taking 20 seconds — see the log
Import started 17 hours ago on izar and finished 17 hours ago taking 20 seconds — see the log
Import started 23 hours ago on izar and finished 23 hours ago taking 20 seconds — see the log
Import started on 2019-02-16 on alnitak and finished on 2019-02-16 taking 20 seconds — see the log
Import started on 2019-02-16 on izar and finished on 2019-02-16 taking 20 seconds — see the log
Import started on 2019-02-16 on alnitak and finished on 2019-02-16 taking 20 seconds — see the log
Import started on 2019-02-16 on alnitak and finished on 2019-02-16 taking 20 seconds — see the log
Import started on 2019-02-15 on izar and finished on 2019-02-15 taking 20 seconds — see the log
Import started on 2019-02-15 on alnitak and finished on 2019-02-15 taking 20 seconds — see the log

Recent revisions

8547. By Mario Kleiner <email address hidden> on 2019-01-21

sna/uxa: Fix colormap handling at screen depth 30. (v2)

The various clut handling functions like a setup
consistent with the x-screen color depth. Otherwise
we observe improper sampling in the gamma tables
at depth 30.

Therefore replace hard-coded bitsPerRGB = 8 by actual
bits per channel scrn->rgbBits. Also use this for call
to xf86HandleColormaps().

Tested for uxa and sna at depths 8, 16, 24 and 30 on
IvyBridge, and tested at depth 24 and 30 that xgamma
and gamma table animations work, and with measurement
equipment to make sure identity gamma ramps actually
are identity mappings at the output.

v2: Also deal with X-Server 1.19 and earlier, which as of
    v1.19.6 lack a fix to color palette handling and can
    not deal with depths/bpc > 24/8 bpc. On < 1.20 we skip
    xf86HandleColormaps() setup at > 8 bpc. This disables
    color palette handling on such servers at > 8 bpc, but
    still keeps RandR gamma table handling intact.

    Tested on 1.19.6 and 1.20.0 to do the right thing.

Signed-off-by: Mario Kleiner <email address hidden>
Reviewed-by: Ville Syrjälä <email address hidden>

8546. By Chris Wilson on 2019-01-10

sna: Switch off old outputs on topology changes

The kernel may keep the old connector id around so that userspace can
gracefully switch it off, which means that on detecting a topology
change (a new id for an old connector path), we must do a SetCRTC to
release the old resources.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106250
Signed-off-by: Chris Wilson <email address hidden>

8545. By Sergii Romantsov <email address hidden> on 2019-01-10

sna: fix of byteswap.h absence on bsd

OpenBSD, FreeBSD and NetBSD don't contains file byteswap.h.
Used specifics of them.

Fixes: 746ab3bb131d (sna: Added AYUV format support for textured and sprite video adapters.)
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=109268
CC: Stanislav Lisovskiy <email address hidden>
CC: Chris Wilson <email address hidden>
Signed-off-by: Sergii Romantsov <email address hidden>

8544. By Chris Wilson on 2018-12-03

sna: Skip restoring a mode for link-status=bad if the crtc was idle

If we do not have a mode (and bo) enabled on the crtc, then trying to
restore that bo ends up in a NULL pointer dereference.

Reported-by: Stanislav Lisovskiy <email address hidden>
Signed-off-by: Chris Wilson <email address hidden>

8543. By Stanislav Lisovskiy <email address hidden> on 2018-11-13

sna: Added AYUV format support for textured and sprite video adapters.

v2: Renamed DRM_FORMAT_XYUV to DRM_FORMAT_XYUV8888.
    Added comment about AYUV byte ordering in Gstreamer.

v3: Removed sna_composite_op flags related change to the separate patch.

v4: Fixed review comments, done code refactoring

v5: Fixed following review comments:
    - Fixed comment in shader code for ayuv kernel.
    - Fixed naming to VIDEO_AYUV_BT601/BT709 for ayuv kernels.
    - Removed duplicate gen9_kernel parameter, left from previous patches
    - Added colorspace handling for new AYUV kernel
    - Fixed naming of sna_copy_packed_data_ayuv to sna_copy_ayuv_data
    - Started using standard bswap_32 function for byte swapping in sna_copy_ayuv_data
    - Removed redundant code in sna_copy_ayuv_data so that it looks more neat
    - Fixed XVIMAGE_AYUV structure initialization to contain proper byte sequence for GST
    - Fixed bogus comment about subsampling for DRM_FORMAT_XYUV8888
    - Fixed AYUV advertisement for all platforms
    - Removed unnecessary RGB888 declaration.

v6:
    - Fixed surface format not to use alpha as supposed
    - Now doing byte swapping always during copy
    - Changed hack, required for GST to work to be at one place
    - Fixed invalid sampling values for XVIMAGE_AYUV
    - Fixed sprite format checking order and images_ayuv definition.

v7:
    - Removed reverse_bytes bool parameter, now swapping bytes
      for XYUV unconditionally both for textured and sprite modes.

v8:
    - Added gen9_images structure, in order to expose AYUV format to
      proper platforms.

Signed-off-by: Stanislav Lisovskiy <email address hidden>
Reviewed-by: Ville Syrjälä <email address hidden>
Signed-off-by: Chris Wilson <email address hidden>

8542. By Stanislav Lisovskiy <email address hidden> on 2018-11-13

sna/gen9+: Split out wm_kernel from the sna_composite_op flags

With the extra video kernels we already ran out of bits in
the flags. To tackle that let's just split out the
wm_kernel to its own thing.

Signed-off-by: Stanislav Lisovskiy <email address hidden>
Reviewed-by: Ville Syrjälä <email address hidden>
Signed-off-by: Chris Wilson <email address hidden>

8541. By Ville Syrjälä <email address hidden> on 2018-10-22

sna/video/textured: Disable textured Xv for depth 8

We can't output color index formats with the render engine,
so let's disable the textured Xv adaptor for depth 8.

Signed-off-by: Ville Syrjälä <email address hidden>
Reviewed-by: Chris Wilson <email address hidden>

8540. By Ville Syrjälä <email address hidden> on 2018-10-22

sna/video/textured: Enable textured Xv wih depth 30

Texured Xv works just fine with depth 30. Allow it.

Signed-off-by: Ville Syrjälä <email address hidden>
Reviewed-by: Chris Wilson <email address hidden>

8539. By Ville Syrjälä <email address hidden> on 2018-10-22

sna/video/sprite: Allow sprite Xv with depth 8 and depth 30

With the colorkey setup fixed the sprite Xv adaptor works just
fine with depth 30.

With depth 8 there is one remaining problem with the usage of
the LUT for gamma vs. C8, but that is purely a kernel issue.

Let's allow both depth 8 and depth 30 with the sprite Xv
adaptor.

Signed-off-by: Ville Syrjälä <email address hidden>
Reviewed-by: Chris Wilson <email address hidden>

8538. By Ville Syrjälä <email address hidden> on 2018-10-22

sna/video/sprite: Fix colorkey setup for depth != 24

Set up the colorkey correctly for depth != 24. For 8bpc we
need to replicate the same key value into each channel, for
depth 15/16 we need to mask off the unused low bits in each
channel, and for depth 30 we just use the 8 msbs of each channel
as the colorkey register can't hold the full 10 bits.

Signed-off-by: Ville Syrjälä <email address hidden>
Reviewed-by: Chris Wilson <email address hidden>

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers