~vcs-imports/xserver-xorg-driver-ati/master

« back to all changes in this revision

Viewing changes to src/drmmode_display.c

  • Committer: Dave Airlie
  • Date: 2020-07-12 23:16:47 UTC
  • Revision ID: git-v1:8da3e4561ef82bb78c9a17b8cd8bf139b9cfd680
ati: cleanup terminology to use primary/secondary

The X server changed some API/ABIs here.

Based on amdgpu patch by Michel

Show diffs side-by-side

added added

removed removed

Lines of Context:
720
720
                xorg_list_for_each_entry(dirty, &screen->pixmap_dirty_list,
721
721
                                         ent) {
722
722
                        if (radeon_dirty_src_equals(dirty, drmmode_crtc->prime_scanout_pixmap)) {
723
 
                                dirty->slave_dst =
 
723
                                dirty->secondary_dst =
724
724
                                        drmmode_crtc->scanout[scanout_id].pixmap;
725
725
                                break;
726
726
                        }
1356
1356
 
1357
1357
        xorg_list_for_each_entry(dirty, &screen->pixmap_dirty_list, ent) {
1358
1358
                if (radeon_dirty_src_equals(dirty, drmmode_crtc->prime_scanout_pixmap)) {
1359
 
                        PixmapStopDirtyTracking(dirty->src, dirty->slave_dst);
 
1359
                        PixmapStopDirtyTracking(dirty->src, dirty->secondary_dst);
1360
1360
                        break;
1361
1361
                }
1362
1362
        }