Subversion Repositories Kolibri OS

Rev

Rev 2351 | Rev 2360 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2351 Rev 2352
Line 74... Line 74...
74
{
74
{
75
    drm_i915_private_t *dev_priv = dev->dev_private;
75
    drm_i915_private_t *dev_priv = dev->dev_private;
Line 76... Line 76...
76
 
76
 
77
    /* Program Hardware Status Page */
77
    /* Program Hardware Status Page */
78
    dev_priv->status_page_dmah =
78
    dev_priv->status_page_dmah =
Line 79... Line 79...
79
        drm_pci_alloc(dev, PAGE_SIZE, PAGE_SIZE);
79
        (void*)drm_pci_alloc(dev, PAGE_SIZE, PAGE_SIZE);
80
 
80
 
81
    if (!dev_priv->status_page_dmah) {
81
    if (!dev_priv->status_page_dmah) {
82
        DRM_ERROR("Can not allocate hardware status page\n");
82
        DRM_ERROR("Can not allocate hardware status page\n");